Skip to content

Commit

Permalink
fix missing param declare (#4203)
Browse files Browse the repository at this point in the history
Signed-off-by: nelson <kaichie.lee@gmail.com>
  • Loading branch information
kaichie authored Mar 21, 2024
1 parent 12292d1 commit 1ef462e
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 1ef462e

Please sign in to comment.