You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i am using behaviorTree.CPP library for my project ( versione 3.8) and in particular i am focusing on recovery strategy when the execution fails.
So far, i have a sequence of actions to execute (ex. action2 -> action3 -> action2 -> action3) with different parameters, if the state of the scene is always as "expected" the sequence of action can be executed easily.
now, let's suppose i changed the scene state such that action3 can not be executed because its preconditions are not satisfied, i have implemented a recovery strategy (with a Backup Tree) to bring me back to the "expected" state of the scene (and it works!) such that action3 can now be executed.
So, after that, i would like to resume the MainTree execution from the point where it fails (action3) because i don't want to restart the tree from the beginning, repeating action2 which has been already successful, is it possible to do that?
I hope i was clear explaining my problem. Thanks a lot!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
i am using behaviorTree.CPP library for my project ( versione 3.8) and in particular i am focusing on recovery strategy when the execution fails.
So far, i have a sequence of actions to execute (ex. action2 -> action3 -> action2 -> action3) with different parameters, if the state of the scene is always as "expected" the sequence of action can be executed easily.
now, let's suppose i changed the scene state such that action3 can not be executed because its preconditions are not satisfied, i have implemented a recovery strategy (with a Backup Tree) to bring me back to the "expected" state of the scene (and it works!) such that action3 can now be executed.
So, after that, i would like to resume the MainTree execution from the point where it fails (action3) because i don't want to restart the tree from the beginning, repeating action2 which has been already successful, is it possible to do that?
I hope i was clear explaining my problem. Thanks a lot!
Beta Was this translation helpful? Give feedback.
All reactions