I am trying to measure distances with the 3 axis accelerometer that is part of the LSM9DS1. I measure the acceleration in X-axis and Y-axis every 5ms and double integrate it over the time.
I can already correctly measure the movement along the X- or Y-axis with a precision of +-1cm.
The problem is that when I move the module in which the sensor is contained along one axis, the data shows me that there is also an acceleration along the other axis.
Because of this I get wrong distances when I move the module freely around the table. Has anyone experienced such behavior before and knows an answer?
The data sheet of the LSM9DS1