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 christophfroehlich committed Jun 8, 2024
1 parent d75704f commit 99843e6
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ BtActionServer<ActionT>::BtActionServer(
if (!node->has_parameter("default_server_timeout")) {
node->declare_parameter("default_server_timeout", 20);
}
if (!node->has_parameter("wait_for_service_timeout")) {
node->declare_parameter("wait_for_service_timeout", 1000);
}
}

template<class ActionT>
Expand Down

0 comments on commit 99843e6

Please sign in to comment.