mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 17:13:33 +08:00
ekf2: lower fake position observation variance when at rest
This commit is contained in:
@@ -108,7 +108,7 @@ void Ekf::fuseFakePosition()
|
||||
} else if (!_control_status.flags.in_air && _control_status.flags.vehicle_at_rest) {
|
||||
// Accelerate tilt fine alignment by fusing more
|
||||
// aggressively when the vehicle is at rest
|
||||
fake_pos_obs_var(0) = fake_pos_obs_var(1) = sq(0.1f);
|
||||
fake_pos_obs_var(0) = fake_pos_obs_var(1) = sq(0.01f);
|
||||
|
||||
} else {
|
||||
fake_pos_obs_var(0) = fake_pos_obs_var(1) = sq(0.5f);
|
||||
|
||||
Reference in New Issue
Block a user