navigation/global_costmap: Include laser sensor, overwrite static map
authorErik Andresen <erik@vontaene.de>
Sat, 27 Oct 2018 09:19:13 +0000 (11:19 +0200)
committerErik Andresen <erik@vontaene.de>
Sat, 27 Oct 2018 09:19:13 +0000 (11:19 +0200)
config/costmap_common_params.yaml
config/global_costmap_params.yaml

index 5ff675a..9c93210 100644 (file)
@@ -5,6 +5,7 @@ obstacle_layer:
   obstacle_range: 2.5
   raytrace_range: 3.0
   laser_scan_sensor: {data_type: LaserScan, topic: scan, marking: true, clearing: true}
+  combination_method: 0 # overwrite
 
 inflation_layer:
   inflation_radius: 0.20
index eb3e89c..04e296d 100644 (file)
@@ -2,8 +2,10 @@ global_costmap:
   global_frame: /map
   robot_base_frame: base_footprint
   static_map: true
+  publish_frequency: 1.0
   plugins:
   - {name: static_layer, type: 'costmap_2d::StaticLayer'}
+  - {name: obstacle_layer, type: 'costmap_2d::ObstacleLayer'}
   - {name: inflation_layer, type: 'costmap_2d::InflationLayer'}
 
   inflation_layer: