You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If that's still too large, you're gonna have to get the raw accelerometer, mag, and gyro values using a library like that one. But rather than using the DMP to get the quaternion, you'll need to do it using a madgwick algorithm.
For example you can see here what you need to do. Get the raw accelerometer, gyro and mag values and feed them into that update function. Then you can get the roll, pitch and yaw.
I was thinking of using your code, but it seems your code plus the 20948 library plus my code is too big for the arduino.
All i need is to be able to read the values as a quaternion, do i need all your code to do that?
The text was updated successfully, but these errors were encountered: