COM Rx now occurs from a callback function and not the infinite while loop
Refactor clearing the graph and closing the program to their own callbacks, removed infinite while loop
Added the background task back (so that GUI can update as fast as possible), made the GUI update timer a fixed 1 sec (in case background can't get updated). Moved closing program back to end of main function (for background task).
Removed GUI refresh rate, added Kp/Kd sliders
Make arguments match for updating the graphs
Updated the embedded code so that it does some non-linear behavior to verify some interfaces are working.
Took back out the GUI update periodic task (causing some issues), corrected which values map to which graphs.
Output the target position to the computer (this example automatically changes the target)
Added rough estimate for calculating velocity
Added some files from Lab1 (will modify them) to leverage for this lab.
Last time moving the GUI refresh stuff hopefully (needs to be in callback so menu items work in figure). Added position error as an output from the unit (instead of calculated on the PC).
Hacked up some of the old lab files to get everything to compile together.
Adjust the values that Kp/Kd can be sent to the unit (+/-30)
Change Kp/Kd back to integers
Changed all computations to float, all values are now in terms of degrees, changed main loop back to delay in ms instead of us.
Starting to get unit Rx working
Can now enable/disable the unit logging to the PC (both terminal and matlab).