-
Install Dependencies:
Download and install Cmake for Windows
Download and install QT5 for Windows (the open source version is free)
Download and install python3 for Windows -
Download the repository:
git clone https://github.com/btirai/pacman.git`
-
Build the Software:
Run Cmake, set the project (
pacman
) root folder and the desired build folder (your choice). Configure and generate project solution for your favorite IDE (e.g. Visual Studio 13). Then open the solution from your IDE and build the project.
In a terminal, go to the build directory of the project and then run the following commands:
cd bt_editor
./behavior_tree_editor.exe
Alternatively, run the executable behavior_tree_editor.exe
from File Explorer
-
Install Dependencies:
sudo apt-get install build-essential libgl1-mesa-dev python3-tk qtdeclarative5-dev
-
Download the repository:
git clone https://github.com/btirai/pacman.git
-
Build the Software:
Run in a terminal the following commands:
cd pacman mkdir build cd build cmake .. make
From the build directory, run in a terminal with
./behavior_tree_editor
-
In the BT editor:
File
->Load
-
Browse in the folder pacman (the one you retrieved in step 2)
-
Select the file
pacmantree.xml
-
A BT should appear in the editor, as in the picture below:
-
Enjoy
- Right Click in the editor to add a node.
- Press Play to run the BT
- Enjoy
NOTE: A BT must have the root node. It cannot have loose nodes (non-connected nodes).