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:
4:90ce5817667b
Parent:
3:84d246dccb8d
Child:
5:2aa78a442132
--- a/Quadcopter.h	Thu Feb 19 23:16:00 2015 +0000
+++ b/Quadcopter.h	Fri Feb 20 00:11:00 2015 +0000
@@ -30,7 +30,7 @@
 private:  
     
     float min_calibrate;    //min value at which each motor is calibrated
-    float max_calibrate     //max value ...
+    float max_calibrate;     //max value ...
     Servo* motor[4];        //motors are used with Servo library as ESC take the same input as usual Servo motors...
     float map(float x, float in_min, float in_max, float out_min, float out_max);    //function for mapping values in the range from min calibrate to max_calibrate
 };