mirror of
https://github.com/huggingface/lerobot.git
synced 2026-05-28 06:59:44 +00:00
Fix teleop disconnect during eval (#1364)
This commit is contained in:
+2
-1
@@ -330,7 +330,8 @@ def record(cfg: RecordConfig) -> LeRobotDataset:
|
||||
log_say("Stop recording", cfg.play_sounds, blocking=True)
|
||||
|
||||
robot.disconnect()
|
||||
teleop.disconnect()
|
||||
if teleop is not None:
|
||||
teleop.disconnect()
|
||||
|
||||
if not is_headless() and listener is not None:
|
||||
listener.stop()
|
||||
|
||||
Reference in New Issue
Block a user