O'Reilly logo

Effective Robotics Programming with ROS - Third Edition by Aaron Martinez, Enrique Fernández, Luis Sánchez, Anil Mahtani

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using Arduino to add sensors and actuators

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.

The following image shows how an Arduino board looks:

Using Arduino to add sensors and actuators

ROS can use this type of device with the rosserial package. 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 and servo controllers.

First, we need to install ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required