Speed testing IMUs
Dependencies: MadgwickAHRS mbed
Fork of IMU_serial by
Revision 3:c1902ecb30a7, committed 2016-10-06
- Comitter:
- rctaduio
- Date:
- Thu Oct 06 17:35:14 2016 +0000
- Parent:
- 2:cb405ebe7ed3
- Commit message:
- added todo comments
Changed in this revision
diff -r cb405ebe7ed3 -r c1902ecb30a7 MPU9250.h --- a/MPU9250.h Thu Oct 06 17:00:36 2016 +0000 +++ b/MPU9250.h Thu Oct 06 17:35:14 2016 +0000 @@ -13,6 +13,7 @@ + */
diff -r cb405ebe7ed3 -r c1902ecb30a7 MadgwickAHRS.lib --- a/MadgwickAHRS.lib Thu Oct 06 17:00:36 2016 +0000 +++ b/MadgwickAHRS.lib Thu Oct 06 17:35:14 2016 +0000 @@ -1,1 +1,1 @@ -https://developer.mbed.org/users/rctaduio/code/MadgwickAHRS/#189289643d44 +https://developer.mbed.org/users/rctaduio/code/MadgwickAHRS/#11ffe983c3f8
diff -r cb405ebe7ed3 -r c1902ecb30a7 main.cpp --- 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"