costmap_common_params.yaml
obstacle_range: 0.5
raytrace_range: 0.5
footprint: [[-0.15, -0.13], [-0.15, 0.13], [0.15, 0.13], [0.15, -0.13]]
map_topic: /map
subscribe_to_updates: true
global_frame: odom
robot_base_frame: base_link
update_frequency: 30.0
publish_frequency: 30.0
rolling_window: false
plugins:
- {name: static_layer, type: "costmap_2d::StaticLayer"}
- {name: obstacle_layer, type: "costmap_2d::ObstacleLayer"}
- {name: inflation_layer, type: "costmap_2d::InflationLayer"}
static_layer:
map_topic: /map
subscribe_to_updates: false
obstacle_layer:
observation_sources: laser_scan_sensor
laser_scan_sensor: {sensor_frame: laser, data_type: LaserScan, topic: scan, marking: true, clearing: true}
inflation_layer:
inflation_radiu
costMap 没改之前那个包里面的参数
于 2025-03-01 16:40:50 首次发布