Simplify and improve control code

Add lower bound desaturation.
Remove constrain calls as they are performed in motors subsystem.
This commit is contained in:
Oleg Kalachev
2026-08-18 11:43:26 +03:00
parent 2fa2a36ec4
commit e7100f03ce
2 changed files with 22 additions and 21 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ void interpretControls();
void controlAttitude();
void controlRates();
void controlTorque();
void desaturate(float& a, float& b, float& c, float& d);
void desaturate();
const char* getModeName();
void sendMotors();
int getDutyCycle(float value);