Skip to content

Commit ff09f30

Browse files
authored
Expose action server result timeout as a parameter in bt navigator servers (ros-navigation#3787)
* Expose action server default timeout in bt navigator servers * typo * duplicated comment * Expose result timeout in other actions * Proper timeout in bt node * Change default timeouts and remove comments * Remove comment in params file * uncrustify controller server
1 parent 29d00f3 commit ff09f30

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

nav2_bringup/params/nav2_multirobot_params_1.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ bt_navigator:
4545
odom_topic: /odom
4646
bt_loop_duration: 10
4747
default_server_timeout: 20
48+
action_server_result_timeout: 900.0
4849
navigators: ["navigate_to_pose", "navigate_through_poses"]
4950
navigate_to_pose:
5051
plugin: "nav2_bt_navigator/NavigateToPoseNavigator"
@@ -277,6 +278,7 @@ waypoint_follower:
277278
ros__parameters:
278279
loop_rate: 20
279280
stop_on_failure: false
281+
action_server_result_timeout: 900.0
280282
waypoint_task_executor_plugin: "wait_at_waypoint"
281283
wait_at_waypoint:
282284
plugin: "nav2_waypoint_follower::WaitAtWaypoint"

nav2_bringup/params/nav2_multirobot_params_2.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ bt_navigator:
4545
odom_topic: /odom
4646
bt_loop_duration: 10
4747
default_server_timeout: 20
48+
action_server_result_timeout: 900.0
4849
navigators: ["navigate_to_pose", "navigate_through_poses"]
4950
navigate_to_pose:
5051
plugin: "nav2_bt_navigator/NavigateToPoseNavigator"
@@ -276,6 +277,7 @@ waypoint_follower:
276277
ros__parameters:
277278
loop_rate: 20
278279
stop_on_failure: false
280+
action_server_result_timeout: 900.0
279281
waypoint_task_executor_plugin: "wait_at_waypoint"
280282
wait_at_waypoint:
281283
plugin: "nav2_waypoint_follower::WaitAtWaypoint"

nav2_bringup/params/nav2_multirobot_params_all.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ bt_navigator:
4545
odom_topic: /odom
4646
bt_loop_duration: 10
4747
default_server_timeout: 20
48+
action_server_result_timeout: 900.0
4849
navigators: ["navigate_to_pose", "navigate_through_poses"]
4950
navigate_to_pose:
5051
plugin: "nav2_bt_navigator/NavigateToPoseNavigator"
@@ -324,6 +325,7 @@ waypoint_follower:
324325
ros__parameters:
325326
loop_rate: 20
326327
stop_on_failure: false
328+
action_server_result_timeout: 900.0
327329
waypoint_task_executor_plugin: "wait_at_waypoint"
328330
wait_at_waypoint:
329331
plugin: "nav2_waypoint_follower::WaitAtWaypoint"

nav2_bringup/params/nav2_params.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ bt_navigator:
4545
odom_topic: /odom
4646
bt_loop_duration: 10
4747
default_server_timeout: 20
48+
action_server_result_timeout: 900.0
4849
navigators: ["navigate_to_pose", "navigate_through_poses"]
4950
navigate_to_pose:
5051
plugin: "nav2_bt_navigator/NavigateToPoseNavigator"
@@ -320,6 +321,7 @@ waypoint_follower:
320321
ros__parameters:
321322
loop_rate: 20
322323
stop_on_failure: false
324+
action_server_result_timeout: 900.0
323325
waypoint_task_executor_plugin: "wait_at_waypoint"
324326
wait_at_waypoint:
325327
plugin: "nav2_waypoint_follower::WaitAtWaypoint"

0 commit comments

Comments
 (0)