Skip to content

Commit 85319eb

Browse files
Added configuration for route server demo.
Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com>
1 parent dca154c commit 85319eb

3 files changed

Lines changed: 30 additions & 0 deletions

File tree

configuration/packages/configuring-route-server.rst

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -785,3 +785,33 @@ Example
785785
min_prune_dist_from_goal: 0.15 # Min distance from goal node away from goal pose to consider goal node pruning as considering it as being passed (in case goal pose is very close to a goal node, but not exact)
786786
min_prune_dist_from_start: 0.10 # Min distance from start node away from start pose to consider start node pruning as considering it as being passed (in case start pose is very close to a start node, but not exact)
787787
prune_goal: true # Whether pruning the goal nodes from the route due to being past the goal pose requested is possible (pose requests only)
788+
789+
790+
Configuring the Nav2 Route Server Demo
791+
*****************************************
792+
The Nav2 Route Server demo is a simulation of a Turtlebot4 robot navigating through a depot or a warehouse environment using the Nav2 Route Server.
793+
The `route_example_launch.py <https://github.com/ros-navigation/navigation2/blob/main/nav2_simple_commander/launch/route_example_launch.py>`_ file is used to launch the demo, and can be configured in place with the following parameters:
794+
795+
- ``MAP_TYPE``:
796+
- Set to either ``depot`` or ``warehouse`` to choose the environment.
797+
798+
- ``MAP_POSES_DICT``:
799+
- A dictionary containing the Gazebo spawn poses for the robot in the depot and warehouse environments.
800+
801+
- ``ROUTE_POSES_DICT``:
802+
- A dictionary containing the start and goal poses for the robot in the depot and warehouse environments.
803+
804+
| All the graphs files for the depot and warehouse environments are located in the `graphs <https://github.com/ros-navigation/navigation2/tree/main/nav2_bringup/graphs>`_ directory under the ``nav2_bringup`` package.
805+
| These are the current visualizations of the route graphs for the depot and warehouse environments:
806+
807+
.. figure:: images/route_server/depot_graph.png
808+
:width: 100%
809+
:align: center
810+
811+
RViz visualization of the route graph for the depot environment. All nodes are **bidirectional**.
812+
813+
.. figure:: images/route_server/warehouse_graph.png
814+
:width: 100%
815+
:align: center
816+
817+
RViz visualization of the route graph for the warehouse environment. All nodes are **bidirectional**, except the ones that are annotated.
101 KB
Loading
131 KB
Loading

0 commit comments

Comments
 (0)