ros2/ros1_bridge

[question] YAML with mapping rules - which package should have it?

ljaniec opened this issue · 4 comments

Hello,

I am trying to bridge my custom ROS1 and ROS2 message packages, unfortunately, without much success.

My question:

Which version is correct? I think the documentation should be more precise there.

  • Operating System:
    Ubuntu 20.04, ROS 2 Galactic (binaries), ROS 1 Noetic (binaries), default DDS

Hi the message mapping rule YAML file should reside in the ROS2 msgs package, included in ROS2 msgs package CMakeLists.txt and package.xml.

See this as an example, it was created for another issue but should help with file structure and installation. Note: ros1_bridge is a submodule in that repository, either git submodule update or manually clone it, if you're trying it out!

Thank you for the answer. I hope some additional notes will be added to the documentation so it will be clear for everyone

Sure, it'll be added with this commit 7c6dcb9 in another PR.