Measurements of IMU (accelerometer and gyroscope) are drifted or with too much error

asked 2020-05-11 01:14:13 -0500

Dylan gravatar image

updated 2020-05-11 01:17:57 -0500

I placed my drone on a table (i.e, at rest) and save (using a ROS topic) the IMU readings:

enter image description here

enter image description here

As you can see, there's a lot of drift or error. I would expect the $x$ and $y$ acceleration to be 0 (I know about the drift, but this is not something that keeps growing, it just has a bias) and $z$ 9.8. What could happen? Before I measure everything, I called the topic flattrim. And I would expect also a better performance for the gyroscope

What can I do to make if work better? If I change the covariance matrices, would it work with less error and drift?

The funny thing is that the velocities (I suppose it integrates the accelerometer readings) are noisy, but their mean is approximately 0:

enter image description here

The covariance matrix is 0 for everything

edit retag flag offensive close merge delete