ros2_rust
ros2_rust copied to clipboard
Rust bindings for ROS 2
We could add an interface to subscriptions that allows consuming messages as a [`Stream`](https://docs.rs/futures/latest/futures/stream/trait.Stream.html), like `r2r`.
Currently, constants (such as `string MY_CONSTANT_STRING="ros2_rust"`) are not supported yet by `rosidl_generator_rs`. It would be nice to support them, for feature parity with other languages. Should they be `const` or...
We need a unit test package that can have dependencies on message packages (unlike `rclrs` itself). Tests that do not need a message type should still live in `rclrs`.
Some very rough initial thoughts: It would be nice if users could use the standard [`log`](https://docs.rs/log/latest/log/) crate to log messages, which are then handled appropriately – for instance, sent to...
In Python, arrays of primitive numbers are deserialized into `numpy` arrays. Rust could do the same (in its idiomatic message type, not the RMW-native message type). This would make working...
To reproduce, set up an environment with a recent install of ROS 2 Rolling, run `cargo test`, note down the path of the test binary and run it several times,...
The contents of `SubscriptionHandle` are moved into `Subscription`. This creates the problem that the `SubscriptionHandle` was returned by `SubscriptionBase`. We could also return the raw `rcl_subscription_t`, but I'd like to...
`Service`s and `Subscription`s should have the same trait bounds on their callbacks. It can be either `Fn` or `FnMut`. `Fn` callbacks can run concurrently with themselves without synchronization, but `FnMut`...
I've added the a `ContextBuilder` which I am using in `new()` in `context.rs` please review this so that I can proceed to adding domain_id options by overrloading these functions using...
The rationale is that `rclrs` itself should not need `std_msgs`.