Home | Tutorials | Wiki | Issues
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Publishing JointStates in ROS with Gazebo

I am loading a SDF into Gazebo using the gazebo_ros/spawn_model. I am loading a joint_state_controller through the controller_manager and its even publishing a joint_state message. However, there are no joints listed in the joint_state message despite it containing multiple not-fixed joints.

Any ideas how to make the joint_state message include the proper joints?

click to hide/show revision 2
Including gazebo ros control snippet

Publishing JointStates in ROS with Gazebo

I am loading a SDF into Gazebo using the gazebo_ros/spawn_model. I am loading a joint_state_controller through the controller_manager and its even publishing a joint_state message. However, there are no joints listed in the joint_state message despite it containing multiple not-fixed joints.

Any ideas how to make the joint_state message include the proper joints?

Edit:

SDF Snippet:

<plugin name="gazebo_ros_control" filename="libgazebo_ros_control.so">
  <robotNamespace>valve</robotNamespace>
</plugin>