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

Need IMU Offset calibration #124

Open
Menginventor opened this issue Nov 19, 2020 · 4 comments
Open

Need IMU Offset calibration #124

Menginventor opened this issue Nov 19, 2020 · 4 comments

Comments

@Menginventor
Copy link

I use MPU6886 and I need to read/write acc/gyro offset value for calibrating IMU.
please add these feature to your library.
regard

@uecken
Copy link

uecken commented Nov 22, 2020

Also, I have a favor.
After execute function "M5.IMU.getAhrsData(&pitch,&roll,&yaw)", I can get about pitch:3, roll:10, yaw:random.
I want to offset this pitch and roll within -180 to 180 phase.
Could you fix it?

@Menginventor
Copy link
Author

May be you need to implement AHRS update function by yourself.
the AHRS (roll pitch yaw) system is define how imu frame rotate from global frame you can redefine imu frame by tranform them once with rotation matrix before assign to AHRS function.

@uecken
Copy link

uecken commented Nov 23, 2020

Thank you your comment. I'm not used to C++, I'll try to fix.

@edumo
Copy link

edumo commented May 3, 2021

9 axis working example https://github.com/edumo/M5StickC_Imu-9-axis

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

3 participants