Fix teleop disconnect during eval (#1364)

这个提交包含在:
pranavsaroha
2025-06-23 07:49:14 -07:00
提交者 GitHub
父节点 c940676bdd
当前提交 a5727e37b4

查看文件

@ -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()