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
Diff: hardware.h
- Branch:
- DistanceRegulation
- Revision:
- 39:93d8aa47f4ce
- Parent:
- 38:801fee0330e2
- Child:
- 40:0aa1cefe80ab
--- a/hardware.h Fri Mar 23 14:45:52 2018 +0000 +++ b/hardware.h Sun Mar 25 12:57:04 2018 +0000 @@ -55,6 +55,7 @@ float _newP; float _newI; float _newD; +float _newGroundSetPoint; bool _tempGroundRegulation = false; bool _goAhead = false;