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
Learning Robotics using Python

You're reading from   Learning Robotics using Python Design, simulate, program, and prototype an autonomous mobile robot using ROS, OpenCV, PCL, and Python

Arrow left icon
Product type Paperback
Published in Jun 2018
Publisher Packt
ISBN-13 9781788623315
Length 280 pages
Edition 2nd Edition
Languages
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Lentin Joseph Lentin Joseph
Author Profile Icon Lentin Joseph
Lentin Joseph
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. Getting Started with Robot Operating System 2. Understanding the Basics of Differential Robots FREE CHAPTER 3. Modeling the Differential Drive Robot 4. Simulating a Differential Drive Robot Using ROS 5. Designing ChefBot Hardware and Circuits 6. Interfacing Actuators and Sensors to the Robot Controller 7. Interfacing Vision Sensors with ROS 8. Building ChefBot Hardware and the Integration of Software 9. Designing a GUI for a Robot Using Qt and Python 10. Assessments 11. Other Books You May Enjoy

Visualizing the robot sensor data

In this section, we learn how to visualize the sensor data from the simulated robot. In the chefbot_gazebo package, there are launch files to start the robot in an empty world or in a hotel-like environment. The custom environment can be built using Gazebo itself. Just create the environment using primitive meshes and save as a *. world file, which can be the input of the gazebo_ros node in the launch file. For starting the hotel environment in Gazebo, you can use the following command:

    $ roslaunch chefbot_gazebo chefbot_hotel_world.launch      
The Chefbot in Gazebo in the hotel environment

The nine cubes inside the space represent nine tables. The robot can navigate to any of the tables to deliver food. We will learn how to do this, but before that, we will learn how to visualize the different kinds of sensor data from the robot model.

...
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 R$50/month. Cancel anytime