Skip to main content

McapSpaceManager Objects

Manage spaces inferred from self-contained MCAP labels and caller-supplied IDs.

reset

Remove spaces inferred from the previous label payload.

add_labels_to_spaces

Recover MCAP point-cloud and time-series spaces omitted from top-level metadata.

get_or_create_point_cloud_space

Trust a valid stream@timestamp_ns point-cloud ID supplied by a caller.

get_or_create_time_series_space

Trust a non-empty time-series channel ID supplied by a caller.

prepare_export

Restore MCAP labels to their wire locations and omit synthetic space metadata.