FlightTaskManual: increase rc timeout to 1.5 x COM_RC_LOSS_T

This commit is contained in:
Dennis Mannhart
2018-08-30 09:27:48 +02:00
committed by ChristophTobler
parent 1f1c9fde01
commit a24fdb93c3
3 changed files with 9 additions and 2 deletions
@@ -262,10 +262,12 @@ void FlightTaskAuto::_set_heading_from_mode()
if (v.length() > NAV_ACC_RAD.get()) {
_compute_heading_from_2D_vector(_yaw_setpoint, v);
_yaw_lock = false;
} else {
if (!_yaw_lock) {
_yaw_setpoint = _yaw;
_yaw_lock = true;
}
}
} else {