Arduino is an open source electronics prototyping platform based on flexible, easy-to-use hardware and software. It's intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments.
ROS can use this type of device with the package rosserial
. Basically, Arduino is connected to the computer using a serial connection and data is transmitted using this port. With rosserial
, you can also use a lot of devices controlled by a serial connection; for example, GPS, servo controllers, and so on.
First, we need to install the package. To do this, we use the following command lines:
$ sudo apt-get install ros-fuerte-rosserial $ rosstack profile $ rospackage profile
OK, we assume that you have the Arduino IDE installed. If not, just follow the steps described at http://arduino.cc/en/Main/Software.
Once you have the package and the IDE installed, it is necessary to copy ros_lib
from the rosserial
package to...