Using ROS 2 Rust Message Crates without Patching #471
Replies: 3 comments 7 replies
-
Your README at https://github.com/maspe36/ros2_rust_shim_message_example/blob/main/from_crates_io/rclrs_example_msgs/README.md says that this is not intended to be used within a Colcon workspace? Is there something about this approach that doesn't work well with Colcon? I'm very interested in any build method that allows us to avoid patching, but I feel like it needs to be compatible with how we build ROS 2 projects. |
Beta Was this translation helpful? Give feedback.
-
This is really cool, thanks @maspe36 A while ago I wrote a rosmsg parser in Rust, I wonder if we could combine both and with a little |
Beta Was this translation helpful? Give feedback.
-
Just keeping a running list of cases where a user runs into an issue, and reports it, where a shim crate would have in theory avoided |
Beta Was this translation helpful? Give feedback.
-
Hey all, I've been noodling on this for a while, but I've got an end-to-end example that allows a ROS 2 cargo package to depend on a generated message crate without any confusing
.cargo/config.toml
patching fromcolcon-ros-cargo
.https://github.com/maspe36/ros2_rust_shim_message_example/tree/main
This is a potential approach we could take to remove the need for patching and maybe even
cargo-ament-build
entirely (This part is still more of a WIP).Let me know what you think :)
Beta Was this translation helpful? Give feedback.
All reactions