ros2_rust
ros2_rust copied to clipboard
Rust bindings for ROS 2
Recently I've run lib unit tests with valgrind for my [PR](https://github.com/ros2-rust/ros2_rust/pull/210) purposes and I've come across some memory leaks in rclrs lib. Here is full report: ``` ==5444== ==5444== HEAP...
This PR adds a function(wait_for_service) in client to wait for service to be up .
It seems that the libc crate is only really useful in `#[no_std]` environments. https://stackoverflow.com/questions/44436515/should-i-use-libcc-char-or-stdosrawc-char We should see if we can replace all uses of `libc` with `std::os::raw`.
The `domain_id` is a useful option. In ROS distros up to Foxy, it is part of the node options. Afterwards it was moved to the context, or more precisely, the...
Particularly: - The [String Deserialize](https://github.com/ros2-rust/ros2_rust/blob/a351772cea9a84770afc4a597e55b2c735c1569a/rosidl_runtime_rs/src/string/serde.rs#L11) implementation first creates a Rust String, but it could potentially directly construct a `rosidl_runtime_rs::String`. Same for `WString` and the sequences types (which use a temporary...
Currently, there is no warning for unknown ROS arguments, for instance: ``` cargo run --bin minimal_subscriber -- --ros-args --params-file=lol.yaml ``` This does _not_ load the parameter file lol.yaml, since ROS...
Currently, sending Ctrl-C to a node makes it exit with code 130 (on a Linux machine). It should instead exit cleanly. If we follow the `rclcpp` example, this would be...
See https://github.com/ros2/rcl/blob/master/rcl/include/rcl/time.h Since this is a complex feature, it would be good to have some prior experience with the code base and/or seek early-stage feedback from other contributors.
Hi everyone! It's a PR for #33, however, I don't really know which of the parts of the library should be benchmarked at first, currently I only have written tests...
This PR reworks the CI to add support for macOS