AP_Motors: remove throttle roll adjust for single motor tailsitter

This commit is contained in:
Mirko Denecke 2021-11-02 20:01:28 +01:00 committed by Andrew Tridgell
parent 854266dc78
commit 8b46ab66bd

View File

@ -177,7 +177,9 @@ void AP_MotorsTailsitter::output_armed_stabilizing()
// Add adjustment to reduce average throttle
_thrust_left = constrain_float(_thrust_left + thr_adj, 0.0f, 1.0f);
_thrust_right = constrain_float(_thrust_right + thr_adj, 0.0f, 1.0f);
_throttle = throttle_thrust + thr_adj;
_throttle = throttle_thrust;
// compensation_gain can never be zero
_throttle_out = _throttle / compensation_gain;