turtlebot3-burger_150.png
turtlebot3-waffle-pi_150.png
turtlebot3-arm_150.png
walking-y2_150.png
turbot3-multi_150.png
turbot3-dl-ros1_150.png
turbot3-ai.png
turbot3-dl-ros2_150.png
turbot3-slam_150.png
turbot3-arm_150.png
turtlebot4-lite_150.png
turtlebot4-pro_150.png
turbot4-dl_150.png
turbot4-ai_150.png
aidriving-racebot_150.png
aidriving-autodrive_150.png
turtlebot-arm_150.png
openmanipulator-x_150.png
Home » Ailibot实体机器人入门教程 » Ailibot入门教程-应用-行为树(Behavior Tree)

Ailibot入门教程-应用-行为树(Behavior Tree)

纠错,疑问,交流: 请进入讨论区请点击进入页面,扫码加入微信群或Q群进行交流

获取最新文章: 扫一扫加入“创客智造”公众号

Ailibot入门教程-应用-行为树(Behavior Tree)

说明

  • 介绍如何在Ailibot上应用行为树(Behavior Tree)

相关设备:

前提准备

  • [Remote PC] 安装
$ sudo apt-get install python-dev graphviz libgraphviz-dev pkg-config
$ sudo pip install cgraph
$ sudo pip install pygraphviz
$ cd ~/ailibot_ws/src
$ git clone https://github.com/pirobot/pi_trees
$ cd ~/ailibot_ws &&  catkin_make

操作步骤

  • [Remote PC] 运行roscore
$ roscore
  • [Remote PC] 运行行为树例子
$ rosrun ailibot_apps Sequence.py
Creating Print Message task for Take me to your leader!
Creating counting task to 10
Behavior Tree Structure
 --> PRINT_AND_COUNT
     --> PRINT_MESSAGE
     --> COUNT_TO_10
Take 1 me 2 to 3 your 4 leader! 5 6 7 8 9 10

纠错,疑问,交流: 请进入讨论区请点击进入页面,扫码加入微信群或Q群进行交流

获取最新文章: 扫一扫加入“创客智造”公众号


标签: ailibot入门教程