mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-18 23:10:35 +08:00
EKF: Allow sideslip fusion with airspeed fusion
This commit is contained in:
committed by
Lorenz Meier
parent
fb6f4be453
commit
352b4ca177
+1
-1
@@ -778,7 +778,7 @@ void Ekf::controlAirDataFusion()
|
||||
void Ekf::controlBetaFusion()
|
||||
{
|
||||
bool beta_fusion_time_triggered = _time_last_imu - _time_last_beta_fuse > _params.beta_avg_ft_us;
|
||||
if(beta_fusion_time_triggered && _control_status.flags.fuse_beta && _control_status.flags.in_air && _time_last_arsp_fuse > 5e6){
|
||||
if(beta_fusion_time_triggered && _control_status.flags.fuse_beta && _control_status.flags.in_air){
|
||||
fuseSideslip();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user