A library used for controlling a quadcopter. It provides an easy to use interface, which allows to mount, calibrate and run motors. It is also able to calibrate the actual speed according to calculated PID roll & pitch difference. I used the original Servo library as ESC modules use the same PWM signal as Servo motors.

Dependents:   QuadcopterProgram

Revision:
10:8147131fcebd
Parent:
9:22c52af13ac2
--- a/Quadcopter.h	Wed Feb 25 00:55:08 2015 +0000
+++ b/Quadcopter.h	Wed Feb 25 10:42:36 2015 +0000
@@ -81,7 +81,14 @@
     */
     void stabilise (float* speed, float* actSpeed, float rollDiff, float pitchDiff);
     
+    /**
+    * Function used to get the lower calibration limit.
+    */
     float getLowerLimit();
+    
+    /**
+    * Function used to get the upper calibration limit.
+    */
     float getUpperLimit();
 private: