demcapΒΆ
Extract data from MCAP files to readable formats.
UsageΒΆ
vuer demcap <mcap_path> [OPTIONS]
DescriptionΒΆ
Extracts and organizes data from ROS2 MCAP bag files into human-readable formats. Supports RGB images, depth images, LiDAR point clouds, IMU data, camera intrinsics, TF transforms, odometry, and joint states.
ArgumentsΒΆ
Argument |
Type |
Required |
Description |
|---|---|---|---|
|
string |
Yes |
Path to MCAP file |
OptionsΒΆ
Option |
Type |
Default |
Description |
|---|---|---|---|
|
string |
|
Output directory |
|
bool |
|
Skip video creation from RGB images |
|
int |
|
Frame rate for output videos |
|
int |
|
Start timestamp in nanoseconds |
|
int |
|
End timestamp in nanoseconds |
ExamplesΒΆ
# Extract to default location
vuer demcap /path/to/recording.mcap
# Custom output directory
vuer demcap /path/to/recording.mcap --output ./my_output
# Skip video generation
vuer demcap /path/to/recording.mcap --no-video
# Extract time range
vuer demcap /path/to/recording.mcap --start-time 1000000000 --end-time 5000000000
Output StructureΒΆ
<output_dir>/
βββ images/ # RGB images per camera
βββ depth/ # Depth images per camera
βββ lidar/ # LiDAR point cloud data
βββ imu/ # IMU sensor data (CSV)
βββ transforms/ # TF transform data (CSV)
βββ videos/ # Generated videos from images
βββ camera_intrinsics.json
βββ odometry.csv
βββ joint_states.csv
DependenciesΒΆ
pip install 'vuer-ros[mcap]'