mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-01 12:31:36 +08:00
FlightTaskManual: increase rc timeout to 1.5 x COM_RC_LOSS_T
This commit is contained in:
committed by
ChristophTobler
parent
1f1c9fde01
commit
a24fdb93c3
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user