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

Can not complete gyro zero calibratinon if gyro sensityvity is higher than default. #10650

Open
and-sh opened this issue Jan 27, 2025 · 3 comments

Comments

@and-sh
Copy link

and-sh commented Jan 27, 2025

Current Behavior

Can not complete gyro zero calibratinon if gyro sensityvity is higher than default.

The is error that std dev is calculated from raw readings

Image

and threshold is independent on gyro scale.

Image

Steps to Reproduce

Use precision gyro.

Expected behavior

Zero calibration must be independent on gyro sensitivity.

Suggested solution(s)

Adjust threshold on gyro scale factor.

Additional context

All versions of Inav have this error

@MrD-RC MrD-RC changed the title Can not complete gyro zero calibratinon if gyro sensityvity is higher then default. Can not complete gyro zero calibratinon if gyro sensityvity is higher than default. Jan 27, 2025
@DzikuVx
Copy link
Member

DzikuVx commented Feb 3, 2025

Which exact hardware this is related to?

@and-sh
Copy link
Author

and-sh commented Feb 3, 2025

It will be related to any hardware with resolution different from 16.4 LSB per degree/s.

Now I use custom board with icm45686. I found this problem when I was testing different FS for gyro and accel.

@and-sh
Copy link
Author

and-sh commented Feb 4, 2025

Second error of this type is accel clipping limit

#define ACC_CLIPPING_THRESHOLD_G 15.9f

When using an accelerometer with a limit of 32g or 8g, this will not work correctly.

If everything is left as is, these errors will cause a lot of difficulties in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants