global_costmap_params.yaml 1.1 KB

1234567891011121314151617181920212223242526272829
  1. # Description:
  2. # 全局代价地图配置文件,各参数意义如下:
  3. # global_frame: 全局代价地图参考系
  4. # robot_base_frame: 指定机器人的基础参考系
  5. # update_frequency: 指定地图更新频率,数值太大造成CPU负担重
  6. # publish_frequency: 对于静态全局地图来说,不需不断发布
  7. # static_map: 全局地图通常是静态的,因此设置为true
  8. # rolling_window: 全局地图不会在机器人移动时候更新
  9. # transform_tolerance: 指定在tf树中frame直接的转换最大延时,单位秒
  10. # Author: corvin
  11. # History:
  12. # 20180410: init this file.
  13. # 20200927:增加plugins参数,配置静态层和膨胀层.
  14. global_costmap:
  15. global_frame: map
  16. robot_base_frame: base_footprint
  17. update_frequency: 1.0
  18. publish_frequency: 1.0
  19. #static_map: true
  20. rolling_window: false
  21. resolution: 0.05
  22. transform_tolerance: 10.0
  23. plugins:
  24. - {name: static_layer, type: "costmap_2d::StaticLayer"}
  25. - {name: obstacle_layer, type: "costmap_2d::VoxelLayer"}
  26. - {name: inflation_layer, type: "costmap_2d::InflationLayer"}