| Crates.io | ros2-mcap-schema-builder |
| lib.rs | ros2-mcap-schema-builder |
| version | 0.1.0 |
| created_at | 2025-09-28 12:17:15.399731+00 |
| updated_at | 2025-09-28 12:17:15.399731+00 |
| description | A simple library to generate ROS2 MCAP schema definitions |
| homepage | |
| repository | https://github.com/okieraised/ros2-mcap-schema-builder |
| max_upload_size | |
| id | 1858278 |
| size | 20,498 |
Generating MCAP schemas definitions from ROS 2 interfaces in pure Rust
A library in Rust to convert the ROS2 .msg files into a single, self-contained schema data to use with MCAP.
use anyhow::Result;
use std::path::Path;
fn main() -> Result<()> {
let r = CentralSchemaResolver::global()?;
let tf = r.flatten("tf2_msgs/msg/TFMessage")?;
println!("{tf}");
Ok(())
}