added gy80 dcm

Dependencies:   mbed DCM_AHRS_GY80 PID MMA8451Q

Fork of quadCommand by Greg Abdo

Revision:
40:8c01bf294768
Parent:
34:d6696dc977a2
Child:
42:9b5d58070e92
diff -r e57a5effd05e -r 8c01bf294768 quadCommand/quadCommand.cpp
--- a/quadCommand/quadCommand.cpp	Mon Jun 10 01:17:58 2013 +0000
+++ b/quadCommand/quadCommand.cpp	Mon Jun 10 01:32:09 2013 +0000
@@ -13,6 +13,8 @@
     pidRoll(1.5,0.1,1.20,DEFAULT_WINDUP_GUARD),
     pidYaw(1.5,0.1,1.20,DEFAULT_WINDUP_GUARD)
 {
+        Ticker sensorProcess;
+        sensorProcess.attach( this, &quadCommand::sendTelemetry, 2 );
         myCom = new com( TXPIN, RXPIN );        // Setup com object.       
         world = new sensors();                  // Setup the sensors.
         
@@ -83,4 +85,13 @@
     myMotors[ 1 ]->setSpeed(speed1);    // Motor 2
     myMotors[ 2 ]->setSpeed(speed2);    // Motor 3
     myMotors[ 3 ]->setSpeed(speed3);    // Motor 4
+}
+
+/**************************** sendData() *********************************/
+/*                                                                       */
+/*************************************************************************/
+
+void quadCommand::sendTelemetry()
+{
+    
 }
\ No newline at end of file