MAVLINKHUD

EKF FAILSAFES

Critical safety mechanisms. Understanding Extended Kalman Filter variance, lane switching, and emergency behaviors.

Safety Mechanisms

Compass Fusion & Magnetic Interference

Magnetometers (Compasses) are the most fragile sensors on a drone. They are easily corrupted by power lines, metal bridges, or even the drone's own...

VIEW DATA

EKF Lane Switching & Redundancy

Modern [flight controllers](/field-manual/build-guide/flight-controllers.html) (like the Cube Orange) have multiple redundant IMUs (Accelerometers/...

VIEW DATA

EKF Variance & Innovations

When the GCS screams **"EKF Variance"** or **"Velocity Variance"**, it means the autopilot is confused. Specifically, it means the sensor data (GPS...

VIEW DATA

GPS Glitch Protection

GPS is imperfect. Multipath errors (signals bouncing off buildings) can cause the GPS reported position to jump 10 meters instantly. If the [flight...

VIEW DATA

Optical Flow Fusion

Optical Flow is the primary method for non-GPS [navigation](/field-manual/navigation-mission/navigation-architecture.html) (FlowHold) and precision...

VIEW DATA

Terrain Estimation (EKF)

For precision landing and [optical flow](/field-manual/ekf-failsafes/optical-flow-fusion.html), the drone must know its height above the ground (AG...

VIEW DATA

The Crash Checker

The **Crash Check** is a software safety mechanism designed to detect if the vehicle is out of control and impacting the ground. If a crash is conf...

VIEW DATA

The EKF Core: Fusion Architecture

The **Extended Kalman [Filter](/field-manual/advanced-tuning/harmonic-notch-filtering.html) (EKF)** is the mathematical brain of the autopilot. Its...

VIEW DATA

Vibration Failsafe & Clipping

Vibration is the #1 enemy of the EKF. If the frame vibrates too much, the accelerometers produce "Aliased" data—high-frequency shaking that the E...

VIEW DATA

Wind Estimation & Drag Fusion

Knowing the wind speed is critical for accurate [navigation](/field-manual/navigation-mission/navigation-architecture.html), especially for Return-...

VIEW DATA