mirror of
https://github.com/huggingface/lerobot.git
synced 2026-05-23 04:30:10 +00:00
chore(busy_wait): renaming busy_wait into precise_sleep
This commit is contained in:
@@ -28,7 +28,7 @@ from lerobot.microphones.utils import (
|
||||
make_microphones_from_configs,
|
||||
)
|
||||
from lerobot.utils.robot_utils import (
|
||||
busy_wait,
|
||||
precise_sleep,
|
||||
)
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ def main(
|
||||
)
|
||||
|
||||
# Record audio chunks
|
||||
busy_wait(10.0)
|
||||
precise_sleep(10.0)
|
||||
|
||||
for sensor_key, sensor in sensors.items():
|
||||
data_chunk = sensor.read()
|
||||
|
||||
Reference in New Issue
Block a user