Skip to content

Commit 80d71ab

Browse files
author
Murilo Marinho
committed
[navigation] Making launch commands more readable.
1 parent e79183c commit 80d71ab

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

docs/source/navigation/usage.rst

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,11 @@ is a rather complete example that we can utilize, namely :file:`tb3_simulation_l
3434

3535
.. code-block:: console
3636
37-
ros2 launch nav2_bringup tb3_simulation_launch.py use_sim_time:=True headless:=False sigterm_timeout:=120
37+
ros2 launch nav2_bringup \
38+
tb3_simulation_launch.py \
39+
use_sim_time:=True \
40+
headless:=False \
41+
sigterm_timeout:=120
3842
3943
We use ``headless:=False`` for the launch file to spawn :program:`Gazebo`. We use ``use_sim_time:=True`` to make sure
4044
that :program:`Gazebo`\'s clock will be used an prevent timing issues with `/tf`.
@@ -327,5 +331,10 @@ even with the basic concepts of navigation.
327331

328332
.. code-block:: console
329333
330-
ros2 launch nav2_bringup tb3_simulation_launch.py slam:=True sigterm_timeout:=120
334+
ros2 launch nav2_bringup \
335+
tb3_simulation_launch.py \
336+
use_sim_time:=True \
337+
headless:=False \
338+
sigterm_timeout:=120 \
339+
slam:=True
331340

0 commit comments

Comments
 (0)