Closed
Description
Hi,
I am using a ReactiveSequence with _skipIf
preconditions on the children, and it throws:
terminate called after throwing an instance of 'BT::LogicError'
what(): ReactiveSequence is not supposed to reach this point
Looking at the code
BehaviorTree.CPP/src/controls/reactive_sequence.cpp
Lines 54 to 72 in 109eccd
it seems that this happens because if a children is SKIPPED
the success_count
is not increased, neither the method returns, ending in the throw. Am I right?
I can provide simple example if necessary to replicate this
Metadata
Metadata
Assignees
Labels
No labels