The magnetic compass sensor is great to have if you want to get involved in navigation routines. It provides a magnetic compass bearing accurate to 2 degrees. The manufacturer's recommend that the sensor be mounted at some distance from sources of electromagnetic interference, such as electric motors. We decided to take it well out the range of the motors by mounting it on top of an upright mast (see Figure 10.1). This seems to have worked well.