Best method for merging rotation data
I have two sensors providing a z-axis rotation estimate on a two-wheeled differential drive platform:
- motor encoders
- a compass-aligned gyroscope
Does it make sense to use some algorithm to merge these two, or should I just rely on the gyro? If I should combine them, what's the proper algorithm to use (Kalman filter, Complementary filter, simple moving average, etc)?