Skip to content

Commit c669b68

Browse files
committed
Update params and rviz
Signed-off-by: mini-1235 <[email protected]>
1 parent 9431ee4 commit c669b68

File tree

8 files changed

+52
-9
lines changed

8 files changed

+52
-9
lines changed

nav2_bringup/params/nav2_params.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ controller_server:
9696
progress_checker_plugins: ["progress_checker"]
9797
goal_checker_plugins: ["general_goal_checker"] # "precise_goal_checker"
9898
controller_plugins: ["FollowPath"]
99+
path_handler_plugins: ["path_handler"]
99100
use_realtime_priority: false
100101
speed_limit_topic: "speed_limit"
101102

@@ -115,6 +116,14 @@ controller_server:
115116
plugin: "nav2_controller::SimpleGoalChecker"
116117
xy_goal_tolerance: 0.25
117118
yaw_goal_tolerance: 0.25
119+
path_length_tolerance: 1.0
120+
path_handler:
121+
plugin: "nav2_controller::SimplePathHandler"
122+
prune_distance: 2.0
123+
enforce_path_inversion: False
124+
inversion_xy_tolerance: 0.2
125+
inversion_yaw_tolerance: 0.4
126+
interpolate_curvature_after_goal: False
118127
FollowPath:
119128
plugin: "nav2_mppi_controller::MPPIController"
120129
time_steps: 56
@@ -133,8 +142,6 @@ controller_server:
133142
vy_max: 0.5
134143
wz_max: 1.9
135144
iteration_count: 1
136-
prune_distance: 1.7
137-
transform_tolerance: 0.1
138145
temperature: 0.3
139146
gamma: 0.015
140147
motion_model: "DiffDrive"

nav2_bringup/rviz/nav2_default_view.rviz

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -403,8 +403,8 @@ Visualization Manager:
403403
Class: rviz_default_plugins/Path
404404
Color: 0; 12; 255
405405
Enabled: true
406-
Head Diameter: 0.30000001192092896
407-
Head Length: 0.20000000298023224
406+
Head Diameter: 0.019999999552965164
407+
Head Length: 0.019999999552965164
408408
Length: 0.30000001192092896
409409
Line Style: Lines
410410
Line Width: 0.029999999329447746
@@ -413,18 +413,18 @@ Visualization Manager:
413413
X: 0
414414
Y: 0
415415
Z: 0
416-
Pose Color: 255; 85; 255
417-
Pose Style: None
416+
Pose Color: 0; 0; 255
417+
Pose Style: Arrows
418418
Radius: 0.029999999329447746
419-
Shaft Diameter: 0.10000000149011612
420-
Shaft Length: 0.10000000149011612
419+
Shaft Diameter: 0.004999999888241291
420+
Shaft Length: 0.019999999552965164
421421
Topic:
422422
Depth: 5
423423
Durability Policy: Volatile
424424
Filter size: 10
425425
History Policy: Keep Last
426426
Reliability Policy: Reliable
427-
Value: local_plan
427+
Value: transformed_global_plan
428428
Value: true
429429
- Class: rviz_default_plugins/MarkerArray
430430
Enabled: false

nav2_system_tests/src/costmap_filters/keepout_params.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,15 @@ controller_server:
7373
plugin: "nav2_controller::SimpleGoalChecker"
7474
xy_goal_tolerance: 0.25
7575
yaw_goal_tolerance: 0.25
76+
path_length_tolerance: 1.0
7677
stateful: True
7778
path_handler:
7879
plugin: "nav2_controller::SimplePathHandler"
80+
prune_distance: 2.0
81+
enforce_path_inversion: False
82+
inversion_xy_tolerance: 0.2
83+
inversion_yaw_tolerance: 0.4
84+
interpolate_curvature_after_goal: False
7985
# DWB parameters
8086
FollowPath:
8187
plugin: "dwb_core::DWBLocalPlanner"

nav2_system_tests/src/costmap_filters/speed_global_params.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,15 @@ controller_server:
7474
plugin: "nav2_controller::SimpleGoalChecker"
7575
xy_goal_tolerance: 0.25
7676
yaw_goal_tolerance: 0.25
77+
path_length_tolerance: 1.0
7778
stateful: True
7879
path_handler:
7980
plugin: "nav2_controller::SimplePathHandler"
81+
prune_distance: 2.0
82+
enforce_path_inversion: False
83+
inversion_xy_tolerance: 0.2
84+
inversion_yaw_tolerance: 0.4
85+
interpolate_curvature_after_goal: False
8086
# DWB parameters
8187
FollowPath:
8288
plugin: "dwb_core::DWBLocalPlanner"

nav2_system_tests/src/costmap_filters/speed_local_params.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,15 @@ controller_server:
7474
plugin: "nav2_controller::SimpleGoalChecker"
7575
xy_goal_tolerance: 0.25
7676
yaw_goal_tolerance: 0.25
77+
path_length_tolerance: 1.0
7778
stateful: True
7879
path_handler:
7980
plugin: "nav2_controller::SimplePathHandler"
81+
prune_distance: 2.0
82+
enforce_path_inversion: False
83+
inversion_xy_tolerance: 0.2
84+
inversion_yaw_tolerance: 0.4
85+
interpolate_curvature_after_goal: False
8086
# DWB parameters
8187
FollowPath:
8288
plugin: "dwb_core::DWBLocalPlanner"

nav2_system_tests/src/error_codes/error_code_param.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,14 @@ controller_server:
3939
plugin: "nav2_controller::SimpleGoalChecker"
4040
xy_goal_tolerance: 0.25
4141
yaw_goal_tolerance: 0.25
42+
path_length_tolerance: 1.0
4243
path_handler:
4344
plugin: "nav2_controller::SimplePathHandler"
45+
prune_distance: 2.0
46+
enforce_path_inversion: False
47+
inversion_xy_tolerance: 0.2
48+
inversion_yaw_tolerance: 0.4
49+
interpolate_curvature_after_goal: False
4450
# DWB parameters
4551
FollowPath:
4652
plugin: "dwb_core::DWBLocalPlanner"

nav2_system_tests/src/gps_navigation/nav2_no_map_params.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,14 @@ controller_server:
5353
plugin: "nav2_controller::SimpleGoalChecker"
5454
xy_goal_tolerance: 0.25
5555
yaw_goal_tolerance: 0.25
56+
path_length_tolerance: 1.0
5657
path_handler:
5758
plugin: "nav2_controller::SimplePathHandler"
59+
prune_distance: 2.0
60+
enforce_path_inversion: False
61+
inversion_xy_tolerance: 0.2
62+
inversion_yaw_tolerance: 0.4
63+
interpolate_curvature_after_goal: False
5864
# MPPI parameters
5965
FollowPath:
6066
plugin: "nav2_mppi_controller::MPPIController"

nav2_system_tests/src/system/nav2_system_params.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,14 @@ controller_server:
9797
plugin: "nav2_controller::SimpleGoalChecker"
9898
xy_goal_tolerance: 0.25
9999
yaw_goal_tolerance: 0.25
100+
path_length_tolerance: 1.0
100101
path_handler:
101102
plugin: "nav2_controller::SimplePathHandler"
103+
prune_distance: 2.0
104+
enforce_path_inversion: False
105+
inversion_xy_tolerance: 0.2
106+
inversion_yaw_tolerance: 0.4
107+
interpolate_curvature_after_goal: False
102108
# DWB parameters
103109
FollowPath:
104110
plugin: "dwb_core::DWBLocalPlanner"

0 commit comments

Comments
 (0)