For week 21 and 22 we connected the GUI with the Azure database, allowing the data displayed to be up to date and updates every 5 seconds. An extra animated graph feature is also added with Matplotlib FuncAnimation.
Along with this, we implemented IoT hub for data collection in place of using ODBC driver:
We also implemented PID analysis for the subsystems, which involves finding the proportional, integral and differential constants. These are found using fine-tuning algorithms for maximal output calculations which are sent to the actuators.
The PID class looks like this:
Comments