Implement RC fail-safe

This commit is contained in:
Oleg Kalachev
2024-11-04 11:51:17 +03:00
parent 2fdad7bdb6
commit ec832d4e37
7 changed files with 30 additions and 0 deletions

View File

@@ -52,6 +52,7 @@ float thrustTarget;
void control() {
interpretRC();
failsafe();
if (mode == STAB) {
controlAttitude();
controlRate();