Robotics StackExchange | Archived questions

Ros1_bridge for builtin interfaces results in an error

My project is publishing in a ros2 node a duration msg and want to record it in a rosbag (ros1) (since there is no ros2 python rosbag api yet and want to do some python plotting, right ?).

I get following error from the ros1 bridge (command with the options are : ros2 run ros1bridge dynamicbridge --bridge-all-topics)

failed to create 2to1 bridge for topic '/........' with ROS 2 type 'builtin_interfaces/msg/Duration' and ROS 1 type '': No template specialization for the pair

I use melodic and dashing.

In the code I see a check on ros2typename == "builtininterfaces/Duration" and not on ros2typename == "builtininterfaces/msg/Duration". Could this be a bug or something I'm doing wrong ?

Asked by erwin.rademakers on 2019-10-17 10:46:19 UTC

Comments

Answers

Thanks for reporting the problem. That certainly is a bug and will be fixed by https://github.com/ros2/ros1_bridge/pull/224.

Asked by Dirk Thomas on 2019-10-22 13:50:28 UTC

Comments