rosbag2-recording

Record and replay ROS 2 bag data with configurable topics and storage backends.

18|2|Updated Apr 20, 2026
One-click install
npx skills add https://github.com/wimblerobotics/ros2-copilot-skills --skill rosbag2-recording
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rosbag2-recording
Source: https://github.com/wimblerobotics/ros2-copilot-skills/tree/main/rosbag2-recording
Command: npx skills add https://github.com/wimblerobotics/ros2-copilot-skills --skill rosbag2-recording

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Record and replay ROS 2 bag data across backends with configurable topics and playback settings to simplify data capture and analysis.

Core Features & Use Cases

  • Record all topics or a select subset (with regex options) and choose storage backends like MCAP or SQLite3.
  • Playback with clocks, rate control, loop, topic remapping, and QoS overrides to reproduce robot behavior.
  • Retrieve bag metadata and access bag data programmatically via Python APIs for post-processing and tooling.

Quick Start

Start by recording a bag with ros2 bag record and then play it back with ros2 bag play to verify the workflow.

Frequently Asked Questions about rosbag2-recording

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I record ROS 2 bag data with specific topics?

To record ROS 2 bag data, use the ros2 bag record command and specify your desired topics. You can filter topics using regex options to capture a select subset or record all topics.

Can I replay ROS 2 bag data with rate control and QoS overrides?

Yes, you can replay ROS 2 bag data using ros2 bag play with configurable clocks, rate control, loop options, topic remapping, and QoS overrides to accurately reproduce robot behavior.

What storage backends are supported for ROS 2 bag recording?

ROS 2 bag recording supports MCAP and SQLite3 storage backends. You can choose your preferred backend when recording bag data across supported ROS 2 distributions.

How do I access ROS 2 bag metadata programmatically in Python?

You can access ROS 2 bag data and retrieve bag metadata programmatically via Python APIs. This allows for post-processing and integration into custom tooling workflows.

Does this ROS 2 bag recording workflow support Jazzy and Rolling distributions?

Yes, this ROS 2 bag recording and playback workflow explicitly targets the Jazzy and Rolling distributions, enforcing features like time-based filtering and QoS overrides across these environments.