contradict / ros-humble-ros1-bridge

23 stars 4 forks source link

No conversion from `rcl_interfaces/msg/Log` and `rosgraph_msgs/Log` #2

Open Timple opened 1 year ago

Timple commented 1 year ago

When running the bridge I get this error:

ros1-bridge_1  | failed to create 2to1 bridge for topic '/rosout' with ROS 2 type 'rcl_interfaces/msg/Log' and ROS 1 type 'rosgraph_msgs/Log': No template specialization for the pair

Can easily be verified with this docker-compose file:

version: "2.1"
services:
  roscore:
    image: "ros:noetic"
    network_mode: host
    command: roscore
  ros1-bridge:
    image: bridge
    network_mode: host
    command: ros2 run ros1_bridge dynamic_bridge

However during compilation I can see that rcl_interfaces and rosgraph are found. Do you suffer from the same?

contradict commented 1 year ago

See the second entry under Known Issues here.

Timple commented 1 year ago

Thank you. I looked into that briefly, but it's not my issue as it does not end in a segfault as the issue states.

Also the referenced issue (https://github.com/ros2/rmw_fastrtps/issues/265) was closed with this PR: https://github.com/ros2/rmw_fastrtps/pull/350 early 2020. So I am going to assume it reached humble.

Timple commented 1 year ago

For reference, a workaround was found by checking out an older version of the bridge: https://github.com/ros2/ros1_bridge/issues/393#issuecomment-1472641529