@@ -67,32 +67,41 @@ $ roslaunch raspicat_bringup teleop.launch joy:=true
67
67
$ roslaunch raspicat_gazebo raspicat_with_iscas_museum.launch rviz:=false
68
68
69
69
# 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
74
77
```
75
78
=== "cartographer"
76
79
```sh
77
80
# シミュレータの起動
78
81
$ roslaunch raspicat_gazebo raspicat_with_iscas_museum.launch rviz:=false
79
82
80
83
# 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
85
91
```
86
92
=== "slam_toolbox"
87
93
```sh
88
94
# シミュレータの起動
89
95
$ roslaunch raspicat_gazebo raspicat_with_iscas_museum.launch rviz:=false
90
96
91
97
# 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
96
105
```
97
106
98
107
#### ジョイスティックコントローラで操縦 {: #slam-teleop-joy}
@@ -102,10 +111,13 @@ $ roslaunch raspicat_bringup teleop.launch joy:=true
102
111
$ roslaunch raspicat_gazebo raspicat_with_iscas_museum.launch rviz:=false
103
112
104
113
# 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
109
121
```
110
122
<video width="100%" controls>
111
123
<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
117
129
$ roslaunch raspicat_gazebo raspicat_with_iscas_museum.launch rviz:=false
118
130
119
131
# 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
124
139
```
125
140
<video width="100%" controls>
126
141
<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
132
147
$ roslaunch raspicat_gazebo raspicat_with_iscas_museum.launch rviz:=false
133
148
134
149
# 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
136
154
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
139
157
```
140
158
<video width="100%" controls>
141
159
<source src="https://user-images.githubusercontent.com/40545422/166214198-38cf95ee-57ce-45bf-82d4-447f93419560.mp4" type="video/mp4">
0 commit comments