Skip to main content

Protobuf

Read and write MCAP

If you're starting from scratch, you can write code that allows you to write your Protobuf data to MCAP files and subsequently read your Protobuf data from your MCAP files.

The mcap GitHub repo includes the mcap-protobuf-support Python package to help you write an MCAP reader and writer for Protobuf.

Guides

Examples

Inspect MCAP

Use the mcap CLI tool to inspect MCAP files, validate their contents, and even echo their messages to stdout.

For an exhaustive list of ways to interact with your MCAP data, check out the mcap GitHub repo.

Visualize MCAP

Foxglove supports playing back local and remote MCAP files containing Protobuf data.