13f235c6828dc2c24b6c5ce2150aa4b2a53f095b
cerebellum_hooks.cpp (ConfigureDualArmHooks): - Pass `action ? action : "unknown"` to LOG_INFO to avoid fmt crash when motion_type does not match any known type (null const char*) - Guard target_joints[0..5] with has_joints check to avoid OOB access when the joints vector has fewer than 6 elements cerebellum_node.cpp (CallInverseKinematics): - Guard angles[0..5] with has_angles check to avoid OOB access if the IK service returns fewer than 6 joint angles
hivecore_robot_brain
BT安装
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安装
sudo apt-get install -y liblttng-ust-dev #有的环境需要安装
git clone https://github.com/robosoft-ai/SMACC2.git
colcon build --packages-select smacc2_msgs smacc2
编译
./src/scripts/build.sh
运行
./src/scripts/run.sh
Description
Languages
C++
71.3%
Python
21.9%
CMake
5.3%
Shell
1.5%