Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Automatic re-calibration could converge faster #1885

Open
laurensvalk opened this issue Oct 17, 2024 · 1 comment
Open

[Bug] Automatic re-calibration could converge faster #1885

laurensvalk opened this issue Oct 17, 2024 · 1 comment
Labels
bug Something isn't working topic: control Issues involving control system algorithms topic: imu Issues related to IMU/gyro/accelerometer

Comments

@laurensvalk
Copy link
Member

There is always a tiny amount of expected drift after initial calibration, such as 0.01 deg/s.

The gyro re-calibrates continuously whenever it is stationary, at a rate of approximately 5% per second of being stationary.

In some cases, this appears to be not fast enough to "catch up" with the changing value.

It is worth exploring if setting the decay rate to 10% or 20% might be better.

@laurensvalk laurensvalk added bug Something isn't working topic: control Issues involving control system algorithms topic: imu Issues related to IMU/gyro/accelerometer labels Oct 17, 2024
@DrTom
Copy link

DrTom commented Dec 6, 2024

#1687 is related to this one

If the calibration would weight recent readings (much) higher than older ones we could expect that some effects of the drift caused by thermal changes is mitigated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working topic: control Issues involving control system algorithms topic: imu Issues related to IMU/gyro/accelerometer
Projects
None yet
Development

No branches or pull requests

2 participants