Takeoff: address @RomanBapst's review comments

This commit is contained in:
Matthias Grob
2019-05-22 22:05:38 +02:00
committed by Lorenz Meier
parent 1c776f16ec
commit ea48cd4970
5 changed files with 21 additions and 5 deletions
@@ -347,7 +347,7 @@ void FlightTaskManualAltitude::_updateSetpoints()
bool FlightTaskManualAltitude::_checkTakeoff()
{
// stick is deflected above the middle 15% of the range
// stick is deflected above 65% throttle (_sticks(2) is in the range [-1,1])
return _sticks(2) < -0.3f;
}