Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed PID MMA8451Q
Diff: quadCommand/quadCommand.cpp
- Revision:
- 60:6906a96344a0
- Parent:
- 58:9dfd9169a5e7
--- 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);