Fix teleop disconnect during eval (#1364)
这个提交包含在:
@ -330,7 +330,8 @@ def record(cfg: RecordConfig) -> LeRobotDataset:
|
|||||||
log_say("Stop recording", cfg.play_sounds, blocking=True)
|
log_say("Stop recording", cfg.play_sounds, blocking=True)
|
||||||
|
|
||||||
robot.disconnect()
|
robot.disconnect()
|
||||||
teleop.disconnect()
|
if teleop is not None:
|
||||||
|
teleop.disconnect()
|
||||||
|
|
||||||
if not is_headless() and listener is not None:
|
if not is_headless() and listener is not None:
|
||||||
listener.stop()
|
listener.stop()
|
||||||
|
|||||||
在新工单中引用
屏蔽一个用户