Regenerating PPM signal based on distances from ultrasonic sensors, ESP8266 for connectin via wifi. Autonomous quadcopter behaviour, autonomou height holding. Flying direction based on front and back ultrasonic sensors.

Dependencies:   ConfigFile HCSR04 PID PPM2 mbed-rtos mbed

Branch:
DistanceRegulation
Revision:
21:0afb91824792
Parent:
17:1896d242945b
Child:
25:69190c222dbf
--- a/hardware.h	Sun Oct 29 11:27:27 2017 +0000
+++ b/hardware.h	Sun Oct 29 11:56:04 2017 +0000
@@ -42,6 +42,7 @@
 float _I = 0;
 float _D = 0;
 int _groundSetPoint = 0;
+bool _groundRegulation = false;