Arduino¶
Arduino IDE Install¶
Bash
wget https://downloads.arduino.cc/arduino-1.6.9-linux64.tar.xz
tar xvf arduino-1.6.9-linux64.tar.xz
sudo ./installl.sh
Permission Problem¶
Arduino and Sensors¶
Ultrasonic Sensor¶
ROS程序读取HC-SR04数据¶
-
按上图接线
-
烧录 ultrasonic_ros.ino 程序到 Arduino
-
分别启动如下脚本