Hi,
Yes, you can use BNO055 NDOF mode. Please refer to Youtube video about how to calibrate the BNO055 magnetometer at https://www.youtube.com/watch?v=Nz4EozK4cPY for more information. When you place a magnet, or motor, or power line near a classical mechanical compass, the needle will go crazy. But BNO055 NDOF mode will maintain the heading when BNO055 is stationary.
Thanks.
... View more