mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-24 16:50:34 +08:00
ekf2: magless mode increase yaw estimator yaw fusion rate
This commit is contained in:
@@ -69,7 +69,7 @@ void Ekf::controlGpsFusion()
|
||||
if (isYawEmergencyEstimateAvailable()
|
||||
&& _control_status.flags.yaw_align
|
||||
&& isTimedOut(_ekfgsf_yaw_reset_time, 1'000'000)
|
||||
&& isTimedOut(_time_last_heading_fuse, (uint64_t)1'000'000)) {
|
||||
&& isTimedOut(_time_last_heading_fuse, (uint64_t)500'000)) {
|
||||
|
||||
float innovation = wrap_pi(getEulerYaw(_R_to_earth) - _yawEstimator.getYaw());
|
||||
float obs_var = _yawEstimator.getYawVar();
|
||||
|
||||
Reference in New Issue
Block a user