I'm working on coupling gyro and electronic compass for better accuracy of device orientation (using particle filters). I have one basic question, though: how do I establish ground truth in this case? I cannot use the compass readings alone, since the whole basis of my experiment is that the compass readings are inaccurate.
Would taking an average of a number of compass readings be a sufficient approximation? Is there any other idea, besides having a compass of "greater accuracy"?