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: definitions.h
- Branch:
- DistanceRegulation
- Revision:
- 35:b09e19c855f6
- Parent:
- 34:5dca557e982f
- Child:
- 36:ed8b7b7b6cfa
--- a/definitions.h Sun Feb 25 18:32:13 2018 +0000 +++ b/definitions.h Sat Mar 03 15:38:10 2018 +0000 @@ -19,7 +19,7 @@ #define THROTTLE_LIMIT 1600 -#define FLIGHT_CONTROLLER_FREQUENCY 200 +#define FLIGHT_CONTROLLER_FREQUENCY 50 /* pc.printf("ROLL %d\n\r", channels[ROLL]);