Repository navigation
Replies: 1 comment
|
No, it does not have to be reactive. After a failure, a plain From case NodeStatus::FAILURE: {
// Reset on failure
resetChildren();
current_child_idx_ = 0;
return child_status;
}So when the The only thing a Sequence "remembers" is a RUNNING child. If child 2 returned RUNNING, the next tick goes straight to child 2, and children 0 and 1 are not checked again. This is the difference between the two types:
So use a To see this yourself, attach a |
Uh oh!
There was an error while loading. Please reload this page.
Forgive my ignorance as I am new to the behaviortree.cpp library.
Does a sequence under a reactive fallback need to be reactive too? If not, if the last time the sequence was ticked was a failure, does it again return a failure or does it tick again from the last child of the sequence that failed or does it start from the first child of sequence regardless?
All reactions