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§

McapChannelInfo
Structured information about one MCAP channel.
McapChunkInfo
Aggregate information about indexed MCAP chunks.
McapCompressionInfo
Aggregate information for one MCAP chunk compression codec.
McapFile
An immutable view of an MCAP file’s bytes with lazily cached file-level information.
McapInfo
Header and summary information about an MCAP file.
McapSchemaInfo
Schema metadata referenced by an MCAP channel.
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.
McapSummarySource
Whether the summary backing an McapInfo came from the file or was reconstructed.

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.