Guide local goals around observed obstacles and finish native recovery
This commit is contained in:
@@ -44,7 +44,11 @@ def configuration(inputs, robot):
|
||||
static_layer=dict(plugin='nav2_costmap_2d::StaticLayer', map_topic='/observed_map',
|
||||
map_subscribe_transient_local=True, subscribe_to_updates=False),
|
||||
inflation_layer=dict(plugin='nav2_costmap_2d::InflationLayer',
|
||||
cost_scaling_factor=3.0, inflation_radius=math.hypot(x, y) + 0.15),
|
||||
# A gentle field over the local goal horizon makes observed
|
||||
# obstacles influence the path before the body is beside them.
|
||||
# Full footprint, lethal cells and support gates are unchanged.
|
||||
cost_scaling_factor=1.0 / geometry['width_m'],
|
||||
inflation_radius=max(3.5, math.hypot(x, y) + 0.15)),
|
||||
)
|
||||
# Bound the corner displacement from a full angular bin to half a map
|
||||
# cell. Humble floors the start heading; a coarse primitive lattice can
|
||||
|
||||
Reference in New Issue
Block a user