Skip to Content
Learning Robotics using Python - Second Edition
book

Learning Robotics using Python - Second Edition

by Lentin Joseph
June 2018
Beginner to intermediate
280 pages
6h 58m
English
Packt Publishing
Content preview from Learning Robotics using Python - Second Edition

Motor and encoder

The robot that we are going to design is a differential-drive robot with two wheels, so we will require two motors for its locomotion. Each motor consists of quadrature encoders (http://www.creative-robotics.com/quadrature-intro) so that we can get motor rotation feedback data.

The quadrature encoder will send data regarding of the rotation of the motor as square pulses; we can decode the pulses to get the number of the encoder's ticks, which can be used for feedback. If we know the wheel's diameter and the number of ticks of the motor, we can compute the displacement and the angle of the robot that moved. This computation is very useful for us in our attempts to navigate the robot.

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

Learning Robotics using Python

Learning Robotics using Python

Lentin Joseph
Python Robotics Projects

Python Robotics Projects

Prof. Diwakar Vaish

Publisher Resources

ISBN: 9781788623315Supplemental Content