Grove - IMU 9DOF v2.0 with raspberry pi for calculating position

I have been using Grove - IMU 9DOF v2.0 with raspberry pi to calculate the linear displacement, compass values. I followed the code given in this github url (<LINK_TEXT text=“https://github.com/FaBoPlatform/FaBo9AX … 250-Python”>https://github.com/FaBoPlatform/FaBo9AXIS-MPU9250-Python</LINK_TEXT>). While running the read9Axis.py code (which is given inside example folder) i cannot able to get magnetometer values. Can anyone help me to solve this problem??

Hi,



What value is showing in the mag[x], mag[y] and mag[z] place? can you share the error?