feat(costmap_2d): background reference graph, shared keys under root:
- ReferenceGraph / ReferenceGraphWorker: Voronoi ridges and one-way lanes are computed on a low-priority thread when the map changes (reference_graph_* keys, off with rolling_window), with unit tests. - Shared costmap keys can live in a root: map or flat at the top of the YAML; costmap_common_root_test covers both layouts. - Static and directional layers report map changes to the layered costmap.
This commit is contained in:
35
test/data/costmap_common_root/rooted/params.yaml
Normal file
35
test/data/costmap_common_root/rooted/params.yaml
Normal file
@@ -0,0 +1,35 @@
|
||||
root:
|
||||
robot_base_frame: base_link
|
||||
transform_tolerance: 1.0
|
||||
footprint_padding: 0.0
|
||||
forbidden:
|
||||
map_topic: forbidden
|
||||
use_maximum: true
|
||||
preferred:
|
||||
map_topic: preferred
|
||||
obstacles:
|
||||
z_voxels: 8
|
||||
z_resolution: 0.15
|
||||
observation_sources: f_scan b_scan
|
||||
f_scan: {topic: /f_scan, data_type: LaserScan, marking: true}
|
||||
b_scan: {topic: /b_scan, data_type: LaserScan, clearing: true}
|
||||
bad_obstacles:
|
||||
z_voxels: invalid_integer
|
||||
robot_base_frame: ignored_frame
|
||||
transform_tolerance: 9.0
|
||||
footprint_padding: 9.0
|
||||
obstacles: {z_voxels: 99}
|
||||
global_costmap:
|
||||
obstacles: {enabled: false, z_voxels: 10, z_resolution: 0.2}
|
||||
preferred: {}
|
||||
local_costmap:
|
||||
obstacles: {enabled: true}
|
||||
forbidden: {}
|
||||
override_costmap:
|
||||
obstacles:
|
||||
observation_sources: b_scan
|
||||
b_scan: {topic: /local_override}
|
||||
invalid_costmap:
|
||||
bad_obstacles: {}
|
||||
protected_costmap:
|
||||
bad_obstacles: {z_voxels: 12}
|
||||
Reference in New Issue
Block a user