Announcing ROS 2 IDL Support in Foxglove Studio
Foxglove Studio now supports ROS 2 data with IDL-defined message schemas. You can now use
.idl definitions to load ROS 2 data into Foxglove Studio, without any other changes to your workflows.
While ROS 2 users typically define message types using the
.msg schema encoding, ROS 2 also supports a subset of the OMG IDL spec for compatibility across ROS and non-ROS components. If you’ve been using
rosbag2 to record data, you can use this same package to write both
.idl schemas to MCAP files.
When you load MCAP files in Foxglove Studio for visualization and analysis, ROS 2 will parse their contained
ros2idl schemas to deserialize messages on demand.
You can also connect live to your ROS 2 stack with the Foxglove WebSocket connection, which now supports IDL schema messages. First install the
foxglove_bridge package to get connected:
For more details, you can check out the
rosbag2_storage_mcap package for writing ROS 2 data to MCAP files, as well as the
foxglove/rosmsg package for parsing ROS
.idl message definitions. You can also reference the MCAP docs for reading and writing MCAP files with our helper libraries (available in Python, C++, and more).
If you have any questions or feedback, reach out directly to the Foxglove team in our Slack community for support.
Experience Foxglove’s data storage and collaboration features for 14 days.
Use the ROS 1 tf2 library to calculate the relative positions of detected objects.
Get blog posts sent directly to your inbox.