Skip to main content

Crate oxidros_msg

Crate oxidros_msg 

Source
Expand description

Generated ROS2 message types for oxidros.

This crate provides Rust bindings for ROS2 messages, services, and actions. Enable the rcl feature for FFI support with ROS2 C libraries.

Messages are generated at compile time using ros2msg and ros2-types-derive.

Re-exports§

pub use oxidros_core;
pub use ros2msg::*;

Modules§

builtin_interfaces
common_interfaces
Common ROS2 interface messages (geometry_msgs, sensor_msgs, etc.)
interfaces
ROS2 core interfaces (rcl_interfaces, action_msgs, etc.)
msg
primitives
Definition of ROS2 primitive types
ros2msg
Additional ROS2 messages (unique_identifier_msgs, etc.)
strings
Definition of Strings

Macros§

ros2_action
Macro to generate a ROS2 action wrapper type
ros2_service
Macro to generate a ROS2 service wrapper type

Structs§

SequenceRaw
Raw sequence type for FFI compatibility
UnsafeDuration
Represents a duration that may not be safe across all platforms.
UnsafeTime
Represents a timestamp that may not be safe across all platforms.

Traits§

ActionGoal
Trait for action goal types.
ActionMsg
Trait for ROS2 action message types.
ActionResult
Trait for action result types.
GetUUID
Trait for types that contain a UUID.
GoalResponse
Trait for action goal response types.
ResultResponse
Trait for action result response types.
ServiceMsg
Trait for ROS2 service message types.
TryClone
Trait for type that can fail cloning
TypeSupport
Trait for types that have type support information.

Derive Macros§

Ros2Msg
Derive macro for ROS2 message types