EKF: update initial angle alignment check

This commit is contained in:
Paul Riseborough
2016-05-05 21:23:03 +10:00
parent bc34b14779
commit 727a43764f
4 changed files with 3 additions and 15 deletions
-3
View File
@@ -470,9 +470,6 @@ bool Ekf::initialiseFilter(void)
// update transformation matrix from body to world frame
_R_to_earth = quat_to_invrotmat(_state.quat_nominal);
// initialise the filtered alignment error estimate to a larger starting value
_tilt_err_length_filt = 1.0f;
// calculate the averaged magnetometer reading
Vector3f mag_init = _mag_filt_state;