37 std::this_thread::sleep_for(std::chrono::milliseconds(100));
SyncActionTest(const std::string &name)
const std::string & name() const
AsyncActionTest(const std::string &name)
The AsyncActionNode a different thread where the action will be executed.
void setBoolean(bool boolean_value)
virtual void halt() override
The method used to interrupt the execution of a RUNNING node.
The SyncActionNode is an helper derived class that explicitly forbids the status RUNNING and doesn't ...
BT::NodeStatus tick() override
Method to be implemented by the user.
std::atomic_bool stop_loop_
void setBoolean(bool boolean_value)
BT::NodeStatus tick() override
Method to be implemented by the user.
void setStatus(NodeStatus new_status)