robotology / yarp-ros

YARP support for ROS1.
1 stars 1 forks source link

YARP-ROS: Do not know anything about type XXX #14

Open randaz81 opened 7 years ago

randaz81 commented 7 years ago

Sometimes it happens the following:

yarp: Sending output from /tf+@/baseControl to /rviz_1511888078417210480 using tcpros
Do not know anything about type 'tf2_msgs/TFMessage'
Could not connect to a type server to look up type 'tf2_msgs/TFMessage'
yarp: Removing input from /baseControl/rpc:o to /cer_sim/mobile_base/rpc:i

(The above example is related to a baseControl module publishing on /tf topic, and rviz supposed to visualize them).

The meaning of this message is still unclear to me. But here I want to put a reminder that every time that it happened, the crash of my module persisted until I stopped and restarted the subscriber (in my case the rviz that was running in the backgrund).

PS: It's also possibile that the bug is inside ROS and not in YARP.

drdanz commented 6 years ago

The messages and the exit come from here:

https://github.com/robotology/yarp/blob/3c1882dfb8a217b4e3a83962b49aeba417c9aee1/src/carriers/tcpros_carrier/TcpRosStream.cpp#L195-L199