Replies: 2 comments 3 replies
-
I wouldn't expect any drift in the acceleration data. Can you elaborate? There may be a small nonzero stationary value due to imperfect alignment of the sensor in the casing, but I suppose you could subtract this.
You can measure angular velocity (rotation), but not linear velocity (translation).
Can you elaborate on the objective? Is it an independent homework problem? Or is it to improve driving a robot? Is it to estimate distance? Could the wheel speed be used to estimate the speed? |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot, @Debenben and @laurensvalk for your feedback and input! @Debenben thank you for sharing your script for calibration. I was also trying to do something similar a while ago but it was much less sophisticated and only subtracted the offset when noticing that the hub was stationary. I will give your version a try and let you know! @laurensvalk This is a really good idea I will try it as well! |
Beta Was this translation helpful? Give feedback.
-
Hey,
I'm currently working on a project where I need to accurately estimate the velocity of the Prime Hub based on its IMU acceleration data, specifically from imu.acceleration(Axis.X). Despite my efforts, I'm finding it challenging to obtain a reliable estimate due to the inherent noise and drift present in the acceleration data. While I've managed to mitigate the noise to some extent using a moving average filter, the drift remains a significant obstacle, leading to unreasonable and wrong results.
Does anyone have experience or advice on effectively compensating for the drift in IMU acceleration data or is there a direct method to obtain velocity data from the Prime Hub that I may have overlooked?
Any insights or advice would be greatly appreciated.
Thank you in advance for your help!
Beta Was this translation helpful? Give feedback.
All reactions