Skip to content

Commit 83b8274

Browse files
committed
update README
1 parent 532d98a commit 83b8274

File tree

1 file changed

+16
-18
lines changed

1 file changed

+16
-18
lines changed

README.md

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -65,23 +65,13 @@ instructions. -->
6565

6666
### Preliminaries
6767

68+
#### ROS2
6869
If you haven't already [installed ROS2](https://docs.ros.org/en/galactic/Installation/Ubuntu-Install-Debians.html) on your PC, you need to add the ROS2 apt
6970
repository. This step is necessary for either binary or source install.
7071

71-
```
72-
sudo apt update && sudo apt install curl gnupg2 lsb-release
73-
sudo curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg
74-
sudo echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] http://packages.ros.org/ros2/ubuntu $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/ros2.list > /dev/null
75-
```
76-
77-
Install ROS2 Binary
78-
```
79-
sudo apt update
80-
sudo apt install ros-galactic-desktop
81-
sudo apt-get install python3-vcstool
82-
```
72+
<!-- Package not released yet!
8373
84-
<!-- ### Binary install
74+
### Binary install
8575
8676
For a binary install, it suffices to run this command:
8777
@@ -90,7 +80,9 @@ sudo apt install ros-noetic-mir-robot
9080
```
9181
9282
See the tables at the end of this README for a list of ROS distros for which
93-
binary packages are available. -->
83+
binary packages are available.
84+
85+
-->
9486

9587
### Source install
9688

@@ -138,18 +130,21 @@ Gazebo demo (existing map)
138130
### Option 1: Launching the modules separately
139131

140132
```bash
141-
### gazebo:
133+
### gazebo
142134
ros2 launch mir_gazebo mir_gazebo_launch.py world:=maze
143135

144136
### localization (existing map)
145137
ros2 launch mir_navigation amcl.py use_sim_time:=true map:=$(ros2 pkg prefix mir_navigation)/share/mir_navigation/maps/maze.yaml
138+
139+
### navigation
140+
ros2 launch mir_navigation navigation.py use_sim_time:=true
146141
```
147142

148143
### Option 2: Use combined launch file
149144

150145
```bash
151-
### combined launch file:
152-
ros2 launch mir_gazebo mir_gazebo_launch.py world:=maze
146+
### combined launch file
147+
ros2 launch mir_navigation mir_nav_sim_launch.py world:=maze
153148

154149
### (opt) Show possible launch arguments:
155150
ros2 launch mir_gazebo mir_gazebo_launch.py --show-args
@@ -178,14 +173,17 @@ rviz -d $(rospack find mir_navigation)/rviz/navigation.rviz
178173
gui:=false
179174

180175

176+
Initialize the position with "2D Pose Estimate". You should see sensor inputs and costmap by now.
177+
Now, you can use the "2D Goal Pose" tool in RViz to set a navigation goal for move_base
178+
181179
Gazebo demo (mapping)
182180
---------------------
183181

184182
### Option 1: Launching the modules separately
185183

186184
```bash
187185
### gazebo:
188-
ros2 launch mir_gazebo mir_gazebo_launch.py
186+
ros2 launch mir_gazebo mir_gazebo_launch.py world:=maze
189187

190188
### mapping (slam_toolbox)
191189
ros2 launch mir_navigation mapping.py use_sim_time:=true slam_params_file:=$(ros2 pkg prefix mir_navigation)/share/mir_navigation/config/mir_mapping_async_sim.yaml

0 commit comments

Comments
 (0)