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:
- 37:76bfd4e9c383
- Parent:
- 36:ed8b7b7b6cfa
- Child:
- 38:801fee0330e2
--- a/definitions.h Sun Mar 04 15:17:38 2018 +0000 +++ b/definitions.h Fri Mar 23 14:29:09 2018 +0000 @@ -16,10 +16,10 @@ #define AUX1 4 #define AUX2 5 -#define THROTTLE_LIMIT 1600 +#define THROTTLE_LIMIT 1500 -#define FLIGHT_CONTROLLER_FREQUENCY 200 +#define FLIGHT_CONTROLLER_FREQUENCY 100 /* pc.printf("ROLL %d\n\r", channels[ROLL]);