ros2_builtin_interfaces 0.1.1

ROS2 Builtin Interfaces For Rust
Documentation
  • Coverage
  • 87.5%
    7 out of 8 items documented2 out of 2 items with examples
  • Size
  • Source code size: 17.17 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.05 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 27s Average build duration of successful builds.
  • all releases: 25s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • yinguobing/ros2-builtin-interfaces
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • yinguobing

ROS2 Builtin Interfaces For Rust

Message definitions for types in the OMG IDL Platform Specific Model, for Rust.

Usage

Add the following to your Cargo.toml:

[dependencies]
ros2_builtin_interfaces = "0.1.0"

or using cargo:

cargo add ros2_builtin_interfaces

In your code:

use ros2_builtin_interfaces::msg::{Time, Duration};

let time = Time {
    sec: 0,
    nanosec: 0,
}

let duration = Duration {
    sec: 0,
    nanosec: 0,
}