Making an ESP32-based quadcopter from scratch
Python arduinoautopilotcontrol-theorydroneesp32flight-controlflight-controllermavlinkquadcopterquadcopter-firmwareuav
Make motor testing signal 0.2 instead of full power Testing with full power is too dangerous and inconvenient.
Oleg Kalachev06e20470978c
diff --git a/flix/motors.ino b/flix/motors.inoindex 42cb0c5..3289755 100644--- a/flix/motors.ino+++ b/flix/motors.ino@@ -54,7 +54,7 @@ bool motorsActive() {void testMotor(int n) {print("Testing motor %d\n", n);- motors[n] = 1;+ motors[n] = 0.2;delay(50); // ESP32 may need to wait until the end of the current cycle to change duty https://github.com/espressif/arduino-esp32/issues/5306sendMotors();pause(3);