ComplementaryFilter
A complementary filter is a simple sensor fusion method used to combine measurements from two sensors with complementary frequency characteristics to estimate a quantity such as orientation or angle. It leverages the strengths of each sensor: one provides accurate low-frequency information, while the other supplies high-frequency information, producing a more robust estimate than either sensor alone.
In attitude estimation for inertial measurement units, a common use is to fuse gyroscope data with accelerometer
Variants may implement the filter in Euler angles or quaternions, and can be extended to 2D or