Skip to content

Commit

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

Please sign in to comment.