Skip to main content

Crate re_mcap

Crate re_mcap 

Source
Expand description

Library providing utilities to load MCAP files with Rerun.

Re-exports§

pub use decoders::Decoder;
pub use decoders::DecoderIdentifier;
pub use decoders::DecoderRegistry;
pub use decoders::MessageDecoder;
pub use decoders::SelectedDecoders;
pub use decoders::TopicFilter;

Modules§

cdr
CDR (Common Data Representation) decoding utilities for DDS-RTPS messages.
decoders

Structs§

ParserContext
Common context used by parsers to build timelines and store entity paths.
ScanResult
The result of a cheap, decompression-free scan of an MCAP data section.
Summary
Indexes of an MCAP file parsed from its (optional) summary section

Enums§

Error
The base error type for handling MCAP files.
ImageEncoding
A raw image encoding string, as used by ROS and Foxglove.

Traits§

MessageParser
Trait for parsing MCAP messages of a specific schema into Rerun chunks.

Functions§

build_chunk_index
Cheaply scans the data section of an MCAP file, reconstructing its chunk + metadata index.
decode_image_encoding
Parses a raw image encoding string (shared by ROS and Foxglove) into an ImageEncoding.
decode_image_format
Decodes a raw image encoding string (shared by ROS and Foxglove) into a Rerun ImageFormat.
read_or_reconstruct_summary
Reads an MCAP Summary, falling back to reconstruct_summary when recover is set and the file has no valid summary.
read_summary
Read out the summary of an MCAP file.