ros1_bridge doesn't find ROS1 std_msgs/String type for chatter example
Hi all, I'm using ROS2 Foxy on Windows in one PC, and ROS1 Noetic on Linux in another machine. I want them to communicate. I've compiled ros1_bridge following its readme, knowing that for the Foxy pkg I need to checkout the correct branch.
- I managed to build ros1_bridge correctly.
- The two machine are communicating in ROS2, which means I can see the topics and do the echo.
- The machine on Windows (ROS2 ) is publishing, the other (ROS1 and ROS2) is subscribed, I want to read the topic in ROS1. (I'm literaly doing the example 1b)
Now, the bridge starts but I get:
created 2to1 bridge for topic '/chatter' with ROS 2 type 'std_msgs/msg/String' and ROS 1 type ''
While I am expecting:
created 2to1 bridge for topic '/chatter' with ROS 2 type 'std_msgs/msg/String' and ROS 1 type 'std_msgs/String'
EDIT: I noticed that adding --bridge-all-topics, I get the correct type for ROS1, but still the listener node doesn't print anything.
After some minutes it says: Failed to connect to xxx.yyy.local:49195
I did source ROS1 and ROS2 before the build, and if I do rostopic type /chatter
I get std_msgs/String
.
What am I doing wrong?