[Documentation] [TitleIndex] [WordIndex

Understanding log messages

Errors when using the package

The robot state publisher does not work

Is the robot state publisher still running?

To check if the robot state publisher is running, you should find out on what the name of the node is. The node name depends on the name you specified in the launch file:

Look for the name="..." field. In this example, the node name is 'my_name'. To verify if the node is running, type:

Is the robot state publisher receiving input?

The robot state publisher listens for joint angles in the topic 'joint_states'. To check if any messages are sent on this topic, type:

You should see an average publish rate being displayed. If not, the input is not published.

Is the robot state publisher sending output?

The robot state publisher sends output on the topic of the transform library [tf|(tf)]. To verify if anything is sent on this topic, type:

You should see an average publish rate being displayed. If not, the output is not published. However, if the average rate is not zero, you're still not sure that the robot state publisher is sending these messages; they could as well come from another source in the system sending out messages to tf. You'll have to look at the content of the message to see if it comes from the robot state publisher. You should know which frames are supposed to be published by the robot state publisher. Suppose you expect the frame 'my_frame' to be published, you can verify this by typing:


2019-10-12 13:00