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

Tf from ROS1 to ROS2

asked 2022-05-02 08:28:26 -0500

Mechaick gravatar image

Hello,

I am running a ubuntu 18 with ROS Melodic which is connected to a ubuntu 20 with ros foxy and noetic. The tf messages are created by the ubuntu 18 then forwarded to the ubuntu 20. I then when to use ros1_bridge on the ubuntu 20 to send them to ros2. All the topics show no issue except /tf, showing the error :

failed to create 1to2 bridge for topic '/tf' with ROS 1 type 'tf2_msgs/TFMessage' and ROS 2 type 'tf2_msgs/msg/TFMessage': No template specialization for the pair.

The error seems pretty clear, but I don't see how to convert the messages, especially since the type is the same, it is just on a folder for ROS2. Thank you a lot if you have a solution

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-07-06 15:37:51 -0500

Davies Ogunsina gravatar image

Try using the ros1 parameter bridge to bridge the tf specific topic to ros2 that should work perfect .

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2022-05-02 08:28:26 -0500

Seen: 269 times

Last updated: Jul 06 '22