Order of actions not according to what is shown in screen
javizqh opened this issue · 0 comments
javizqh commented
The order of the actions is not updated properly and this causes the behavior tree to misbehave when executed.
Here is the video of how to recreate this behavior:
bug_order.mp4
And here is the incorrect bt:
<Root name="Tree Root">
<BehaviorTree>
<ReactiveSequence name="ReactiveSequence">
<ReactiveFallback name="ReactiveFallback">
<Inverter name="Inverter">
<CheckObstacle name="CheckObstacle" amplitude="20" obs_dist="1.0" />
</Inverter>
<!-- The order should be the opposite -->
<Turn name="Turn" />
<Forward name="Forward" />
<!-- -->
</ReactiveFallback>
<Forward name="Forward" speed="0.5" />
</ReactiveSequence>
</BehaviorTree>
<Code>