Book Image

ROS Robotics Projects - Second Edition

By : Ramkumar Gandhinathan
Book Image

ROS Robotics Projects - Second Edition

By: Ramkumar Gandhinathan

Overview of this book

Nowadays, heavy industrial robots placed in workcells are being replaced by new age robots called cobots, which don't need workcells. They are used in manufacturing, retail, banks, energy, and healthcare, among other domains. One of the major reasons for this rapid growth in the robotics market is the introduction of an open source robotics framework called the Robot Operating System (ROS). This book covers projects in the latest ROS distribution, ROS Melodic Morenia with Ubuntu Bionic (18.04). Starting with the fundamentals, this updated edition of ROS Robotics Projects introduces you to ROS-2 and helps you understand how it is different from ROS-1. You'll be able to model and build an industrial mobile manipulator in ROS and simulate it in Gazebo 9. You'll then gain insights into handling complex robot applications using state machines and working with multiple robots at a time. This ROS book also introduces you to new and popular hardware such as Nvidia's Jetson Nano, Asus Tinker Board, and Beaglebone Black, and allows you to explore interfacing with ROS. You'll learn as you build interesting ROS projects such as self-driving cars, making use of deep learning, reinforcement learning, and other key AI concepts. By the end of the book, you'll have gained the confidence to build interesting and intricate projects with ROS.
Table of Contents (14 chapters)

Installing the Leap Motion SDK on Ubuntu 14.04.5

In this project, we have chosen Ubuntu 14.04.5 LTS and ROS Indigo because the Leap Motion SDK will work smoothly with this combination. The Leap Motion SDK is not fully supported by Ubuntu 16.04 LTS; if there are any further fixes from the company, this code will work on Ubuntu 16.04 LTS with ROS Kinetic.

The Leap Motion SDK is the core of the Leap Motion controller. The Leap Motion controller has two IR cameras facing upward, and it also has several IR projectors. This is interfaced with a PC, and the Leap Motion SDK runs on the PC, which has drivers for the controller. It also has algorithms to process the hand image to produce the joint values of each finger joint.

Here is the procedure to install the Leap Motion SDK in Ubuntu:

  1. Download the SDK from https://www.leapmotion.com/setup/linux; you can extract this package and you...