From 4bb34277b70111e92946721e1a0d452092ade226 Mon Sep 17 00:00:00 2001 From: Mohamed Fazil <97637212+hello-fazil@users.noreply.github.com> Date: Tue, 3 Sep 2024 12:53:40 -0700 Subject: [PATCH] Fix navigation_simple_commander.md fleet path --- ros2/navigation_simple_commander.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ros2/navigation_simple_commander.md b/ros2/navigation_simple_commander.md index f8f3933..4f09d41 100644 --- a/ros2/navigation_simple_commander.md +++ b/ros2/navigation_simple_commander.md @@ -21,7 +21,7 @@ Let's set the patrol route up before you can execute this demo in your map. This First, execute the following command while passing the correct map YAML. Then, press the 'Startup' button: ```{.bash .shell-prompt} -ros2 launch stretch_nav2 navigation.launch.py map:=${HELLO_ROBOT_FLEET}/maps/.yaml +ros2 launch stretch_nav2 navigation.launch.py map:=${HELLO_FLEET_PATH}/maps/.yaml ``` Since we expect the first point in the patrol route to be at the origin of the map, the first coordinates should be (0.0, 0.0). Next, to define the route, the easiest way to define the waypoints in the `security_route` array is by setting the robot at random locations in the map using the '2D Pose Estimate' button in RViz as shown below. For each location, note the x, and y coordinates in the position field of the base_footprint frame and add it to the `security_route` array in [simple_commander_demo.py](https://github.com/hello-robot/stretch_ros2/blob/humble/stretch_nav2/stretch_nav2/simple_commander_demo.py#L30). @@ -42,7 +42,7 @@ Go ahead and execute the following command to run the demo and visualize the res Terminal 1: ```{.bash .shell-prompt} -ros2 launch stretch_nav2 demo_security.launch.py map:=${HELLO_ROBOT_FLEET}/maps/.yaml +ros2 launch stretch_nav2 demo_security.launch.py map:=${HELLO_FLEET_PATH}/maps/.yaml ```