Skip to content

Commit 31e3928

Browse files
AlexeyMerzlyakovSteveMacenski
authored andcommitted
Fix flaky costmap filters tests: (#3754)
1. Set forward_prune_distance to 1.0 to robot not getting lost 2. Correct map name for costmap filter tests
1 parent 9483a0a commit 31e3928

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

nav2_system_tests/src/costmap_filters/keepout_params.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ controller_server:
119119
plugin: "dwb_core::DWBLocalPlanner"
120120
debug_trajectory_details: True
121121
prune_distance: 1.0
122+
forward_prune_distance: 1.0
122123
min_vel_x: 0.0
123124
min_vel_y: 0.0
124125
max_vel_x: 0.26

nav2_system_tests/src/costmap_filters/test_keepout_launch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def generate_launch_description():
4848
param_substitutions = {
4949
'planner_server.ros__parameters.GridBased.use_astar': os.getenv('ASTAR'),
5050
'filter_mask_server.ros__parameters.yaml_filename': filter_mask_file,
51-
'yaml_filename': filter_mask_file}
51+
'map_server.ros__parameters.yaml_filename': map_yaml_file}
5252
configured_params = RewrittenYaml(
5353
source_file=params_file,
5454
root_key='',

nav2_system_tests/src/costmap_filters/test_speed_launch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def generate_launch_description():
4747
param_substitutions = {
4848
'planner_server.ros__parameters.GridBased.use_astar': os.getenv('ASTAR'),
4949
'filter_mask_server.ros__parameters.yaml_filename': filter_mask_file,
50-
'yaml_filename': filter_mask_file}
50+
'map_server.ros__parameters.yaml_filename': map_yaml_file}
5151
configured_params = RewrittenYaml(
5252
source_file=params_file,
5353
root_key='',

0 commit comments

Comments
 (0)