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>
Signed-off-by: Christoph Froehlich <christoph.froehlich@ait.ac.at>
  • Loading branch information
kaichie authored and christophfroehlich committed Jun 8, 2024
1 parent f72dee0 commit 5565efb
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 5565efb

Please sign in to comment.