Skip to content

Arduino ROS integration

eli-davis edited this page Jul 2, 2014 · 6 revisions

http://wiki.ros.org/rosserial_arduino/Tutorials/Arduino%20IDE%20Setup

Launch arduino IDE. File -> Preferences to see where your sketchbook is located. Quit IDE.

Open Terminal, go to sketchbook. cd libraries (If there is not already a libraries directory in your sketchbook, make one.)

sudo apt-get install ros-hydro-rosserial-arduino

sudo apt-get install ros-hydro-rosserial

cd ~/catkin_ws/src

git clone https://github.com/ros-drivers/rosserial.git

cd catkin_ws (cd ..)

catkin_make

catkin_make install

source ~/catkin_ws/install/setup.bash

Reopen Arduino IDE. Go to examples. There should be a ros_lib option in the drop down menu.

Clone this wiki locally