Glossary
Terms as Rosetta and its docs use them, in alphabetical order.
- Adjunct
A channel the recorder records to the bag and nothing decodes, such as
/tf. Declared underadjunctin the contract.- Align
How a stream’s samples land on ticks: the strategy
hold,asofordrop, on a named timeline. Required on every source.- Apply
The ordered list of operators run on a source’s values: front to back when decoding, back to front through the inverses when encoding.
- Channel
The
channelblock of a source: topic, message type, QoS, and the codec and safety settings for that topic.- Codec
A decoder (message to array) or an encoder (array to message), registered for one message type. The built-in codecs come with the robot interface.
- Contract
One YAML file per robot declaring every frame key, its sources, and how each source is aligned, selected and transformed. The same file drives recording, porting and deployment.
- Dataset backend
A package that writes frames as training data, or reads training data back as frames.
lerobot_dataset_rosettawrites LeRobot datasets.rerun_rosettareads.rrdrecordings. Lives underdata/and plugs intorosetta.data.- Dataset writer
A class that writes ported frames in one dataset format, registered under
rosetta.dataset_writers.rosetta_port --formatpicks it.lerobotcomes fromlerobot_dataset_rosetta.- Episode
One recorded demonstration. One bag directory, and one episode in the ported dataset.
- Frame
One sample of every frame key at one tick, as a flat
{key: value}mapping. LeRobot calls it a frame too (one row of a dataset). It is not a tf coordinate frame.- Frame key
The name of one entry in a frame, such as
observation.stateoraction. LeRobot calls it a feature.- Operator
A named transform an
applylist can use, such asrad2deg,clamporresize. Each has a forward direction and possibly an inverse.- Policy runner
A class that runs a framework’s policy against live frames, registered under
rosetta.policy_runners.lerobotcomes fromlerobot_rosetta. Also the node that hosts it,policy_runner_node(node namepolicy_runner).- Port
To turn bags into a training dataset through a contract, with
rosetta_port.- Robot interface
The package that binds Rosetta to a robot middleware, named by
robot_interfacein a contract.ros2comes fromrosetta_ros. Unrelated torosetta_interfaces, the ROS 2 package of Rosetta’s action, message and service definitions.- Safety
What an action channel publishes when actions stop or the node deactivates:
none,zerosorhold.- Select
Which values a source takes from each message, in which order. It also sets the source’s width.
- Sidecar
The copy of the contract stored with a dataset,
meta/rosetta_contract.yamlin a LeRobot dataset.- Source
One channel feeding a frame key, with its align, select, apply and kind. A key with several sources is a multi-source key.
- Stream
The messages on one topic, each arriving on its own clock. What a ROS 2 robot publishes.
- Teleop
The contract section for a human device:
inputdrives action topics,eventsmaps buttons to named events,feedbacksends observations back to the device.- Tick
One point on the frame clock. Ticks are
1 / fpsapart.- Timeline
A named timestamp a channel provides. In
ros2, every type hasreceive(arrival time), and a type with astd_msgs/Headerfield namedheaderalso hasheader.- Warmup
The interval before every observation source has delivered a sample. Porting skips ticks during warmup.
- Watchdog
The live check that publishes each action channel’s safety action after more than two frame periods without a published action frame.