@@ -164,20 +164,10 @@ local_costmap:
164
164
height : 3
165
165
resolution : 0.05
166
166
robot_radius : 0.22
167
- plugins : ["obstacle_layer", " voxel_layer", "inflation_layer"]
167
+ plugins : ["voxel_layer", "inflation_layer"]
168
168
inflation_layer :
169
169
plugin : " nav2_costmap_2d::InflationLayer"
170
170
cost_scaling_factor : 3.0
171
- obstacle_layer :
172
- plugin : " nav2_costmap_2d::ObstacleLayer"
173
- enabled : True
174
- observation_sources : scan
175
- scan :
176
- topic : /scan
177
- max_obstacle_height : 2.0
178
- clearing : True
179
- marking : True
180
- data_type : " LaserScan"
181
171
voxel_layer :
182
172
plugin : " nav2_costmap_2d::VoxelLayer"
183
173
enabled : True
@@ -187,13 +177,13 @@ local_costmap:
187
177
z_voxels : 16
188
178
max_obstacle_height : 2.0
189
179
mark_threshold : 0
190
- observation_sources : pointcloud
191
- pointcloud :
192
- topic : /intel_realsense_r200_depth/points
180
+ observation_sources : scan
181
+ scan :
182
+ topic : /scan
193
183
max_obstacle_height : 2.0
194
184
clearing : True
195
185
marking : True
196
- data_type : " PointCloud2 "
186
+ data_type : " LaserScan "
197
187
static_layer :
198
188
map_subscribe_transient_local : True
199
189
always_send_full_costmap : True
@@ -214,7 +204,7 @@ global_costmap:
214
204
use_sim_time : True
215
205
robot_radius : 0.22
216
206
resolution : 0.05
217
- plugins : ["static_layer", "obstacle_layer", "voxel_layer", " inflation_layer"]
207
+ plugins : ["static_layer", "obstacle_layer", "inflation_layer"]
218
208
obstacle_layer :
219
209
plugin : " nav2_costmap_2d::ObstacleLayer"
220
210
enabled : True
@@ -225,22 +215,6 @@ global_costmap:
225
215
clearing : True
226
216
marking : True
227
217
data_type : " LaserScan"
228
- voxel_layer :
229
- plugin : " nav2_costmap_2d::VoxelLayer"
230
- enabled : True
231
- publish_voxel_map : True
232
- origin_z : 0.0
233
- z_resolution : 0.05
234
- z_voxels : 16
235
- max_obstacle_height : 2.0
236
- mark_threshold : 0
237
- observation_sources : pointcloud
238
- pointcloud :
239
- topic : /intel_realsense_r200_depth/points
240
- max_obstacle_height : 2.0
241
- clearing : True
242
- marking : True
243
- data_type : " PointCloud2"
244
218
static_layer :
245
219
plugin : " nav2_costmap_2d::StaticLayer"
246
220
map_subscribe_transient_local : True
0 commit comments