| 16 | namespace BT |
| 17 | { |
| 18 | FallbackNode::FallbackNode(const std::string& name, bool make_asynch) |
| 19 | : ControlNode::ControlNode(name, {}), current_child_idx_(0), asynch_(make_asynch) |
| 20 | { |
| 21 | if(asynch_) |
| 22 | { |
| 23 | setRegistrationID("AsyncFallback"); |
| 24 | } |
| 25 | else |
| 26 | { |
| 27 | setRegistrationID("Fallback"); |
| 28 | } |
| 29 | } |
| 30 | |
| 31 | NodeStatus FallbackNode::tick() |
| 32 | { |
nothing calls this directly
no outgoing calls
no test coverage detected