mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 05:03:34 +08:00
EKF: update initial angle alignment check
This commit is contained in:
@@ -176,13 +176,11 @@ void Ekf::fuseVelPosHeight()
|
||||
// record the successful velocity fusion time
|
||||
if (vel_check_pass && _fuse_hor_vel) {
|
||||
_time_last_vel_fuse = _time_last_imu;
|
||||
_tilt_err_vec.setZero();
|
||||
}
|
||||
|
||||
// record the successful position fusion time
|
||||
if (pos_check_pass && _fuse_pos) {
|
||||
_time_last_pos_fuse = _time_last_imu;
|
||||
_tilt_err_vec.setZero();
|
||||
}
|
||||
|
||||
// record the successful height fusion time
|
||||
|
||||
Reference in New Issue
Block a user