re_importer 0.33.0

Handles importing of Rerun data from file using importer plugins
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::importer_mcap::tests::util;

/// Snapshot test loading an MCAP file containing [`std_msgs/String`] messages.
#[test]
fn test_string() {
    let loaded_mcap = util::load_mcap(util::test_asset("ros_string.mcap"));

    // Only snapshot the chunk with the payload, not the metadata chunk.
    let chunk = loaded_mcap.chunks_for_entity("/chatter")[1];
    insta::assert_snapshot!(format!("{:-240}", chunk));
}