Matthew's Portfolio
dataTask.py File Reference

Task for data collection and serial communication with PC Frontend. More...

Classes

class  dataTask.dataTask
 Data collection system for the controller. More...
 

Variables

 dataTask.myuart = UART(2)
 Assign variable to UART port 2.
 

Detailed Description

Task for data collection and serial communication with PC Frontend.

This task will send data to the PC Frontend once the program has stopped. Due to limited memory on the Nucleo board, only the 5 sets of data can be sent: time, position/velocity (in one direction), and tilt angle/angular velocity (in one direction). The program will therefore need to be rerun in order to get data in both directions. While this is not ideal, it is the reality of the hardware memory.
See source code here:
Data Collection Task Source Code

Author
Matthew Frost
Ryan McLaughlin
Date
Originally created on 05/27/21
Last modified on 06/03/21