Skip to content

Instantly share code, notes, and snippets.

@argahsuknesib
Created July 26, 2021 12:49
Show Gist options
  • Save argahsuknesib/943efb352a07a0ab63706c284677c2f2 to your computer and use it in GitHub Desktop.
Save argahsuknesib/943efb352a07a0ab63706c284677c2f2 to your computer and use it in GitHub Desktop.
Costmap Common Params
max_obstacle_height: 0.60 # assume something like an arm is mounted on top of the robot
# (http://wiki.ros.org/costmap_2d/hydro/inflation)
robot_radius: 0.17 # distance a circular robot should be clear of the obstacle (kobuki: 0.18)
# footprint: [[x0, y0], [x1, y1], ... [xn, yn]] # if the robot is not circular
obstacle_layer:
enabled: true
max_obstacle_height: 0.6
origin_z: 0.0
z_resolution: 0.2
z_voxels: 10
unknown_threshold: 15
mark_threshold: 0
combination_method: 1
track_unknown_space: true #true needed for disabling global path planning through unknown space
obstacle_range: 5.5
raytrace_range: 6.0
origin_z: 0.0
#z_resolution: 0.2
#z_voxels: 2
publish_voxel_map: false
observation_sources: scan #bump
scan: {data_type: LaserScan, topic: kobuki/laser/scan, marking: true, clearing: true, inf_is_valid: true}
#bump:
#data_type: PointCloud2
#topic: mobile_base/sensors/bumper_pointcloud
#marking: true
#clearing: false
#min_obstacle_height: 0.0
#max_obstacle_height: 0.15
# for debugging only, let's you see the entire voxel grid
#cost_scaling_factor and inflation_radius were now moved to the inflation_layer ns
inflation_layer:
enabled: true
cost_scaling_factor: 5.0 # exponential rate at which the obstacle cost drops off (default: 10)
inflation_radius: 0.4 # max. distance from an obstacle at which costs are incurred for planning paths.
static_layer:
enabled: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment