BehaviorTree / Groot

Graphical Editor to create BehaviorTrees. Compliant with BehaviorTree.CPP
736 stars 239 forks source link

Can't understand the logic behind NodeStatus update code #165

Open ADetilie opened 2 years ago

ADetilie commented 2 years ago

Hello!

I am trying to adapt one BT library (not BehahaviorTree.cpp) to be compatible with Groot. To make this, I need to understand how to encode BT and Node statuses changes in the format Groot can read.

With BT format, everything is more or less strait-forward:

But with Node Status changes, everything became more tricky:

My question: Are there any solid reasons for not using flatbuffer and do some custom logic with manually encoding/decoding node status changes?

facontidavide commented 2 years ago

Perfect timing, I am about to merge a branch that fix this

ADetilie commented 2 years ago

Thank you for your answer! When are you planning to introduce these changes to your repo?