added gy80 dcm
Dependencies: mbed DCM_AHRS_GY80 PID MMA8451Q
Fork of quadCommand by
Diff: quadCommand/quadCommand.h
- Revision:
- 1:9b90e7de6e09
- Parent:
- 0:8681037b9a18
- Child:
- 6:21ae5e53bb5f
diff -r 8681037b9a18 -r 9b90e7de6e09 quadCommand/quadCommand.h --- a/quadCommand/quadCommand.h Sun Jun 09 22:13:59 2013 +0000 +++ b/quadCommand/quadCommand.h Sun Jun 09 22:33:11 2013 +0000 @@ -31,22 +31,16 @@ motor *myMotors[4]; // Array of motor objects. com *myCom; // The com object. sensors *world; // Sensors used to observe the world. - - short rxThrottle; // Throttle position: 0 -> 100. - short rxPitch; // Pitch: -180 -> 180. - short rxRoll; // Roll: -180 -> 180. - short rxYaw; // Yaw: -180 -> 180. - - bool globalUpdate; - short currentPitch; // - bool updatedPitch; + float currentThrottle; + float currentPitch; + float currentRoll; + float currentYaw; - short currentRoll; // - bool updatedRoll; - - short currentAlt; // - bool updatedAlt; + float targetThrottle; + float targetPitch; + float targetRoll; + float targetYaw; }; #endif \ No newline at end of file