Further reading
These further study aids will help you learn more and dive deeper into the PID algorithm and its quirks:
- The Adafruit CircuitPythong API guide for the BNO055 shows what else you can do with this sensor: https://docs.circuitpython.org/projects/bno055/en/latest/api.html - BNO055.
- Learn Robotics Programming provides a guide for interfacing a Raspberry Pi device with a different IMU chip, the ICM90248, and writing code to calculate Euler angles, along with interesting ways to visualize this. It also shows how you can use encoders to make a known turn instead, perhaps when objects distort the magnetometer readings.
- Paul McWhorter performs Arduino experiments with the same BNO055 sensor in an intensive video series: https://toptechboy.com/arduino-based-9-axis-inertial-measurement-unit-imu-based-on-bno055-sensor/.