Closed talhassj28 closed 9 months ago
I figured out what the problem was. It's actually not a rosbridge issue. Apparently I forgot to add the dependencies of custom ROS2 messages in the CMake file.
rosidl_generate_interfaces(${PROJECT_NAME}
${msg_files}
DEPENDENCIES <dependencies i.e. std_msgs>
)
solved the issue.
I am trying to convert a ROS1 bagfile into a ROS2 bagfile. The bagfile contains topics with non-standard message types (adma, ouster and sbg_driver). I have built every message type I need for ROS1 and ROS2 in separate workspaces and the ros1_bridge in another.
Workspaces:
I can succesfully print all pairs with
ros2 run ros1_bridge dynamic_bridge --print-pairs | grep -E 'adma|ouster|sbg'
:When I try to use the bridge for converting the messages, I get an symbol lookup error in connection with one of my custom message types (adma_ros_driver_msgs). Here is my procedure:
Terminal 1:
Terminal 2:
Terminal 3:
ros2 run ros1_bridge dynamic_bridge --bridge-all-1to2-topics
Terminal 4:
Expected behavior
Actual behavior
Additional information