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

Installing the ROS-Android interface


If all the dependencies are satisfied, you can easily build the ROS-Android interface and build a bunch of Android-ROS applications. Here is how we can do that:

Initially, we have to create a workspace folder for the Android interface. We can name it android_core:

$ mkdir -p ~/android_core

After creating this folder, you can initialize the workspace using the following command:

wstool init -j4 ~/android_core/src https://raw.github.com/rosjava/rosjava/indigo/android_core.rosinstall

Now switch to the workspace and build the workspace using catkin_make:

$ cd ~/android_core
$ catkin_make

After building the workspace successfully, you can source it by adding it to .bashrc:

$ echo 'source ~/android_core /devel/setup.bash' >> ~/.bashrc

You are now done with setting up the android_core package in ROS. So what do you get after building this workspace? You will get a bunch of Android-ROS applications that can be installed on your Android device. You will also...