第一步:安装Behavior tree.CPP
sudo apt-get install libzmq3-dev libboost-dev
git clone https://github.com/BehaviorTree/BehaviorTree.CPP.git
cd BehaviorTree.CPP
mkdir build; cd build
cmake ..
make
sudo make install
第二步:安装可视化界面Groot
sudo apt install qtbase5-dev libqt5svg5-dev libzmq3-dev libdw-dev
git clone https://ghproxy.com/https://github.com/BehaviorTree/Groot.git
cd Groot
git submodule update --init --recursive
mkdir build; cd build
cmake ..
make
sudo make install
第三步:在build中
./Groot
即可进入编辑界面,如下图: