Skip to content

Commit 9e97ae4

Browse files
KuraZuzuYusukeKato
andauthored
ドキュメント内のコマンドを修正 (#83)
* Fixed commands * Update README.en.md Co-authored-by: YusukeKato <YusukeKato@users.noreply.github.com> * Update README.md Co-authored-by: YusukeKato <YusukeKato@users.noreply.github.com> --------- Co-authored-by: YusukeKato <YusukeKato@users.noreply.github.com>
1 parent 1d8709e commit 9e97ae4

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

README.en.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,16 @@ Download this ROS 2 package.
3232

3333
```sh
3434
cd ~/ros2_ws/src
35-
git clone -b jazzy https://github.com/rt-net/raspimouse_sim.git
35+
git clone -b $ROS_DISTRO https://github.com/rt-net/raspimouse_sim.git
3636
```
3737

3838
Download the dependent ROS 2 packages.
3939

4040
```sh
4141
cd ~/ros2_ws/src
42-
git clone https://github.com/rt-net/raspimouse_ros2_examples.git
43-
git clone -b jazzy https://github.com/rt-net/raspimouse_description.git
42+
git clone -b $ROS_DISTRO https://github.com/rt-net/raspimouse_ros2_examples.git
43+
git clone -b $ROS_DISTRO https://github.com/rt-net/raspimouse_slam_navigation_ros2.git
44+
git clone -b $ROS_DISTRO https://github.com/rt-net/raspimouse_description.git
4445
rosdep install -r -y -i --from-paths raspimouse*
4546
```
4647

@@ -166,7 +167,7 @@ The lidar option supports `urg`, `lds`, and `rplidar`.
166167

167168
Terminal 2:
168169
```sh
169-
ros2 launch raspimouse_navigation pc_navigation.launch.py map:=$HOME/MAP_NAME.yaml
170+
ros2 launch raspimouse_navigation pc_navigation.launch.py use_sim_time:=true map:=$HOME/MAP_NAME.yaml
170171
```
171172

172173
![](https://rt-net.github.io/images/raspberry-pi-mouse/raspimouse_sim_navigation_short.gif)

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,16 @@ Gazebo上でシミュレートできるRaspberry Pi MouseのROS 2パッケージ
3131

3232
```sh
3333
cd ~/ros2_ws/src
34-
git clone -b jazzy https://github.com/rt-net/raspimouse_sim.git
34+
git clone -b $ROS_DISTRO https://github.com/rt-net/raspimouse_sim.git
3535
```
3636

3737
依存しているROS 2パッケージをインストールします。
3838

3939
```sh
4040
cd ~/ros2_ws/src
41-
git clone https://github.com/rt-net/raspimouse_ros2_examples.git
42-
git clone https://github.com/rt-net/raspimouse_slam_navigation_ros2.git
43-
git clone -b jazzy https://github.com/rt-net/raspimouse_description.git
41+
git clone -b $ROS_DISTRO https://github.com/rt-net/raspimouse_ros2_examples.git
42+
git clone -b $ROS_DISTRO https://github.com/rt-net/raspimouse_slam_navigation_ros2.git
43+
git clone -b $ROS_DISTRO https://github.com/rt-net/raspimouse_description.git
4444
rosdep install -r -y -i --from-paths raspimouse*
4545
```
4646

@@ -164,7 +164,7 @@ ros2 launch raspimouse_gazebo raspimouse_with_lakehouse.launch.py lidar:=urg
164164

165165
端末2で次のコマンドを実行すると、Navigationが実行されます。
166166
```sh
167-
ros2 launch raspimouse_navigation pc_navigation.launch.py map:=$HOME/MAP_NAME.yaml
167+
ros2 launch raspimouse_navigation pc_navigation.launch.py use_sim_time:=true map:=$HOME/MAP_NAME.yaml
168168
```
169169
引数`map`にはSLAMで作成した地図ファイルのパスを指定してください。
170170

0 commit comments

Comments
 (0)