![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
added gy80 dcm
Dependencies: mbed DCM_AHRS_GY80 PID MMA8451Q
Fork of quadCommand by
Diff: quadCommand/quadCommand.cpp
- Revision:
- 60:6906a96344a0
- Parent:
- 59:9dfd9169a5e7
- Child:
- 62:70fc58d4be9b
--- a/quadCommand/quadCommand.cpp Wed Jul 03 04:45:03 2013 +0000 +++ b/quadCommand/quadCommand.cpp Sat Jul 20 02:28:04 2013 +0000 @@ -102,7 +102,7 @@ updateCurrent(); float throttle, pitch, roll, yaw; - throttle = targetThrottle; + throttle = targetThrottle * 5; // Increased throttle Range to match higher resolution pitch = pidPitch->correct(currentPitch, targetPitch, MOTOR_UPDATE); roll = pidRoll->correct(currentRoll, targetRoll, MOTOR_UPDATE); yaw = pidYaw->correct(currentYaw, targetYaw, MOTOR_UPDATE);