Skip to content

Commit 59fb190

Browse files
Added nav2 support (#12)
* Removed outdated navigation configuration files. Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com> * Disabled shadows to facilitate faster simulation times. Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com> * Migrated to skid-steer drive. Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com> * Adjusted gazebo launch to include no sensors upon launch. Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com> * Updated nav2 launch to use the latest jazzy version. Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com> * Updated documentation to update mapping and navigation instructions. Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com> --------- Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com>
1 parent a316a60 commit 59fb190

28 files changed

+1000
-1516
lines changed

README.md

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,7 @@ Tutorial
7676

7777
### 3. Mapping
7878

79-
* Launch the robot in Gazebo:
80-
81-
```bash
82-
ros2 launch atreus gazebo.launch.py
83-
```
84-
85-
* Open another terminal and run the mapping node:
79+
* Launch the robot in Gazebo with the SLAM Toolbox:
8680

8781
```bash
8882
ros2 launch atreus slam_toolbox.launch.py
@@ -109,5 +103,21 @@ Tutorial
109103

110104
This will save the map to the current directory.
111105

106+
### 4. Navigation
107+
108+
* Launch the robot in Gazebo with the Navigation Stack:
109+
110+
```bash
111+
ros2 launch atreus nav2.launch.py
112+
```
113+
114+
* Set the initial pose of the robot in RViz by clicking on the `2D Pose Estimate` button:
115+
116+
https://github.com/user-attachments/assets/069b1ef0-fe6b-44de-9619-21d33b4e03c2
117+
118+
* Use the `2D Nav Goal` button in RViz to set a goal for the robot to navigate to:
119+
120+
https://github.com/user-attachments/assets/2a6be428-39a5-4ea4-aa1c-65f8049b58eb
121+
112122

113123
###### 💾 EOF

config/mapping/map_saver/map_saver_params.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

config/navigation/amcl/amcl_params.yaml

Lines changed: 0 additions & 51 deletions
This file was deleted.

config/navigation/behavior_server/behavior_server_params.yaml

Lines changed: 0 additions & 24 deletions
This file was deleted.

config/navigation/bt_navigator/bt_navigator_params.yaml

Lines changed: 0 additions & 68 deletions
This file was deleted.

config/navigation/controller_server/dwb/dwb_controller_server_params.yaml

Lines changed: 0 additions & 140 deletions
This file was deleted.

0 commit comments

Comments
 (0)