|
|
|
@ -408,7 +408,7 @@ void NavEKF3_core::setAidingMode()
@@ -408,7 +408,7 @@ void NavEKF3_core::setAidingMode()
|
|
|
|
|
void NavEKF3_core::checkAttitudeAlignmentStatus() |
|
|
|
|
{ |
|
|
|
|
// Check for tilt convergence - used during initial alignment
|
|
|
|
|
// Once the tilt variances have reduced to equivalent of 3deg uncertainty, re-set the yaw and magnetic field states
|
|
|
|
|
// Once the tilt variances have reduced, re-set the yaw and magnetic field states
|
|
|
|
|
// and declare the tilt alignment complete
|
|
|
|
|
if (!tiltAlignComplete) { |
|
|
|
|
if (tiltErrorVariance < sq(radians(5.0f))) { |
|
|
|
|