O'Reilly logo

Robot Operating System Cookbook by Kumar Bipin

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

Getting ready

The Arduino-ROS interface is a standard method of communication between the Arduino boards and the PC, which uses the UART protocol. When both the devices communicate with each other, there should be some program running on both sides that can interpret the serial messages for each of these devices.

In this section, we will discuss the interface that's exclusive to Arduino. However, we can implement our own logic to receive and transmit the data from the board to PC and vice versa. The interfacing code will be different in each I/O board because there are no standard libraries to perform this communication.

Arduino IDE is also used for programming the Arduino board, and this can be downloaded from https://www.arduino.cc/en/Main/Software ...

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