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: MPU6050 PID Quadcopter Servo mbed
Revision 7:0c31ccba7b3c, committed 2015-02-25
- Comitter:
- moklumbys
- Date:
- Wed Feb 25 10:38:30 2015 +0000
- Parent:
- 6:5e815d4b4d8f
- Child:
- 8:56bdb0d7002b
- Commit message:
- enable calibrating by default.
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Wed Feb 25 00:56:18 2015 +0000
+++ b/main.cpp Wed Feb 25 10:38:30 2015 +0000
@@ -82,7 +82,7 @@
mpu.setAlpha(0.97); //set Alpha coefficient for low/high pass filters
quad.setLimits(MIN_CALIBRATE, MAX_CALIBRATE); //set calibration limits for the system
-// quad.calibrate(); //calibrating motors
+ quad.calibrate(); //calibrating motors
pitchPID.setInputLimits (PITCH_IN_MIN, PITCH_IN_MAX); //seting input and output limits for both pitch and roll
pitchPID.setOutputLimits (PITCH_OUT_MIN, PITCH_OUT_MAX);