yarp
yarp copied to clipboard
YARP-ROS: Do not know anything about type XXX
Sometimes it happens the following:
- I launch a module publishing a ROS message
- After ~30sec it crashes with a message similar to this:
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.
The messages and the exit come from here:
https://github.com/robotology/yarp/blob/3c1882dfb8a217b4e3a83962b49aeba417c9aee1/src/carriers/tcpros_carrier/TcpRosStream.cpp#L195-L199