Dependencies:   BNO055_fusion_tom FastPWM mbed

Fork of NucleoCube1 by Will Church

Revision:
24:c7b3bac429c5
Parent:
23:abe76b7c377a
--- 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?
  */