Created on Tue Nov 24 00:21:08 2020. More...
Classes | |
class | EncoderDriver.EncoderDriver |
Encoder Driver Class More... | |
Created on Tue Nov 24 00:21:08 2020.
Encoder Driver Class
This is an updated version of an encoder driver class created for ME 305. This driver class constructs an encoder object which is capable of updating the angular position and velocity of the output shaft of a motor. Other methods include setting the position, returning the difference between previous and current positions. Updates include getAngle(), getSpeed(), and tick2rad() methods. tick2rad() replaces the tick2deg() method.
Source https://bitbucket.org/MilesYoung/lab-4-term-project/src/master/Lab09/EncoderDriver.py