This is the one where I went back and un-did the cube.cpp file
Dependencies: BNO055_fusion_tom FastPWM mbed
Fork of NucleoCube1 by
Diff: cube.h
- Revision:
- 24:c7b3bac429c5
- Parent:
- 23:abe76b7c377a
- Child:
- 28:b813a8f685c3
--- a/cube.h Wed Apr 12 00:29:45 2017 +0000 +++ b/cube.h Wed Apr 12 20:54:52 2017 +0000 @@ -23,8 +23,9 @@ double eqAngle; // Equilibrium angle double *angle; // Points to angle in IMU Euler_angle struct double *vel; // Points to vel in IMU VEL struct - PwmOut *pwm; // PWM out for motor control - AnalogIn *hall; // Analog in for wheel velocity + PwmOut *pwm; // PWM out for motor control + AnalogIn *hall; // Analog in for wheel velocity + char *descr; // Description of config }; /* -- CONSTANTS -- */ @@ -58,6 +59,11 @@ /* -- PROTOTYPES -- */ /* + * Checks and prints calibration until sys calib is at 3 / 3 + */ +void checkCalib(BNO055 *imu, Serial *pc); + +/* * TODO: Documentation here * Note: should this function be inline? */