added gy80 dcm

Dependencies:   mbed DCM_AHRS_GY80 PID MMA8451Q

Fork of quadCommand by Greg Abdo

Revision:
55:bca9c9e92da6
Parent:
45:088885f4a13d
Child:
56:a550127695b2
--- a/quadCommand/motor/motor.h	Tue Jun 11 02:36:12 2013 +0000
+++ b/quadCommand/motor/motor.h	Thu Jun 13 01:11:03 2013 +0000
@@ -21,6 +21,8 @@
 
 #include "mbed.h"
 
+#define TRIM_CONST .5
+
 class motor
 {   
     public:
@@ -33,10 +35,11 @@
     
     private:   
         PwmOut _pwm;                // Pin used for PWM.
-        float currentSpeed;           // Speed of the motor.
+        float currentSpeed;         // Speed of the motor.
         float pulse;                // Current pulse of the motor.
         float pulseMin;             // Shortest value for the pulse
-        float pulseMax;             // Largest value for the pulse..
+        float pulseMax;             // Largest value for the pulse.
+        float trim;
 };
 
 #endif
\ No newline at end of file