JPannetier Posted August 29, 2018 at 09:36 AM Share Posted August 29, 2018 at 09:36 AM Hello everybody, I'm trying to implement a code (Python) to get position x y z from IMU Brick 2.0 accelerometer, in live mode. In the first step, I implemented the rotate accelerometer by quaternion to remove the gravity and rotation of my sensor. After i integrate directly to have velocity and position : example : Vx(k) = Vx(k-1)+Ax(k)*dt X(k) = X(k-1) + Vx(k)*dt Nevertheless, into my accel. data I have an offset. Somebody would have already implemented this type of code to remove the offset (drift) ? to get the position I don't know if i must a kalman filter or other.... Thank you Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.