粗大メモ置き場

個人用,たまーに来訪者を意識する雑記メモ

ROS and Arduino serial communication setup

Supposed to use ros kinetic on ubuntu 16.04LTS.
And currently it is just a memo.

Download Arduino IDE

Install Software (Linux) | Ladyada's Learn Arduino - Lesson #0 | Adafruit Learning System

Ancient (Un reccomended)

Following step you do not need to do, but I mistaken done that.

Arduino Playground - Ubuntu

sudo apt-get update && sudo apt-get install arduino arduino-core 

Download from HP and Install

Choose your OS. I use Ubuntu 16 on jetson TX1 (arm64) so choose "Linux ARM".
Arduino - Software

after you unzip it,
I got many warning but I could see that.

touch: cannot touch '/home/ubuntu/.local/share/icons/hicolor/.xdg-icon-resource-dummy': No such file or directory

And my desktop icon do not work...

Checking if it works

ls /dev/ttyUSB*

rosserial_arduino/Tutorials/Arduino IDE Setup - ROS Wiki


Sample Code?

Too long to explain. See the official tutorial.< source cord cannot be pasted...>