Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
ROS Robotics Projects,

You're reading from   ROS Robotics Projects, Build and control robots powered by the Robot Operating System, machine learning, and virtual reality

Arrow left icon
Product type Paperback
Published in Dec 2019
Publisher Packt
ISBN-13 9781838649326
Length 456 pages
Edition 2nd Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Ramkumar Gandhinathan Ramkumar Gandhinathan
Author Profile Icon Ramkumar Gandhinathan
Ramkumar Gandhinathan
Arrow right icon
View More author details
Toc

Table of Contents (14) Chapters Close

Preface 1. Getting Started with ROS FREE CHAPTER 2. Introduction to ROS-2 and Its Capabilities 3. Building an Industrial Mobile Manipulator 4. Handling Complex Robot Tasks Using State Machines 5. Building an Industrial Application 6. Multi-Robot Collaboration 7. ROS on Embedded Platforms and Their Control 8. Reinforcement Learning and Robotics 9. Deep Learning Using ROS and TensorFlow 10. Creating a Self-Driving Car Using ROS 11. Teleoperating Robots Using a VR Headset and Leap Motion 12. Face Detection and Tracking Using ROS, OpenCV, and Dynamixel Servos 13. Other Books You May Enjoy

Working with the ROS-VR application and interfacing with Gazebo

Let's demonstrate how to use the ROS-VR application and interface it with Gazebo. The new APK will be installed with a name such as ROSSerial.

Before starting the app, we need to set up a few steps on the ROS PC. Let's follow these steps:

  1. First, set the ROS_IP variable in the ~/.bashrc file. Execute the ifconfig command and retrieve the Wi-Fi IP address of the PC, as shown here:
PC Wi-Fi adapter IP address
  1. For this project, the IP address was 192.168.1.101, so we have to set the ROS_IP variable as the current IP in ~/.bashrc. You can simply copy the following line to the ~/.bashrc file:
$ export ROS_IP=192.168.1.101

We need to set this; only then will the Android VR app work.

  1. Now start the roscore command on the ROS PC:
$ roscore
  1. The next step is to open the Android app, and you will get a window...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime