Further reading
For more information on the topics covered in this chapter, refer to the following:
- The World Wide Web Consortium (W3C) has a guide on magnetometer devices in browsers, which makes for interesting reading on techniques, but also on how code on a smartphone might be able to perform these same algorithms to get the phone orientation: https://www.w3.org/TR/magnetometer.
- I've mentioned the
atan2
function a lot; this page has further information on it: https://en.wikipedia.org/wiki/Atan2. - I recommend Paul McWhorter's Arduino experiments with an IMU, and his introduction to VPython—his guide was an instrumental part in the research for this book: https://toptechboy.com/arduino-based-9-axis-inertial-measurement-unit-imu-based-on-bno055-sensor/.
- This paper takes things a bit further and introduces a Global Positioning System (GPS) for further sensor fusion: https://www.researchgate.net/publication/51873462_Data_Fusion_Algorithms_for_Multiple_Inertial_Measurement_Units...