Skip to content

Commit

Permalink
Update nav2_demo readme after introducing space_nav2_bringup package (s…
Browse files Browse the repository at this point in the history
  • Loading branch information
xfiderek committed Oct 2, 2024
1 parent a83f961 commit 5c8467d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nav2_demo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,23 @@ Start the space_nav2 container and launch the navigation2 nodes:

```
./run.sh
ros2 launch nav2_bringup navigation_launch.py use_sim_time:=True params_file:=nav2_params.yaml
ros2 launch space_nav2_bringup navigation_launch.py use_sim_time:=True params_file:=nav2_params.yaml
```

## Terminal 3 - launch localization with map

```
docker exec -it osrf_space_nav2_demo bash
source install/setup.bash
ros2 launch nav2_bringup localization_launch.py use_sim_time:=True map:=mars_map.yaml
ros2 launch space_nav2_bringup localization_launch.py use_sim_time:=True map:=mars_map.yaml params_file:=nav2_params.yaml
```

## Terminal 4 - launch Rviz

Exec into the same space_nav2 container and launch Rviz2:

```
docker exec -it -e DISPLAY=:0 osrf_space_nav2_demo bash
docker exec -it -e DISPLAY osrf_space_nav2_demo bash
source /opt/ros/humble/setup.bash
source install/setup.bash
ros2 launch nav2_bringup rviz_launch.py
Expand Down

0 comments on commit 5c8467d

Please sign in to comment.