re_importer 0.36.1

Handles importing of Rerun data from file using importer plugins
Documentation
1
2
3
4
5
6
7
8
use re_lenses::{LensBuilderError, Lenses};

/// Adds all ROS 2 message lenses to an existing collection.
pub fn add_ros2msg_lenses(lenses: Lenses) -> Result<Lenses, LensBuilderError> {
    Ok(re_lenses::semantic::ros2msg::all()?
        .into_iter()
        .fold(lenses, Lenses::add_lens))
}