Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
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

You're reading from   Mastering ROS for Robotics Programming Design, build, and simulate complex robots using the Robot Operating System

Arrow left icon
Product type Paperback
Published in Dec 2015
Publisher Packt
ISBN-13 9781783551798
Length 480 pages
Edition 1st Edition
Languages
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 (14) Chapters Close

Preface 1. Introduction to ROS and Its Package Management FREE CHAPTER 2. Working with 3D Robot Modeling in ROS 3. Simulating Robots Using ROS and Gazebo 4. Using the ROS MoveIt! and Navigation Stack 5. Working with Pluginlib, Nodelets, and Gazebo Plugins 6. Writing ROS Controllers and Visualization Plugins 7. Interfacing I/O Boards, Sensors, and Actuators to ROS 8. Programming Vision Sensors using ROS, Open-CV, and PCL 9. Building and Interfacing Differential Drive Mobile Robot Hardware in ROS 10. Exploring the Advanced Capabilities of ROS-MoveIt! 11. ROS for Industrial Robots 12. Troubleshooting and Best Practices in ROS Index

Simulating the robotic arm using Gazebo and ROS

In the previous chapter, we designed a seven DOF arm. In this section, we will simulate the robot in Gazebo using ROS.

Before starting with Gazebo and ROS, we should install the following packages to work with Gazebo and ROS.

  • In ROS Jade:
    $ sudo apt-get install ros-jade-gazebo-ros-pkgs ros-jade-gazebo-ros ros-jade-gazebo-msgs ros-jade-gazebo-plugins
    
  • In ROS Indigo:
    $ sudo apt-get install ros-indigo-gazebo-ros-pkgs ros-indigo-gazebo-msgs ros-indigo-gazebo-plugins ros-indigo-gazebo-ros-control
    

The use of each package is as follows:

  • gazebo_ros_pkgs: This contains wrappers and tools for interfacing ROS with Gazebo
  • gazebo-msgs: This contains messages and service data structures for interfacing with Gazebo from ROS
  • gazebo-plugins: This contains Gazebo plugins for sensors, actuators, and so on.
  • gazebo-ros-control: This contains standard controllers to communicate between ROS and Gazebo

After installation, check whether the Gazebo is properly installed in...

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 $19.99/month. Cancel anytime
Banner background image