ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Ros1_bridge for builtin interfaces results in an error

asked 2019-10-17 10:46:19 -0500

erwin.rademakers gravatar image

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 ros1_bridge dynamic_bridge --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 ros2_type_name == "builtin_interfaces/Duration" and not on ros2_type_name == "builtin_interfaces/msg/Duration". Could this be a bug or something I'm doing wrong ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-10-22 13:50:28 -0500

Dirk Thomas gravatar image

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

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2019-10-17 10:46:19 -0500

Seen: 258 times

Last updated: Oct 22 '19