ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

In my state publisher, where I publish my other transforms with RobotStatePublisher::publishTransforms(...), I had to also add RobotStatePublisher::publishFixedTransforms(). Between diamondback and electric, RobotStatePublisher::publishTransforms(...) began to only publish transforms for moving joints. See the functions at line 78 and line 100 in robot_state_publisher.cpp (ignore the incorrect print statement for the second function). In order to publish fixed joint transforms, you must call RobotStatePublisher::publishFixedTransforms().

This problem is also referenced in this post: Why does robot_state_publisher skip publishing fixed joints.