Robotics StackExchange | Archived questions

JointStateController does not post on /joint_states topic

Hi, I was following the ros tutorial on how to use urdf in gazebo with ros:

http://wiki.ros.org/urdf/Tutorials/Using%20a%20URDF%20in%20Gazebo

However, when I start roslaunch urdfsimtutorial 09-joints.launch as described in the tutorial I get this message:

rostopic echo /joint_states
WARNING: no messages received and simulated time is active.

I have Ubuntu 16.4 and ros kinetik. Do you have any Idea, what causes this problem?

I really can't figure it out. Thank you so much in advance!

Asked by RicPale on 2018-09-19 09:31:30 UTC

Comments

The Joint*PositionController is not supposed to broadcast robot state, only the JointState*Controller does that.

Can you check your config and make sure the correct controller is loaded?

Asked by gvdhoorn on 2018-09-19 14:27:52 UTC

Hello gvdhoorn, thank you for your very quick answer! I misspelled in the headline. Thank you for pointing that out. I meant to write JointStateController, but I use the JointStateController in my yaml file:

type: "joint_state_controller/JointStateController" publish_rate: 30

Asked by RicPale on 2018-09-21 03:35:33 UTC

also gazebo starts to crash sometimes, when I load the yaml file

Asked by RicPale on 2018-09-21 06:58:06 UTC

Answers