Skip to main content

Crate re_importer

Crate re_importer 

Source
Expand description

Handles importing of Rerun data from file using importer plugins.

Re-exports§

pub use self::importer_mcap::McapImporter;
pub use self::importer_lerobot::LeRobotDatasetImporter;
pub use self::importer_parquet::ParquetImporter;

Modules§

external
importer_lerobot
importer_mcap
Rerun importer for MCAP files.
importer_parquet
Thin adapter that wraps re_parquet as an Importer.
lerobot
A module for loading and working with LeRobot datasets.
urdf_joint_transform
Utilities for computing joint transforms with an URDF.

Structs§

ArchetypeImporter
Imports data from any supported file or in-memory contents as native re_sdk_types::Archetypes.
DirectoryImporter
Recursively imports entire directories, using the appropriate crate::Importers for each file within.
ExternalImporter
An crate::Importer that forwards the path to load to all executables present in the user’s PATH with a name that starts with EXTERNAL_IMPORTER_PREFIX (or the legacy rerun-loader- prefix).
ImporterSettings
Recommended settings for the Importer.
RrdImporter
Imports data from any rrd file or in-memory contents.
UrdfImporter
An Importer for URDF (Unified Robot Description Format), common in ROS.
UrdfTree
A .urdf file loaded into memory (excluding any mesh files).

Enums§

ImportedData
What Importers produce.
ImporterError
Errors that might happen when importing data through an Importer.

Constants§

EXTERNAL_IMPORTER_INCOMPATIBLE_EXIT_CODE
When an external crate::Importer is asked to load some data that it doesn’t know how to load, it should exit with this exit code.
EXTERNAL_IMPORTER_PREFIX
To register a new external importer, simply add an executable in your $PATH whose name starts with this prefix.
FOXGLOVE_LENSES_IDENTIFIER
The identifier used to enable or disable Foxglove lenses when loading MCAP files.
SUPPORTED_DEPTH_IMAGE_EXTENSIONS
SUPPORTED_IMAGE_EXTENSIONS
SUPPORTED_MESH_EXTENSIONS
SUPPORTED_PARQUET_EXTENSIONS
SUPPORTED_POINT_CLOUD_EXTENSIONS
SUPPORTED_RERUN_EXTENSIONS
SUPPORTED_TEXT_EXTENSIONS
SUPPORTED_THIRD_PARTY_FORMATS
3rd party formats with built-in support.
SUPPORTED_VIDEO_EXTENSIONS
URDF_DECODER_IDENTIFIER
The identifier used to enable or disable URDF extraction from MCAP robot_description topics.

Traits§

Importer
An Importer imports data from a file path and/or a file’s contents.

Functions§

content_type_to_extension
Map a MIME content type to a file extension.
detect_format_from_bytes
Detect the file format from the first bytes of a file (magic bytes).
import_from_file_contents
Imports from the given contents using all crate::Importers available.
import_from_path
Imports from the given path using all crate::Importers available.
is_supported_file_extension
Is this a supported file extension by any of our builtin Importers?
iter_external_importers
Iterator over all registered external crate::Importers.
iter_importers
Iterator over all registered Importers.
prepare_store_info
Prepares an adequate re_log_types::StoreInfo LogMsg given the input.
register_custom_importer
Register a custom Importer.
supported_extensions
All file extension supported by our builtin Importers.
supported_mcap_decoder_identifiers
All decoder-like identifiers supported by McapImporter.

Type Aliases§

ImporterName