Skip to content

Commit

Permalink
Fix record
Browse files Browse the repository at this point in the history
  • Loading branch information
Cadene committed Oct 24, 2024
1 parent 102e1d4 commit abbf9c5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lerobot/scripts/control_robot.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,8 @@ def record(
num_image_writer_threads_per_camera: int = 4,
display_cameras: bool = True,
play_sounds: bool = True,
tags: str = None,
force_override: bool = False,
) -> LeRobotDataset:
# TODO(rcadene): Add option to record logs
listener = None
Expand Down Expand Up @@ -237,8 +239,8 @@ def record(
dataset = LeRobotDataset.create(
repo_id,
fps,
robot,
root=root,
robot=robot,
image_writer_processes=num_image_writer_processes,
image_writer_threads_per_camera=num_image_writer_threads_per_camera,
use_videos=video,
Expand Down

0 comments on commit abbf9c5

Please sign in to comment.