09-29-2019 12:54 AM - edited 09-29-2019 01:01 AM
I'm using the BNO055 in a small robot car. I'm using the BNO055 in NDOF mode, and all other settings at default. Most of the time the heading is perfectly fine with very little drift even in extreme situations like when the car is doing donuts. However, sometimes (once every few minute, perhaps) the heading makes an instantaneous jump of around 20 to 90 degrees. The heading will then usually start drifting back towards the previous heading, but sometimes stop before it gets there (might be interrupted by motion). I know that several jumps have occured while the car was completely stationary (its an electric RC car, so there are very little vibrations when the car is not moving). Similar jumps have also been observed when the sensor was not mounted to the car.
The code reads the quaternions over i2c (the euler angles on the BNO055 are never touched) and the resulting heading is visualized in rviz (visualisation program that's part for the robot operating system), so it's unlikely that there is an error related to faulty conversion to euler angles.
I currently do not have any loggs at hand, but I might get some latter if needed.
Edit with some more info: The sensor is mounted on the adafruit 9 DoF sensor breakout, and the car is driven indoors.
09-30-2019 12:59 PM