BehaviorTree
Core Library to create and execute Behavior Trees
Loading...
Searching...
No Matches
BT::TestNodeConfig Struct Reference
Collaboration diagram for BT::TestNodeConfig:

Public Attributes

NodeStatus return_status = NodeStatus::SUCCESS
 status to return when the action is completed.
 
std::string success_script
 script to execute when complete_func() returns SUCCESS
 
std::string failure_script
 script to execute when complete_func() returns FAILURE
 
std::string post_script
 script to execute when actions is completed
 
std::chrono::milliseconds async_delay = std::chrono::milliseconds(0)
 if async_delay > 0, this action become asynchronous and wait this amount of time
 
std::function< NodeStatus(void)> complete_func
 

Member Data Documentation

◆ complete_func

std::function<NodeStatus(void)> BT::TestNodeConfig::complete_func

Function invoked when the action is completed. If not specified, the node will return [return_status]


The documentation for this struct was generated from the following file: