Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • ROS Robotics By Example, Second Edition
  • Toc
  • feedback
ROS Robotics By Example, Second Edition

ROS Robotics By Example, Second Edition

By : Lentin Joseph, Carol Fairchild, Harman
4.3 (6)
close
ROS Robotics By Example, Second Edition

ROS Robotics By Example, Second Edition

4.3 (6)
By: Lentin Joseph, Carol Fairchild, Harman

Overview of this book

ROS is a robust robotics framework that works regardless of hardware architecture or hardware origin. It standardizes most layers of robotics functionality from device drivers to process control and message passing to software package management. But apart from just plain functionality, ROS is a great platform to learn about robotics itself and to simulate, as well as actually build, your first robots. This does not mean that ROS is a platform for students and other beginners; on the contrary, ROS is used all over the robotics industry to implement flying, walking and diving robots, yet implementation is always straightforward, and never dependent on the hardware itself. ROS Robotics has been the standard introduction to ROS for potential professionals and hobbyists alike since the original edition came out; the second edition adds a gradual introduction to all the goodness available with the Kinetic Kame release. By providing you with step-by-step examples including manipulator arms and flying robots, the authors introduce you to the new features. The book is intensely practical, with space given to theory only when absolutely necessary. By the end of this book, you will have hands-on experience on controlling robots with the best possible framework.
Table of Contents (12 chapters)
close
11
Index

Controlling a real Baxter


The baxter_examples programs described in the subsections within the Launching Baxter Simulator in Gazebo section also work on a real Baxter robot. Some additional arm control programs that work on a real Baxter but not on Baxter Simulator are described in the following sections.

Commanding joint position waypoints

This program is another example of joint position control for Baxter's arms. Baxter's arm is moved using the Zero-G mode to freely configure the arm's joints to the desired position. When the desired position is attained, the corresponding navigator button on the arm is pressed to record the waypoint position. This baxter_examples program is executed with the following command, specifying either right or left for the arm that is to be moved:

$ rosrun baxter_examples joint_position_waypoints.py -l <right or left>

The output should be as follows:

...
Press Navigator 'OK/Wheel' button to record a new joint position waypoint.
Press Navigator 'Rethink...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete