added gy80 dcm

Dependencies:   mbed DCM_AHRS_GY80 PID MMA8451Q

Fork of quadCommand by Greg Abdo

Revision:
8:72791d8c36b7
Parent:
6:21ae5e53bb5f
Child:
9:9e0d0ba5b6b1
Child:
15:92ecb025fbc5
diff -r 94f75781e2e7 -r 72791d8c36b7 quadCommand/quadCommand.h
--- a/quadCommand/quadCommand.h	Sun Jun 09 23:08:43 2013 +0000
+++ b/quadCommand/quadCommand.h	Sun Jun 09 23:36:31 2013 +0000
@@ -26,8 +26,7 @@
         quadCommand();          // Constructor.
         void run();             // Loop.
         void rxInput();         // Deal with new input from xbee.
-        void updatePosition();  
-        void txPosition();
+        void updateMotors();
     
     private:
         motor *myMotors[4];     // Array of motor objects.
@@ -47,6 +46,8 @@
         PID pidPitch(1.5,0.1,1.20,DEFAULT_WINDUP_GUARD);
         PID pidRoll(1.5,0.1,1.20,DEFAULT_WINDUP_GUARD);
         PID pidYaw(1.5,0.1,1.20,DEFAULT_WINDUP_GUARD);
+        
+        static const float MOTOR_UPDATE;
 };
 
 #endif
\ No newline at end of file