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

Revision history [back]

URDF is not only for Gazebo, or just for simulation purposes. URDF defines your robot's physical dimensions, joints, constraints etc. Therefore robot_state_publisher publishes states of your link in your robot, not necessarily in simulation. For example, also for actual robot, it publishes tf data between your base_link and laser sensor link (like base_laser_link) using distances defined in URDF. You do not need to publish them separately by writing some nodes.

For joint states, if you can publish the states of your joints to joint_states topic, it can also publish those, not only static link distances.