Go to the documentation of this file.
36 BT::Duration deadline_ms = std::chrono::milliseconds(100));
49 virtual void halt()
override;
std::atomic< int > tick_count_
virtual ~AsyncActionTest() override
SyncActionTest(const std::string &name)
std::chrono::high_resolution_clock::duration Duration
void setExpectedResult(NodeStatus res)
void setExpectedResult(NodeStatus res)
void setTime(BT::Duration time)
BT::NodeStatus tick() override
Method to be implemented by the user.
std::atomic< NodeStatus > expected_result_
const std::string & name() const
Name of the instance, not the type.
AsyncActionTest(const std::string &name, BT::Duration deadline_ms=std::chrono::milliseconds(100))
The ThreadedAction executes the tick in a different thread.
virtual void halt() override
The SyncActionNode is an ActionNode that explicitly prevents the status RUNNING and doesn't require a...
NodeStatus expected_result_
BT::NodeStatus tick() override
Method to be implemented by the user.