When we plugged in our compass to the I2C port on the digital sidecar, we got an Invalid Manufacturer Exception. We double checked the connection and everything seems right. We then installed a jumper configuration on the sidecar and now everything on the robot stops when the compass object is created. Is anyone else getting this error? Did you fix it?
What language are you using?
We are, and no we haven’t fixed it, it’s an issue with the WPI library.
This happens in C++.
I believe it might be due to the typo found in HiTechnicCompass.cpp. I haven’t tried correcting this typo to see if it works without throwing an exception but this is probably the issue.
It shouldn’t affect compass operations though.
So at least for the HiTechnic compass that I have, that’s exactly what the sensor outputs. If yours reports something different, please let me know so I can update the libraries.
For a quick test, just use I2C directly to query those 2 registers just like the library does and then print it out and post it here.
Thanks,
-Joe