Separate Nav2 body collision from ground search costs
This commit is contained in:
@@ -167,4 +167,9 @@ def observed_configuration(inputs, robot, origin_count):
|
||||
costmap.update(rolling_window=True, width=16, height=16,
|
||||
plugins=['obstacle_layer', 'inflation_layer'],
|
||||
obstacle_layer=copy.deepcopy(layer))
|
||||
# Global path search retains forbidden/unsafe ground hints. Local DWB
|
||||
# and native behaviors use the full-body physical collision domain;
|
||||
# support and surface permission remain hard command-admission gates.
|
||||
if name == 'global_costmap':
|
||||
costmap['obstacle_layer']['hazards']['topic'] = '/observed_search_hazards'
|
||||
return config
|
||||
|
||||
Reference in New Issue
Block a user