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

Revision history [back]

You're running the node using the Quaternion Form. You're using seven arguments before link names, so you are setting all quaternion values to zero.

If you wish to publish this way you should use:

<node pkg="tf" type="static_transform_publisher" name="to_body" args="0 0 0 0 0 0 1 base_link body 100"/>

(You can't publish with all quaternion parameters equal to zero.)

Or you can run the node using the Roll Pitch Yaw Form, which is called when you use six numbers before link names.

<node pkg="tf" type="static_transform_publisher" name="to_body" args="0 0 0 0 0 0 base_link body 100"/>

TF Static Publisher

You're running the node using the Quaternion Form. You're using seven arguments before link names, so you are setting all quaternion values to zero.

If you wish to publish this way you should use:

<node pkg="tf" type="static_transform_publisher" name="to_body" args="0 0 0 0 0 0 1 base_link body 100"/>

(You can't publish with all quaternion parameters equal to zero.)

Or you can run the node using the Roll Pitch Yaw Form, which is called when you use six numbers before link names.

<node pkg="tf" type="static_transform_publisher" name="to_body" args="0 0 0 0 0 0 base_link body 100"/>

You can check more info here --> TF Static Publisher