Skip to content

Commit 206d274

Browse files
committed
SLAM実行時のコマンド修正
1 parent 5559284 commit 206d274

File tree

1 file changed

+41
-23
lines changed

1 file changed

+41
-23
lines changed

docs/raspicat/simulator/samples.md

+41-23
Original file line numberDiff line numberDiff line change
@@ -67,32 +67,41 @@ $ roslaunch raspicat_bringup teleop.launch joy:=true
6767
$ roslaunch raspicat_gazebo raspicat_with_iscas_museum.launch rviz:=false
6868

6969
# gmappingの実行
70-
$ roslaunch raspicat_slam raspicat_gmapping.launch joy:=false
71-
72-
# 地図の保存
73-
$ roslaunch raspicat_slam map_save.launch map_file:=map-path
70+
$ roslaunch raspicat_slam raspicat_gmapping.launch
71+
72+
# キーボード操縦用ノードの立ち上げ
73+
$ roslaunch raspicat_bringup teleop.launch joy:=false
74+
75+
# 地図の保存(map_fileへのパスは任意のパスを指定できます)
76+
$ roslaunch raspicat_slam map_save.launch map_file:=$(rospack find raspicat_slam)/config/maps
7477
```
7578
=== "cartographer"
7679
```sh
7780
# シミュレータの起動
7881
$ roslaunch raspicat_gazebo raspicat_with_iscas_museum.launch rviz:=false
7982

8083
# cartographerの実行
81-
$ roslaunch raspicat_slam raspicat_cartographer.launch joy:=false
82-
83-
# 地図の保存
84-
$ roslaunch raspicat_slam map_save.launch map_file:=map-path
84+
$ roslaunch raspicat_slam raspicat_cartographer.launch
85+
86+
# キーボード操縦用ノードの立ち上げ
87+
$ roslaunch raspicat_bringup teleop.launch joy:=false
88+
89+
# 地図の保存(map_fileへのパスは任意のパスを指定できます)
90+
$ roslaunch raspicat_slam map_save.launch map_file:=$(rospack find raspicat_slam)/config/maps
8591
```
8692
=== "slam_toolbox"
8793
```sh
8894
# シミュレータの起動
8995
$ roslaunch raspicat_gazebo raspicat_with_iscas_museum.launch rviz:=false
9096

9197
# slam_toolboxの実行
92-
$ roslaunch raspicat_slam raspicat_slam_toolbox.launch joy:=false
93-
94-
# 地図の保存
95-
$ roslaunch raspicat_slam map_save.launch map_file:=map-path
98+
$ roslaunch raspicat_slam raspicat_slam_toolbox.launch
99+
100+
# キーボード操縦用ノードの立ち上げ
101+
$ roslaunch raspicat_bringup teleop.launch joy:=false
102+
103+
# 地図の保存(map_fileへのパスは任意のパスを指定できます)
104+
$ roslaunch raspicat_slam map_save.launch map_file:=$(rospack find raspicat_slam)/config/maps
96105
```
97106

98107
#### ジョイスティックコントローラで操縦 {: #slam-teleop-joy}
@@ -102,10 +111,13 @@ $ roslaunch raspicat_bringup teleop.launch joy:=true
102111
$ roslaunch raspicat_gazebo raspicat_with_iscas_museum.launch rviz:=false
103112

104113
# gmappingの実行
105-
$ roslaunch raspicat_slam raspicat_gmapping.launch joy:=true
106-
107-
# 地図の保存
108-
$ roslaunch raspicat_slam map_save.launch map_file:=map-path
114+
$ roslaunch raspicat_slam raspicat_gmapping.launch
115+
116+
# ジョイスティック操縦用ノードの立ち上げ
117+
$ roslaunch raspicat_bringup teleop.launch joy:=true
118+
119+
# 地図の保存(map_fileへのパスは任意のパスを指定できます)
120+
$ roslaunch raspicat_slam map_save.launch map_file:=$(rospack find raspicat_slam)/config/maps
109121
```
110122
<video width="100%" controls>
111123
<source src="https://user-images.githubusercontent.com/40545422/166213251-22115ecb-11a2-4caa-95c7-c3b8e85db3ad.mp4" type="video/mp4">
@@ -117,10 +129,13 @@ $ roslaunch raspicat_bringup teleop.launch joy:=true
117129
$ roslaunch raspicat_gazebo raspicat_with_iscas_museum.launch rviz:=false
118130

119131
# cartographerの実行
120-
$ roslaunch raspicat_slam raspicat_cartographer.launch joy:=true
121-
122-
# 地図の保存
123-
$ roslaunch raspicat_slam map_save.launch map_file:=map-path
132+
$ roslaunch raspicat_slam raspicat_cartographer.launch
133+
134+
# ジョイスティック操縦用ノードの立ち上げ
135+
$ roslaunch raspicat_bringup teleop.launch joy:=true
136+
137+
# 地図の保存(map_fileへのパスは任意のパスを指定できます)
138+
$ roslaunch raspicat_slam map_save.launch map_file:=$(rospack find raspicat_slam)/config/maps
124139
```
125140
<video width="100%" controls>
126141
<source src="https://user-images.githubusercontent.com/40545422/166214138-624d3fd0-2bf8-46d7-a722-1602007df086.mp4" type="video/mp4">
@@ -132,10 +147,13 @@ $ roslaunch raspicat_bringup teleop.launch joy:=true
132147
$ roslaunch raspicat_gazebo raspicat_with_iscas_museum.launch rviz:=false
133148

134149
# slam_toolboxの実行
135-
$ roslaunch raspicat_slam raspicat_slam_toolbox.launch joy:=true
150+
$ roslaunch raspicat_slam raspicat_slam_toolbox.launch
151+
152+
# ジョイスティック操縦用ノードの立ち上げ
153+
$ roslaunch raspicat_bringup teleop.launch joy:=true
136154

137-
# 地図の保存
138-
$ roslaunch raspicat_slam map_save.launch map_file:=map-path
155+
# 地図の保存(map_fileへのパスは任意のパスを指定できます)
156+
$ roslaunch raspicat_slam map_save.launch map_file:=$(rospack find raspicat_slam)/config/maps
139157
```
140158
<video width="100%" controls>
141159
<source src="https://user-images.githubusercontent.com/40545422/166214198-38cf95ee-57ce-45bf-82d4-447f93419560.mp4" type="video/mp4">

0 commit comments

Comments
 (0)