added gy80 dcm

Dependencies:   mbed DCM_AHRS_GY80 PID MMA8451Q

Fork of quadCommand by Greg Abdo

Revision:
45:088885f4a13d
Parent:
44:a30ba531f614
Child:
47:adc1a438aa33
diff -r a30ba531f614 -r 088885f4a13d quadCommand/quadCommand.cpp
--- a/quadCommand/quadCommand.cpp	Mon Jun 10 01:52:57 2013 +0000
+++ b/quadCommand/quadCommand.cpp	Mon Jun 10 02:12:02 2013 +0000
@@ -23,6 +23,11 @@
         myMotors[1] = new motor( MOTOR2 );      // Connect motor 1 to PTA12 pin.
         myMotors[2] = new motor( MOTOR3 );      // Connect motor 2 to PTA4 pin.
         myMotors[3] = new motor( MOTOR4 );      // Connect motor 3 to PTA5 pin.
+        
+        targetThrottle  = currentThrottle   = 0;
+        targetPitch     = currentPitch      = 0;
+        targetRoll      = currentRoll       = 0;
+        targetYaw       = currentYaw        = 0;
 }
 
 /******************************* run() ***********************************/