Speed testing IMUs
Dependencies: MadgwickAHRS mbed
Fork of IMU_serial by
Diff: main.cpp
- Revision:
- 3:c1902ecb30a7
- Parent:
- 1:8715b7dd52ef
--- a/main.cpp Thu Oct 06 17:00:36 2016 +0000 +++ b/main.cpp Thu Oct 06 17:35:14 2016 +0000 @@ -3,7 +3,17 @@ MPU9250 calibration program This program will send data that can be used to create a file that can be used to calibrate the imus +TODO: +(1) hardcoded output - allow for an output object to change what interface data comes from +(2) hardcoded input -allow for an input object to change what interface data goes to +(3) robustness, sometimes needs to be rebooted. maybe the serial interface times out? +(4) optimization - lots of ineffeciencies in code, +(5) need to rerun some speed tests - find out how long it takes to get data from IMU, current sampling rate, if rate can be increased +(6) have ?4? i2c ports, can maybe use all 4 to log faster? +(7) need to run some speed tests on mux, find out how long it takes to switch a channel +(8) automate calibration - python logger gets data, finds calibration offsets, then saves file, then sends file to mbed to use +(9) move all constants to a seperate header file to make code more readable */ #include "mbed.h"