【ROS2】行为树 BehaviorTree(七):QtNodes和BehaviorTree.ROS2
1、QtNodes
使用Qt来实现对行为树的编辑操作
1)源码下载
github:
https://github.com/BehaviorTree/nodeeditor
2)安装依赖
pip3 install sphinx_rtd_theme
pip3 install breathe
3)编译
使用 Qt6 的 QtCreator打开 CMakeLists.txt,编译即可
如果在编译时报错,No module named XXX,使用pip3 安装对应的模块,例如:
Extension error:
Could not import extension breathe (exception: No module named 'breathe')
安装:
pip3 install breathe
4)生成的示例目录
nodeeditor-bt/build/Desktop_Qt_6_9_2-Debug/bin$ l