2 sensor readings fusion (Yaw, pitch)
问题 Currently I am implementing a head tracking solution that takes yaw and pitch from 2 difference sources; a gyro and a magnetic field sensor. I have both the values passed into my program and now I am attempting to determine the best way to keep the precision of the gyro with the lossless nature of a fixed emitter mf sensor. Currently I am using newYaw = currentGyroYaw + 0.05*(difference between) to slowly drag the gyro to anchor to the mf, but it has some fairly constant movement. It has been