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
In my previous issue ticket, you noticed I had some drift in my gyro at startup and you had mentioned to use FusionOffsetInitialise() to solve it. It actually was already on, but there is an issue with that function. when called , Line 44 of FusionOffset.c zeroes out the gyroscopeOffset value I defined in my sketch. So the gyro always starts off calibration, then, after a couple of minutes it slowly drifts to the center.
Line 44: offset->gyroscopeOffset = FUSION_VECTOR_ZERO;
On a side note, I would love to be able to access the updated values used by
The text was updated successfully, but these errors were encountered:
My understanding is that you have defined the variable gyroscopeOffset on line 20 and you believe that line 44 will overwrite this variable with the assignment offset->gyroscopeOffset = FUSION_VECTOR_ZERO;. If this is the case then you are mistaken. gyroscopeOffset and offset->gyroscopeOffset are not the same variable.
In my previous issue ticket, you noticed I had some drift in my gyro at startup and you had mentioned to use
FusionOffsetInitialise()
to solve it. It actually was already on, but there is an issue with that function. when called , Line 44 of FusionOffset.c zeroes out thegyroscopeOffset
value I defined in my sketch. So the gyro always starts off calibration, then, after a couple of minutes it slowly drifts to the center.Line 44:
offset->gyroscopeOffset = FUSION_VECTOR_ZERO;
On a side note, I would love to be able to access the updated values used by
The text was updated successfully, but these errors were encountered: