ME305Lab
|
Added functionality of motor actuation.
This code reads input from a quadrature incremental encoder. There is a user interface (taskUser.py) which allows the user to control the encoder and motor to perform several functions. It also prints out a description of what the functions are and how to execute them. The file taskEncoder.py acts as an interface between the UI file and the encoder driver (encoder.py), calling methods from the encoder and passing them to the UI to print. Similarly, taskMotor.py acts as an interface between the UI file and the motor driver (DRV8847.py).The driver file sets up an encoder class and creates the methods used by the other files.
The output presented is the average angular velocity of motor 1 at each set dtuy cycle.
Source Folder [https://bitbucket.org/ruodolfr/me305_lab/src/master/Lab3/]