Skip to Content
Hands-On ROS for Robotics Programming
book

Hands-On ROS for Robotics Programming

by Bernardo Ronquillo Japón
February 2020
Intermediate to advanced
432 pages
10h 50m
English
Packt Publishing
Content preview from Hands-On ROS for Robotics Programming

Servo package

The servo package consists of a Pulse Width Modulation (PWM) servomotor. It is controlled in an open loop by applying a voltage that produces a proportional rotation of the motor shaft in a 180° amplitude coverage. In the following image there is a small rod that lets us visualize the rotation. In our GoPiGo3 assembly, we will see rotating the distance sensor:

Image courtesy: Dexter Industries: https://www.dexterindustries.com/wp-content/uploads/2017/06/GoPiGo3-Servo-Assembly-11-600x338.jpg

The servo package is part of the GoPiGo3 API library described in the Distance sensor unit test section. Its API methods are detailed at ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering ROS for Robotics Programming

Mastering ROS for Robotics Programming

Lentin Joseph
ROS Robotics By Example - Second Edition

ROS Robotics By Example - Second Edition

Lentin Joseph, Carol Fairchild, Dr. Thomas L. Harman

Publisher Resources

ISBN: 9781838551308Supplemental Content