ME 405: Mechatronics Portfolio
EncoderDriver.py File Reference

Created on Tue Nov 24 00:21:08 2020. More...

Classes

class  EncoderDriver.EncoderDriver
  Encoder Driver Class More...
 

Detailed Description

Created on Tue Nov 24 00:21:08 2020.

Date
3/10/2021
Author
Miles Young

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