ros2_message

Crates.ioros2_message
lib.rsros2_message
version0.0.5
sourcesrc
created_at2024-07-04 10:24:54.037915
updated_at2024-07-12 10:00:22.078493
descriptionUtilities for handling MSG and SRV files in ROS2
homepage
repositoryhttps://github.com/A-K-O-R-A/ros2_message
max_upload_size
id1291585
size102,248
AKORA (A-K-O-R-A)

documentation

https://docs.rs/ros2_message/0.0.5/ros2_message/

README

ros2_message

MIT Licensed Crates.io

[!WARNING] This crate is not extensively tested yet and there is a good chance that you will discover issues. If you do please create a GitHub Issue

ros2_message is a utility library for handling anything related to ROS2 .msg and .srv files in Rust. It's primary focus is dynamically parsing and decoding ROS2 messages. The most common usecase for this is the mcap file format. For more information take a look at the Msg and DynamicMsg structs.

The most common use case for this is reading out MCAP files, especially in a environment where installing ROS2 is not an option. For more information about that have a look at the the mcap_reading example in the examples folder.

Implementation status

  • Implementing the full CDR spec

    • Little endian plain CDR is supported
    • Big endian plain CDR
    • PL CDR & CDR2
  • Extensive testing for different encoded messages

Resources

Foxglove .msg file parsing implemenation

Foxglove dynamic decoding implementation

Commit count: 739

cargo fmt