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

mcap_path

string

Yes

Path to MCAP file

OptionsΒΆ

Option

Type

Default

Description

--output

string

extracted_data/<filename>

Output directory

--no-video

bool

False

Skip video creation from RGB images

--fps

int

30

Frame rate for output videos

--start-time

int

None

Start timestamp in nanoseconds

--end-time

int

None

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]'

API ReferenceΒΆ