O'Reilly logo

Mastering ROS for Robotics Programming - Second Edition by Jonathan Cacace, Lentin Joseph

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

Installing rosserial packages on Ubuntu 16.04

To operate with Arduino on Ubuntu 16.04, we must install rosserial ROS packages and then set up the Arduino client, installing the libraries needed to communicate with ROS. We can install the rosserial packages on Ubuntu using the following commands:

  1. Install the rosserial package binaries, using apt-get:
$ sudo apt-get install ros-kinetic-rosserial-arduino ros-kinetic-rosserial-embeddedlinux ros-kinetic-rosserial-windows ros-kinetic-rosserial-server ros-kinetic-rosserial-python
  
  1. For installing the rosserial_client library called ros_lib in Arduino, we must download the latest Arduino IDE for Linux 32/64 bit. The following is the link for downloading the Arduino IDE: 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