ROS is an open-source framework for building robots. It organizes software into nodes that exchange messages through a common middleware layer, and defines standard message types and conventions for interoperability. Built around that core are application stacks such as Nav2 and MoveIt, tools such as rosbag2 and RViz, and a large community ecosystem of packages.
Rerun does not replace the middleware or the stacks: ROS keeps running your robot. Use Rerun to visualize, record, and import the data your robot produces, and use Rerun DB Local or Rerun DB to organize your datasets, run analytical queries on them, or stream them directly into training jobs.
This page maps the ROS concepts that describe data, such as topics, messages, timestamps, and TF, onto the Rerun data model. Beyond the data model, once your data is in Rerun, you get:
- Importers and tools to wrangle data, for example to merge data from multiple formats — not only ROS. See the robot data preprocessing example for a hands-on tutorial.
- A column-chunk-based storage format, RRD, that keeps your data raw and is fast to query and train on. See MCAP and RRD below for a comparison.
- A catalog to curate datasets from many recordings, extend them with layers, and curate and train on them directly, see Catalog.
- Analytical queries across your recordings with the dataframe and SQL APIs.
- A Viewer with multiple timelines, time travel through live and recorded data, and dataset browsing, see Viewer. Use it natively on various platforms without needing a ROS installation, or in the browser.
Just like ROS, the Rerun SDK, Viewer, Rerun DB Local, and RRD format are open source (MIT or Apache 2.0). Rerun DB adds a commercial, multi-user cloud catalog for production deployments.
Concept mapping
Many ROS concepts have a counterpart in Rerun that serves a similar purpose, for example:
| ROS | Rerun |
|---|---|
| Bag | Recording |
| Topic | Entity path |
| Message type | Archetype |
| Message field | Component |
header.stamp, receive time | Timelines, several per message |
| Latched topic | Latest-at query semantics |
Data not tied to time, such as /robot_description | Static data |
/tf, /tf_static | Transform3D with named frames |
header.frame_id | CoordinateFrame |
CameraInfo | Pinhole |
| REP 103 axis conventions | ViewCoordinates |
.rviz config | Blueprint |
The rest of this page explains where the two models differ.
Recording data
A ROS bag holds the messages of one recording session, and so does a Rerun recording. There are three ways to get ROS data into a recording:
- Log from your nodes with the Rerun SDK, see Use Rerun with ROS 2.
- Import ROS bags (MCAP files). Open them in the Viewer or convert them to RRD, see MCAP files and Working with MCAP. Common ROS 2 messages are converted to Rerun types, see Supported message formats. Each imported bag becomes one recording.
- Record straight to RRD with
rosbag2_storage_rrd, an experimental rosbag2 storage plugin (ros2 bag record -s rrd). The recording can stream live to a Viewer and is replayed withros2 bag play.
On a Rerun DB server, each recording becomes a segment of a dataset, so a collection of bags from one robot can be queried as one dataset.
A segment can be made of several layers: separate RRD files registered under the same segment ID, which are viewed and queried together as one recording. This lets you add data to a recorded session later, such as annotations, model predictions, or reprocessed sensor data, without touching the original recording. In ROS, adding data to a bag would mean writing a new bag.
MCAP and RRD: row-based vs columnar chunks
MCAP is the default storage format for ROS 2 bags. It keeps the serialized ROS 2 messages as they were sent, so that a bag can be replayed. By default, it stores heterogeneous chunks of row writes: messages from all topics, interleaved in the order they were recorded. This makes recording fast. Reading a single topic or field, however, means reading through mixed chunks and deserializing whole messages, which can hurt query and training performance.
RRD stores data as Rerun types in chunks: Arrow tables with one column per component, covering one entity over a range of time. Queries and training dataloaders read only the columns and time ranges they need. The data itself stays as it was recorded: images and video stay encoded, and nothing is downsampled to a common rate, as it is for example in LeRobot datasets.
Converting an MCAP file to RRD is a one-time step, see Working with MCAP.
Topics and entities
When converting ROS messages to Rerun archetypes, each topic becomes an entity with the same path.
For example, the MCAP importer logs messages from /robot/camera/image_raw to the entity /robot/camera/image_raw.
Topic namespaces in ROS are only names.
In Rerun, the entity path hierarchy has meaning: views and queries select data with entity path filters such as /robot/camera/**, and the hierarchy can carry transforms (although as a ROS user, we recommend sticking with TF-style named frames).
A topic carries a single message type. An entity can hold several archetypes at once, for example a point cloud and the transform that places it.
Messages, archetypes, and components
A ROS message is a single struct, defined in a .msg file and delivered as a whole.
A Rerun archetype is a named bundle of components, and each component is stored as its own column.
Because components are stored independently, you can update one without resending the others. For example, you can log new colors for a point cloud without logging its positions again. Queries fill in the components you did not send with their latest values, see partial updates.
Timestamps and timelines
A ROS message with a Header has one stamp, and the bag adds the time it received the message.
In Rerun, every event can be placed on several timelines at once, and you choose which one to view or query by.
The MCAP importer creates these timelines:
message_log_time: when the message was recordedmessage_publish_time: when the message was publishedros2_timestamp: the stamp from the message'sHeader, if it has one
See Timelines for details, including how to import timestamps that do not count from the Unix epoch.
Timelines are not limited to wall-clock time. A sequence timeline, such as a frame number or a step index, works the same way.
Latched topics vs latest-at and static data
In ROS, a latched (transient local) topic delivers its last message to subscribers that join late.
In Rerun, every component works this way: a latest-at query returns the last value logged at or before the queried time.
For example, an imported /tf_static or /map topic holds from the moment it was recorded.
For data that is not tied to time at all, such as a robot description, use static data.
It applies at every point in time, on every timeline.
Logging the same static component again replaces the previous value, except for transforms between named frames: each static Transform3D or Pinhole adds its frame relationship, like a static transform broadcaster in ROS.
TF and transforms
Rerun supports TF-style named transform frames:
Transform3Dwithparent_frameandchild_framecorresponds to aTransformStampedwithframe_idandchild_frame_id.CoordinateFramecorresponds toheader.frame_id: it places an entity in a named frame.- As in tf2, each frame has one parent at any point in time.
The importer converts tf2_msgs/TFMessage and frame_id this way, see Transforms (TF).
A /robot_description topic is loaded as a robot model by the URDF option of the MCAP importer, see also Loading URDF models.
There are some differences:
- In ROS, transforms are published on
/tfand/tf_static. In Rerun, you can log a transform on any entity. Once a relationship between two frames is logged on one entity, it must not be logged on another. The exception is a static transform: its temporal updates may come from a different entity. - tf2 interpolates between two transforms when you look up a time between them. Rerun does not: at any time, it uses the latest transform logged at or before that time.
- Camera intrinsics are part of the frame tree: a
Pinholerelates a 2D image frame to the 3D camera frame, see Pinhole projections.
Axis conventions
REP 103 uses x forward, y left, z up for bodies, and x right, y down, z forward for camera optical frames. Rerun's defaults match where it matters:
- 3D views use z up by default (
RFU: x right, y forward, z up), so ROS data shows upright without any setup. - A
Pinholeuses x right, y down, z forward (RDF) by default, the same as an optical frame.
To make the default 3D camera face along the robot's forward axis (+x in REP 103), log ViewCoordinates.FLU as static data at the root, see View coordinates.
View coordinates only change how the Viewer orients its camera, not your data or transforms.