We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98337e6 commit c0bdb28Copy full SHA for c0bdb28
lerobot/record.py
@@ -330,7 +330,8 @@ def record(cfg: RecordConfig) -> LeRobotDataset:
330
log_say("Stop recording", cfg.play_sounds, blocking=True)
331
332
robot.disconnect()
333
- teleop.disconnect()
+ if teleop is not None:
334
+ teleop.disconnect()
335
336
if not is_headless() and listener is not None:
337
listener.stop()
0 commit comments