Skip to content

Commit e51eb84

Browse files
authored
Changing from old-style arguments to new-style arguments in Setting Up Transforms (#702)
In Setting Up Transforms for broadcasting static transform the command arguments are old-style which are deprecated so changing it to new-style. Signed-off-by: YASVANTH S <83586632+Yasvanth-S@users.noreply.github.com>
1 parent e6c6d98 commit e51eb84

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

setup_guides/transformation/setup_transforms.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Open up your command line and execute the following command:
5353

5454
.. code-block:: shell
5555
56-
ros2 run tf2_ros static_transform_publisher 0.1 0 0.2 0 0 0 base_link base_laser
56+
ros2 run tf2_ros static_transform_publisher --x 0.1 --y 0 --z 0.2 --roll 0 --pitch 0 --yaw 0 --frame-id base_link --child-frame-id base_laser
5757
5858
With this, we are now successfully publishing our ``base_link`` to ``base_laser`` transform in TF2. Let us now check if it is working properly through ``tf2_echo``. Open up a separate command line window and execute the following:
5959

0 commit comments

Comments
 (0)