The idea is that you can configure your behavior tree from an xml file and therefore you can easily change the layout of your behavior tree purely through a config. Eventually, I would like to add a GUI, so that everything can be built via connecting boxes and filling in the necessary fields. Please drop in and check it out and feel free to add to the code and discussion.
Hi,
that looks interesting. I am also working a lot with py_trees and currently working on a solution define the BTs in yaml-format for py_trees, to change and load them during runtime.
I will definitely try your xml-parser and give you feedback.
I do have one question in advance.
Can you parser also handle custom behaviors with parameters?
Absolutely. it can even handle python code as parameters. It just requires that the behaviors use the fully qualified name and that the python code also use fully qualified names. That is the only way for it to know what you are talking about.