Can't get the Z value magnet
Yop !
I compiled the code on a Raspberry pi zero,
I had to modify .addr to 0x69 in the struct hw_s.
I've then tried to do the calibration with imucal, but Z doesn't seem to work.
I have this result:
X -1101|-956|-956 Y -1116|-970|-970 Z -4912|-4912|-4912 -> stuck
The Z value is stuck...
the card I am using: card
I have a friend working on the 6050 card and he has the same issue.
What am I missing? Do you have any tip? Thanks
Hello @rde-mato,
This code was developed quite a while ago and meant for the BeagleBone White/Black. I don't have the right hardware with me anymore to reproduce your error but from your comment, it seems there's an error with the mag data within the IMU. I'd suggest looking at more contemporary drivers of this (and/or similar) device and compare implementations.
On a second thought, I'll leave this open for now. Feel free to report your progress.