Stick Verbose Functions : Edit other FlightTasks using checkAndUpdateStickInputs() functions and correct Throttle returned value inverse issue

This commit is contained in:
Junwoo Hwang
2022-03-23 11:54:05 +01:00
committed by Matthias Grob
parent 8266a4df98
commit f78465428c
3 changed files with 3 additions and 3 deletions
@@ -65,7 +65,7 @@ public:
// Helper functions to get stick values more intuitively
float getPitch() { return _positions(0); }
float getRoll() { return _positions(1); }
float getThrottle() { return _positions(2); }
float getThrottle() { return -_positions(2); } // Convert Z-axis(down) command to Up-axis frame
float getYaw() { return _positions(3); }
/**