How to remove gravity factor from accelerometer acceleration data.

I am using BNO05 sensor. I am having accelerator, gyro, quaternions, ... data. Now in order to get linear acceleration i need to remove gravity from acceleration.

I searched many site but couldn't find answer. I am using normal sensor not mobile. And sensor is moving in space.

After reading Remove gravity from IMU accelerometer i am trying to remove gravity. if any other solution you can refer.

I am working with c++ and openGL. And i am new in this.

Sample acceleration data is
-0.92 0.18 10.15
-2.14 0.83 10.07
-1.05 0.23 10.14

And sample quat data is (Not normalized)
16363 201 754 -300
16363 201 754 -273
16364 201 753 -234


Views: 588

Reply to This

Replies to This Discussion

Welcome to the difference between sensors and an actual AHRS ;-)

This is what control theory is all about. You have to fuse all 9 degrees of freedom to get an attitude estimation. If you're moving in a curve, you need to add GPS via a kalman filter to get a estimation that is not distorted by centrifugal forces.

That's the whole point of an AHRS -- knowing where "down" is. Until you know that, you can't subtract "down". It's non-trivial, which is why kalman filters exist.  Just google AHRS and use that implementation on your hardware

Reply to Discussion


© 2018   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service