Matthew's Portfolio
encoderDriver.py File Reference

In charge of keeping track of the position and speed of encoder. More...

Classes

class  encoderDriver.encoderDriver
 Encoder class to allow for several encoders to be used. More...
 

Detailed Description

In charge of keeping track of the position and speed of encoder.

This script implements an algorithm that accounts for overflow and underflow in the encoder tick values. From this, the position, in degrees, and speed, in rpm, can be computed and sent back to the controller task. Other features are instantaneously getting the position, speed, and delta, as well as zeroing the encoder. See source code here: Encoder Driver Source Code

Author
Matthew Frost
Ryan McLaughlin
Date
Originally created on 05/19/21
Last modified on 06/03/21