ROS与PhantomXArm教程-PC安装Arduino IDE
ROS与PhantomXArm教程-PC安装Arduino IDE
说明
- 介绍如何安装对应版本的Arduino IDE安装
- abrotix-m 最新支持到1.0.6 arduino IDE
安装arduino
- 下载arduino和解压
$ mkdir ~/tools
$ cd ~/tools
$ wget http://file.ncnynl.com/ros/arduino-1.0.6-linux64.tgz
$ tar -zxvf arduino-1.0.6-linux64.tgz
- 安装Java环境
//安装OpenJDK
$ sudo apt-get update
$ sudo apt-get install openjdk-8-jdk
$ java -version
java version "1.8.0_212"
OpenJDK Runtime Environment (build 1.8.0_212-8u212-b03-0ubuntu1.16.04.1-b03)
OpenJDK 64-Bit Server VM (build 25.212-b03, mixed mode)
$ sudo apt-get install openjdk-8-jre
//设置环境
$ echo "JAVA_HOME=$(which java)" | sudo tee -a /etc/environment
$ source /etc/environment
$ echo $JAVA_HOME
- 启动arduino
$ ~/tools/arduino-1.0.6/arduino
- 确认库目录,一般库目录位于
~/Arduino
获取最新文章: 扫一扫右上角的二维码加入“创客智造”公众号