Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
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
Mastering ROS for Robotics Programming, Third edition

You're reading from   Mastering ROS for Robotics Programming, Third edition Best practices and troubleshooting solutions when working with ROS

Arrow left icon
Product type Paperback
Published in Oct 2021
Publisher Packt
ISBN-13 9781801071024
Length 594 pages
Edition 3rd Edition
Languages
Concepts
Arrow right icon
Authors (2):
Arrow left icon
Mr. Lentin Joseph Mr. Lentin Joseph
Author Profile Icon Mr. Lentin Joseph
Mr. Lentin Joseph
Jonathan Cacace Jonathan Cacace
Author Profile Icon Jonathan Cacace
Jonathan Cacace
Arrow right icon
View More author details
Toc

Table of Contents (22) Chapters Close

Preface 1. Section 1 – ROS Programming Essentials
2. Chapter 1: Introduction to ROS FREE CHAPTER 3. Chapter 2: Getting Started with ROS Programming 4. Section 2 – ROS Robot Simulation
5. Chapter 3: Working with ROS for 3D Modeling 6. Chapter 4: Simulating Robots Using ROS and Gazebo 7. Chapter 5: Simulating Robots Using ROS, CoppeliaSim, and Webots 8. Chapter 6: Using the ROS MoveIt! and Navigation Stack 9. Chapter 7: Exploring the Advanced Capabilities of ROS MoveIt! 10. Chapter 8: ROS for Aerial Robots 11. Section 3 – ROS Robot Hardware Prototyping
12. Chapter 9: Interfacing I/O Board Sensors and Actuators to ROS 13. Chapter 10: Programming Vision Sensors Using ROS, OpenCV, and PCL 14. Chapter 11: Building and Interfacing Differential Drive Mobile Robot Hardware in ROS 15. Section 4 – Advanced ROS Programming
16. Chapter 12: Working with pluginlib, nodelets, and Gazebo Plugins 17. Chapter 13: Writing ROS Controllers and Visualization Plugins 18. Chapter 14: Using ROS in MATLAB and Simulink 19. Chapter 15: ROS for Industrial Robots 20. Chapter 16: Troubleshooting and Best Practices in ROS 21. Other Books You May Enjoy

Working with perception using MoveIt! and Gazebo

Until now, in MoveIt!, we have worked with an arm only. In this section, we will see how to interface 3D vision-sensor data to MoveIt!. The sensor can be either simulated using Gazebo, or you can directly interface a Red-Green-Blue-Depth (RGB-D) sensor, such as Kinect or Intel RealSense, using the openni_launch package. Here, we will work using Gazebo simulation. We will add sensors to MoveIt! to create a map of the environment surrounding the robot. The following command will launch the robot arm and the Asus Xtion pro simulation in Gazebo in a world with obstacles:

roslaunch seven_dof_arm_gazebo seven_dof_arm_obstacle_world.launch 

This command will start the Gazebo scene with arm joint controllers and the Gazebo plugin for the 3D vision sensor. We can add a grasp table and grasp objects to the simulation, as shown in the following screenshot, by simply clicking and dragging them to the workspace. We can create any kind of table...

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 ₹800/month. Cancel anytime