Skip to content

Commit

Permalink
Fix navigation_simple_commander.md fleet path
Browse files Browse the repository at this point in the history
  • Loading branch information
hello-fazil authored Sep 3, 2024
1 parent 8f80a37 commit 4bb3427
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ros2/navigation_simple_commander.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/<map_name>.yaml
ros2 launch stretch_nav2 navigation.launch.py map:=${HELLO_FLEET_PATH}/maps/<map_name>.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).
Expand All @@ -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/<map_name>.yaml
ros2 launch stretch_nav2 demo_security.launch.py map:=${HELLO_FLEET_PATH}/maps/<map_name>.yaml
```

<p align="center">
Expand Down

0 comments on commit 4bb3427

Please sign in to comment.