added gy80 dcm
Dependencies: mbed DCM_AHRS_GY80 PID MMA8451Q
Fork of quadCommand by
Diff: quadCommand/quadCommand.h
- Revision:
- 58:983801808a94
- Parent:
- 56:a550127695b2
- Child:
- 59:9dfd9169a5e7
diff -r c29f2dac3903 -r 983801808a94 quadCommand/quadCommand.h --- a/quadCommand/quadCommand.h Wed Jul 03 02:40:28 2013 +0000 +++ b/quadCommand/quadCommand.h Wed Jul 03 03:51:45 2013 +0000 @@ -50,12 +50,12 @@ com *myCom; // The com object for Xbee communication. sensors *world; // Sensors used to observe the world. - PID pidPitch; // PID for pitch. - PID pidRoll; // PID for roll. - PID pidYaw; // PID for yaw. + PID *pidPitch; // PID for pitch. + PID *pidRoll; // PID for roll. + PID *pidYaw; // PID for yaw. Ticker motorProcess; // Timer for updating the motors. - + float currentThrottle; // Current throttle. float currentPitch; // Current pitch. float currentRoll; // Current roll.