Book Image

ROS Robotics Projects

Book Image

ROS Robotics Projects

Overview of this book

Robot Operating System is one of the most widely used software frameworks for robotic research and for companies to model, simulate, and prototype robots. Applying your knowledge of ROS to actual robotics is much more difficult than people realize, but this title will give you what you need to create your own robotics in no time! This book is packed with over 14 ROS robotics projects that can be prototyped without requiring a lot of hardware. The book starts with an introduction of ROS and its installation procedure. After discussing the basics, you’ll be taken through great projects, such as building a self-driving car, an autonomous mobile robot, and image recognition using deep learning and ROS. You can find ROS robotics applications for beginner, intermediate, and expert levels inside! This book will be the perfect companion for a robotics enthusiast who really wants to do something big in the field.
Table of Contents (20 chapters)
ROS Robotics Projects
Credits
About the Author
Acknowledgements
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

Design and working of the project


This project can be divided into two sections: teleoperation using Leap Motion and streaming images to an Android phone to get a VR experience inside a VR headset. Before going to discuss each design aspect, let's see how we have to interconnect these devices.

The following figure shows how the components are interconnected for this project:

Figure 4: Hardware components and connection

You can see that each device (that is, PC and Android phone) is connected to a Wi-Fi router, and the router has assigned an IP to each device. Each device communicates using these IP addresses. You will see the importance of these addresses in the upcoming sections.

Next, we will see how we can teleoperate a robot in ROS using Leap Motion. We will be controlling it while wearing the VR headset. So, we don't need to press any buttons to move the robot; rather, we can just move it with our hands.

The basic operation involved here is converting the Leap Motion data into ROS Twist...