TurtleBot3-Blockly入门教程-软件安装
TurtleBot3-Blockly入门教程-软件安装
说明:
- 介绍如何在turtlebot3上安装blockly软件
- 使用于turtlebot3的两种型号,burger、waffle和waffle-pi
前提准备:
- 需要先完成远程PC和turtlebot3的安装,并设置好网络,实现远程PC控制turtlebot3
- burger的远程PC安装和turtlebot3安装,参考turtlebot3-burger专栏
- waffle的远程PC安装和turtlebot3安装,参考turtlebot3-waffle专栏
- waffle-pi的远程PC安装和turtlebot3安装,参考turtlebot3-waffle-pi专栏
操作步骤:
- [Remote PC] 安装turtlebot3-blockly包
$ mkdir -p ~/blockly_ws/src
$ cd ~/blockly_ws/src
$ git clone https://github.com/dabit-industries/turtlebot3_blockly
$ cd turtlebot3_blockly/frontend/
$ git submodule add https://github.com/dabit-industries/ace-builds.git ace-builds
$ git submodule init
$ git submodule update
$ git submodule add https://github.com/dabit-industries/blockly.git blockly
$ git submodule init
$ git submodule update
$ cd ~/blockly_ws/
$ catkin_make_isolated -j2 --pkg turtlebot3_blockly --install
- 或者执行如下命令:
$ mkdir -p ~/blockly_ws/src
$ cd ~/blockly_ws/src
$ git clone --recurse-submodules https://github.com/dabit-industries/turtlebot3_blockly
$ cd ~/blockly_ws
$ catkin_make_isolated -j2 --pkg turtlebot3_blockly --install
- [Remote PC] 安装需要用到库文件和相关ros包
$ sudo apt-get install python3-pip ros-kinetic-mavros
$ sudo pip3 install pyyaml numpy rospkg autobahn
获取最新文章: 扫一扫右上角的二维码加入“创客智造”公众号