example_params.yaml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. global_frame: map
  2. robot_base_frame: base_link
  3. update_frequency: 20.0
  4. publish_frequency: 20.0
  5. # 如果要发布体素贴图,请设置
  6. publish_voxel_map: false
  7. # 如果要从静态映射初始化costmap,请设置为true
  8. static_map: true
  9. #begin - COMMENT these lines if you set static_map to true
  10. # rolling_window: true
  11. # width: 6.0
  12. # height: 6.0
  13. # resolution: 0.025
  14. #end - COMMENT these lines if you set static_map to true
  15. #START VOXEL STUFF 体素地图的相关参数
  16. map_type: voxel
  17. origin_z: 0.0
  18. z_resolution: 0.2
  19. z_voxels: 10
  20. unknown_threshold: 10
  21. mark_threshold: 0
  22. #END VOXEL STUFF
  23. transform_tolerance: 0.3
  24. obstacle_range: 2.5
  25. max_obstacle_height: 2.0
  26. raytrace_range: 3.0
  27. footprint: [[-0.325, -0.325], [-0.325, 0.325], [0.325, 0.325], [0.46, 0.0], [0.325, -0.325]]
  28. #robot_radius: 0.46
  29. footprint_padding: 0.01
  30. inflation_radius: 0.01
  31. cost_scaling_factor: 10.0
  32. lethal_cost_threshold: 100
  33. # observation_sources: base_scan # 原来是这个
  34. observation_sources: scan_pointcloud
  35. base_scan: {data_type: LaserScan, expected_update_rate: 0.4,
  36. observation_persistence: 0.0, marking: true, clearing: true, max_obstacle_height: 0.4, min_obstacle_height: 0.08}
  37. # clearing: true