25namespace client_behaviors
36 auto starttime =
getNode()->now();
40 RCLCPP_INFO(
getLogger(),
"[CbWaitActionServer] waiting action server..");
41 found = client_base->wait_for_action_server(std::chrono::milliseconds(1000));
46 RCLCPP_INFO(
getLogger(),
"[CbWaitActionServer] action server already available");
51 RCLCPP_INFO(
getLogger(),
"[CbWaitActionServer] action server not found, timeout");
57 RCLCPP_INFO(
getLogger(),
"[CbWaitActionServer] there is no action client in this orthogonal");
virtual rclcpp::Logger getLogger() const
virtual rclcpp::Node::SharedPtr getNode() const
bool isShutdownRequested()
onEntry is executed in a new thread. However the current state cannot be left until the onEntry threa...
virtual std::shared_ptr< rclcpp_action::ClientBase > getClientBase()=0
ISmaccActionClient * client_
virtual ~CbWaitActionServer()
std::chrono::milliseconds timeout_
CbWaitActionServer(std::chrono::milliseconds timeout)