Adam Wathieu, Summer 2020
This repository was made to facilitate the investigations in developing behavior tree robot action policy from Socially Assistive Robot (SAR) Wizard of Oz (WoZ) Interaction Data. This pipeline processes logged data from a WoZ interaction and generates behavior trees, along with data on the accuracy of the conversion process. These behavior trees are ready to be used alongside the BehaviorTree.CPP library, and redeployed back in the robot.
Dependencies (with pip installation commands)
- Python 3
- pandas (
pip install pandas
) - scikit-learn (
pip install -U scikit-learn
) - numpy (
pip install numpy
) - imblearn (
pip install -U imbalanced-learn
) - graphviz (
pip install graphviz
) - matplotlib (
pip install matplotlib
) - lxml (
pip install lxml
)
To run:
- Navigate to BehaviorTreeDev, and edit
config.json
- Execute
./clean_script.sh config.json
in command line
The behavior tree XML file(s) that are generated from the pipeline follow the XML format for behavior trees presented in BehaviorTree.CPP and Groot.