Closed Anouar35 closed 1 year ago
The ros1_bridge
will only consider interface definitions from packages with names ending in _msg
or _interfaces
. You need to fix the package names for your packages.
I faced a similar issue. In my case, I do not add any custom msgs or interfaces. I just install the original ros-noetic and ros-foxy. Before the commit 81f8b, I could build the ros1_bridge successfully. After that, the build just failed and the errors are just like the reported one. There seems to be some problems with the new functions for converting between ROS1 and ROS2 generic message.
If you want to build ros1_bridge
with Foxy then you need to use the Foxy branch. The master
branch only works with Rolling.
Enter the command git checkout foxy
after cloning the repo to be sure that you are building the correct version
Given the above, I'm going to close this out. If you are still having issues, please feel free to reopen.
If you want to build
ros1_bridge
with Foxy then you need to use the Foxy branch. Themaster
branch only works with Rolling.
Is it still valid?
zhuhj Where can I find the commit 81f8b? The commit numbers are usually bigger, with 7 digits
Bug report
Required Info:
Steps to reproduce issue
1- Clone all workspaces from : here 2- Clone this to bridge_ws sources 3- Build ros1_ws and ros2_ws using respectively catkin_make and colcon build 4- Issue the following commands before building the ros1_bridge, by the same order:
5 - Build the ros1_bridge using colcon build --symlink-install --packages-select ros1_bridge --cmake-force-configure
Expected behavior
It is expected that the ros1_bridge builds successfully.
Actual behavior
Output from the console: