I have connected the Dexter Industries IMU Sensor to the GoPiGo on I2C and am getting inconsistent results in some cases and what seems to be incorrect results in others.
For example, I am trying to calculate azimuth using the magnetometer data obtained by calls to inertial_measurement_unit.py
Here is the statement I am using for the calculation:
Azimuth = (90 - (math.atan2(mag, mag)*180) / math.pi)
With the GoPiGo engaged in turning in a full circle, I would anticipate having continuous values in the range 0 to 360, Instead the values go to 264 then drop negative then turn positive again before rising to 264 before dropping negative again.
I also can see no information anywhere on your site on how to calibrate the sensor. I did found information from Bosch on calibrating the BNO055, which seems interesting. Unfortunately, I cannot find how to do with your unit the sort of operations they are illustrate in this video: https://youtu.be/Bw0WuAyGsnY
I could also use some guidance as to the proper orientation for placing the sensor on the GoPiGo. Photos on the Web site show the sensor mounted on the unit with devices that I learned (after placing my order!) must be ordered separately.