small fix

This commit is contained in:
Remi Cadene 2024-10-14 16:30:10 +02:00
parent 99414f356f
commit 87fef10f89
1 changed files with 1 additions and 1 deletions

View File

@ -245,7 +245,7 @@ def control_loop(
robot.connect() robot.connect()
if events is None: if events is None:
events = {} events = {"exit_early": False}
if teleoperate and policy is not None: if teleoperate and policy is not None:
raise ValueError("When `teleoperate` is True, `policy` should be None.") raise ValueError("When `teleoperate` is True, `policy` should be None.")