oxidros-wrapper-0.5.0 has been yanked.
oxidros-wrapper
Ergonomic ROS2 API implementing oxidros-core traits for the RCL backend.
This crate provides newtype wrappers around oxidros-rcl types and implements the core API traits, making it easy to work with ROS2 using async/await patterns.
Features
- Newtype wrappers: Wraps
oxidros-rcltypes to implementoxidros-coretraits (orphan rule workaround) - Async streams: Convert subscribers to
Streamviainto_stream()for use withtokio::select! - Service handling: Async service client/server with request/response patterns
- Action support: Full action client/server implementation
- Parameter server: ROS2 parameter server support
Requirements
- ROS2 installation (Humble, Jazzy, or Kilted)
- ROS2 environment sourced (
source /opt/ros/<distro>/setup.bash)
Example
use *;
use std_msgs;
use ctrl_c;
async
Architecture
oxidros-wrapper sits between application code and oxidros-rcl:
Application
│
▼
oxidros-wrapper ─── implements ───► oxidros-core traits
│
▼
oxidros-rcl ─── FFI bindings ───► RCL (ROS Client Library)
For a pure-Rust alternative without RCL dependencies, see oxidros-zenoh.