Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Cadene committed Oct 14, 2024
1 parent 99414f3 commit 87fef10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lerobot/common/robot_devices/control_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def control_loop(
robot.connect()

if events is None:
events = {}
events = {"exit_early": False}

if teleoperate and policy is not None:
raise ValueError("When `teleoperate` is True, `policy` should be None.")
Expand Down

0 comments on commit 87fef10

Please sign in to comment.