BehaviorTree / BehaviorTree.CPP

Behavior Trees Library in C++. Batteries included.
https://www.behaviortree.dev
MIT License
3.03k stars 665 forks source link

How to start failed(or interruptted) tree from remained actions? #835

Closed robologics1 closed 5 months ago

robologics1 commented 5 months ago

For example my robot powered off while roaming ,and I need to tick remained action first. How can I start behavior tree from last status? How can I initialize behavior tree according to bt status? Any help appreciated. Thank you.

facontidavide commented 5 months ago

Have a look to this. https://github.com/BehaviorTree/BehaviorTree.CPP/blob/master/examples/t17_blackboard_backup.cpp

It might help a little, but probably it is MUCH more complicated than that.