Find the most accurate orientation of a BMI160 Sensor (Meta Wear CPRO).
Unfortunately, by using the implemented accelerometerBMI160.orientationEvent API method, the orientation wrongly changes when the sensor is being shaken, even though the orientation has not been changed at all. For example, just by moving the sensor “a little bit” fast on y axe or in any axe. Is there any form/algorithm that I can use in order to avoid these “orientation changes”?
So far, what I also tried to do is to check for accelerometer values (x, y and z) and determine according to their values if the orientation has been changed. But by shaking the sensor, the inertial force values vary quite a bit and they make it difficult to determine.
This discussion has been closed.
Comments
However, if you "shake it" you are now applying linear acceleration which is added to gravitational acceleration, biasing the ratio and giving a skewed result.