The Tunable static tf broadcaster is a node that changes the values of x, y, z, roll, pitch, and yaw using the GUI of the rqt_reconfigure and then publishes them.
ros2 launch tunable_static_tf_broadcaster sample.launch.xml
To increase the number of frames, several instances of the tunable_static_tf_broadcaster_node
must be launched.
- Copy the
sample.launch.xml
and assign it a suitable name - Add the following lock to the launcher
<!-- Add an additional node -->
<node name="node_name" pkg="tunable_static_tf_broadcaster" exec="tunable_static_tf_broadcaster_node.py" >
<param name="rate" value="10.0" type="double" /> <!-- Update frequency of the tf [Hz]-->
<param name="header_frame" value="parent_frame_id" type="string" /> <!-- header frame ID of the tf-->
<param name="child_frame" value="cild_frame_id" type="string" /> <!-- child frame ID-->
<param from="$(find-pkg-share tunable_static_tf_broadcaster)/params/initial_values.yaml" /> <!-- YAML file containing the initial values -->
</node>