added gy80 dcm
Dependencies: mbed DCM_AHRS_GY80 PID MMA8451Q
Fork of quadCommand by
Diff: quadCommand/quadCommand.h
- Revision:
- 20:4cdabb792d16
- Parent:
- 19:666261bbc111
- Child:
- 40:8c01bf294768
diff -r 666261bbc111 -r 4cdabb792d16 quadCommand/quadCommand.h --- a/quadCommand/quadCommand.h Mon Jun 10 00:18:23 2013 +0000 +++ b/quadCommand/quadCommand.h Mon Jun 10 00:24:39 2013 +0000 @@ -39,7 +39,9 @@ void run(); // Loop. void rxInput(); // Deal with new input from xbee. void updateMotors(); - + + static const float MOTOR_UPDATE; + private: motor *myMotors[4]; // Array of motor objects. com *myCom; // The com object. @@ -59,8 +61,6 @@ PID pidPitch; PID pidRoll; PID pidYaw; - - static const float MOTOR_UPDATE; }; #endif \ No newline at end of file