feat(rollout): adding legacy strategy

This commit is contained in:
Maximellerbach
2026-06-03 15:14:05 +02:00
parent 741c2d0a39
commit 350f8e8d4d
6 changed files with 340 additions and 2 deletions

View File

@@ -25,6 +25,7 @@ Strategies
--strategy.type=sentry Continuous recording with auto-upload
--strategy.type=highlight Ring buffer + keystroke save
--strategy.type=dagger Human-in-the-loop (DAgger / RaC)
--strategy.type=legacy Episode oriented recording, mirrors old lerobot-record
Inference backends
------------------
@@ -111,6 +112,17 @@ Usage examples
--display_data=true \\
--use_torch_compile=true
# Legacy mode — episode-oriented recording, mirrors old lerobot-record
lerobot-rollout \\
--strategy.type=legacy \\
--robot.type=so100_follower \\
--robot.port=/dev/ttyACM0 \\
--teleop.type=so100_leader \\
--teleop.port=/dev/ttyACM1 \\
--dataset.repo_id=user/grab_cube \\
--dataset.num_episodes=20 \\
--dataset.single_task="Grab the cube"
# Resume a previous sentry recording session
lerobot-rollout \\
--strategy.type=sentry \\