Skip to content

Commit

Permalink
fix missing param declare (ros-navigation#4203)
Browse files Browse the repository at this point in the history
Signed-off-by: nelson <[email protected]>
  • Loading branch information
kaichie authored and ajtudela committed Apr 19, 2024
1 parent 828a4e5 commit c14c418
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ BtActionServer<ActionT>::BtActionServer(
if (!node->has_parameter("action_server_result_timeout")) {
node->declare_parameter("action_server_result_timeout", 900.0);
}
if (!node->has_parameter("wait_for_service_timeout")) {
node->declare_parameter("wait_for_service_timeout", 1000);
}

std::vector<std::string> error_code_names = {
"follow_path_error_code",
Expand Down

0 comments on commit c14c418

Please sign in to comment.