Below you can find all relevant files, documentation, and source code for Final Project W3.
mainW3.py : Main code for running backend tasks.
encoderDriverW3.py : Driver responsible for creating encoder objects.
motorDriverW3.py : Driver responsible for creating motor objects.
controllerDriverW3.py : Driver responsible for creating closed-loop P-Controllers for an encoder and motor.
controllerTaskW3.py : Backend task for running the encoder, motor, and P-Controller.
UITaskW3.py : Backend task which handles user input from frontend serial communication.
userInterfaceFrontW3.py : Frontend user interface which controls hotkeys, graphing, and writing to a .csv file.
shareW3.py : Communication for UITaskW3.py and controllerTaskW3.py
YouTube Tutorial Link: https://www.youtube.com/watch?v=Gd40zPlxCsw