Below you can find all relevant files, documentation, and source code for Final Project W4.
mainW4.py : Main code for running backend tasks.
encoderDriverW4.py : Driver responsible for creating encoder objects.
motorDriverW4.py : Driver responsible for creating motor objects.
controllerDriverW4.py : Driver responsible for creating closed-loop PI-Controllers for an encoder and motor.
controllerTaskW4.py : Backend task for running the encoder, motor, and PI-Controller.
UITaskW4.py : Backend task which handles user input from frontend serial communication.
userInterfaceFrontW4.py : Frontend user interface which controls hotkeys, graphing, calculating J, and writing to a .csv file.
shareW4.py : Communication for UITaskW4.py and controllerTaskW4.py
YouTube Tutorial Link: https://www.youtube.com/watch?v=yHKG1-Wt0uE