2025-09-29 11:51:03 +08:00
|
|
|
# hivecore_robot_brain
|
|
|
|
|
|
2025-09-29 14:39:20 +08:00
|
|
|
## BT安装
|
|
|
|
|
```bash
|
|
|
|
|
sudo apt-get install -y libzmq3-dev #有的环境需要安装zmq
|
|
|
|
|
|
|
|
|
|
git clone https://github.com/BehaviorTree/BehaviorTree.CPP.git \
|
|
|
|
|
cd BehaviorTree.CPP \
|
|
|
|
|
mkdir build && cd build \
|
|
|
|
|
cmake .. \
|
|
|
|
|
make \
|
|
|
|
|
sudo make install
|
|
|
|
|
```
|
|
|
|
|
## SMACC2安装
|
|
|
|
|
```bash
|
|
|
|
|
sudo apt-get install -y liblttng-ust-dev #有的环境需要安装
|
|
|
|
|
|
|
|
|
|
git clone https://github.com/robosoft-ai/SMACC2.git
|
|
|
|
|
colcon build --packages-select smacc2_msgs smacc2
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## 编译
|
|
|
|
|
```bash
|
|
|
|
|
./src/scripts/build.sh
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## 运行
|
|
|
|
|
```bash
|
|
|
|
|
./src/scripts/run.sh
|
|
|
|
|
```
|