If you’re familiar with using a compass ... involves taking measurements from both an accelerometer and a magnetometer, then performing calculations with that data to get a true reading.