Rosetta
Getting started
Install
The demos workspace
From source with pixi
An existing workspace
Check the install
From bags to a moving arm
1. Install the demos workspace
2. Start the robot
3. Read the contract
4. Deploy the published policy
5. Port bags into a dataset
6. Train your own policy
7. Deploy your policy
8. Change the contract
Next
How-to guides
Record episodes
Start the recorder
Choose what gets recorded
Drive it from the keyboard
Drive it from a script
Throw away a bag
Check a bag
Use bags you already have
Write a contract
Name the keys
Point each key at a channel
When:
align
Which:
select
How:
apply
Merge streams into one key
Set the action’s safety
Validate
Prepare a dataset
Port
Check the result
Revise and port again
Port in parallel
Push to the Hugging Face Hub
If an episode fails
Train a policy
Train from a local dataset
Find the checkpoint
Train without porting
Record and register
Train
Read in blocks
How samples differ from a ported dataset
Use a receive-aligned contract
Deploy the checkpoint
Train on several backends
Record each backend with one contract
Port into one dataset
Train
Deploy a policy
Start the runner
Start and stop a run
Use the contract from training
Run inference on another machine
Tune the chunking
Run with LeRobot’s own tools
Route commands through a mux
Move the runner’s output
Connect topics of the same type
Translate between message types
Run human-in-the-loop episodes
Add a teleop section to the contract
Launch
Run an episode
Take over
End and label the episode
Find the bag
Run without recording or with your own policy
Add a message type
Write the codec
Register it
Check it
Add a dataset writer
Write the writer
Register it
Use it
Package it
Add a policy runner
Write the runner
Register it
Use it
Package it
Add a robot interface
Implement the protocol
Register codecs
Register the interface
Check it
Connect it to a robot
Package it
Reference
Glossary
Contract
Top level
Sections
Source
channel
qos
align
select
shape
apply
kind
Multi-source keys
Tasks
Rewards, signals, info, complementary_data
Adjunct
Teleop
Checked after load
Embedding
Example contracts
Message types and operators
Decoders
Encoders
Operators
Custom codecs
Custom operators
rosetta_port
Options
Behavior
Output
Nodes
Parameter layering
Lifecycle
episode_recorder_node
Recorded topics
Bags
episode_keyboard_node
policy_runner_node
Contract fallback
LeRobot adapter parameters
Nodes inside the LeRobot plugins
Interfaces
Ending work
Actions
RecordEpisode
RunPolicy
ManageEpisode
Services
Messages
Python API
Core modules
Protocols
ROS 2 modules
Dataset and policy packages
Lifecycle nodes
RosettaLifecycleNode
BridgeLifecycleNode
Example
Packages
Packages in this repository
Packages outside this repository
Entry-point groups
Dependencies
Explanation
About the contract
Streams and frames
Before or after recording
The same code, twice
Where the contract stops
Robots, data and policies
Port first, or read while training
One numeric key on the live path
Unstamped messages
Rosetta
Index
Index