mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-12 12:27:35 +08:00
EKF: Enable control mode transitions to be detected
Save the previous value of the filter control modes
This commit is contained in:
@@ -151,6 +151,8 @@ void Ekf::controlFusionModes()
|
||||
_control_status.flags.wind = false;
|
||||
}
|
||||
|
||||
// Store the status to enable change detection
|
||||
_control_status_prev.value = _control_status.value;
|
||||
}
|
||||
|
||||
void Ekf::calculateVehicleStatus()
|
||||
|
||||
Reference in New Issue
Block a user