We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0897da9 commit e897e66Copy full SHA for e897e66
nav2_behavior_tree/include/nav2_behavior_tree/bt_action_node.hpp
@@ -97,8 +97,9 @@ class BtActionNode : public BT::ActionNodeBase
97
RCLCPP_DEBUG(node_->get_logger(), "Waiting for \"%s\" action server", action_name.c_str());
98
if (!action_client_->wait_for_action_server(wait_for_service_timeout_)) {
99
RCLCPP_ERROR(
100
- node_->get_logger(), "\"%s\" action server not available after waiting for 1 s",
101
- action_name.c_str());
+ node_->get_logger(), "\"%s\" action server not available after waiting for %f s",
+ action_name.c_str(),
102
+ wait_for_service_timeout_.count() / 1000.0);
103
throw std::runtime_error(
104
std::string("Action server ") + action_name +
105
std::string(" not available"));
0 commit comments