Making an ESP32-based quadcopter from scratch
Python arduinoautopilotcontrol-theorydroneesp32flight-controlflight-controllermavlinkquadcopterquadcopter-firmwareuav
Use only STAB mode by default
Oleg Kalachev26a028ff6644
diff --git a/flix/control.ino b/flix/control.inoindex f6625a3..b120931 100644--- a/flix/control.ino+++ b/flix/control.ino@@ -68,10 +68,11 @@ void control() {}void interpretRC() {+ // NOTE: put ACRO or MANUAL modes there if you want to use themif (controls[RC_CHANNEL_MODE] < 0.25) {- mode = MANUAL;+ mode = STAB;} else if (controls[RC_CHANNEL_MODE] < 0.75) {- mode = ACRO;+ mode = STAB;} else {mode = STAB;}