Book Image

ROS Robotics By Example

Book Image

ROS Robotics By Example

Overview of this book

The visionaries who created ROS developed a framework for robotics centered on the commonality of robotic systems and exploited this commonality in ROS to expedite the development of future robotic systems. From the fundamental concepts to advanced practical experience, this book will provide you with an incremental knowledge of the ROS framework, the backbone of the robotics evolution. ROS standardizes many layers of robotics functionality from low-level device drivers to process control to message passing to software package management. This book provides step-by-step examples of mobile, armed, and flying robots, describing the ROS implementation as the basic model for other robots of these types. By controlling these robots, whether in simulation or in reality, you will use ROS to drive, move, and fly robots using ROS control.
Table of Contents (17 chapters)
ROS Robotics By Example
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Preface
Index

Introducing MoveIt


One of the difficult problems in robotics is to define a path for the motion of a robot's arms to grasp an object, especially when obstacles may obstruct the most obvious path of motion. Fortunately, a ROS package called MoveIt allows us to plan and execute a complicated trajectory.

A video created at Rethink Robotics shows how to use MoveIt to plan the motion of Baxter's arms and then have MoveIt actually cause a real or simulated Baxter to execute the motion. To see the video, go to https://www.youtube.com/watch?feature=player_detailpage&v=1Zdkwym42P4.

A tutorial is available at the Rethink wiki site at http://sdk.rethinkrobotics.com/wiki/MoveIt_Tutorial.

First, start the Baxter simulator in Gazebo:

$ cd baxter_ws
$ ./baxter.sh sim
$ roslaunch baxter_gazebo baxter_world.launch

In a second terminal window, untuck Baxter's arms and start the Python script that starts the joint_trajectory_action_server:

$ cd baxter_ws
$ ./baxter.sh sim
$ rosrun baxter_tools tuck_arms.py...