2018-07-24, 09:22 PM
(This post was last modified: 2018-07-24, 09:31 PM by It Paradyske.)
(2018-07-24, 02:48 PM)seandepagnier Wrote: If it works with openplotter it should work with tinypilot because the driver is the same.
There is a bug in tinypilot that if you change to a different sensor, it won't work. If you delete RTIMULib.ini it will work again. I will correct this soon, I am currently working on supporting more sensors. the library may technically detect them and give data, but many sensors need to calibrate the accelerometer bias unlike mpu925x.
The new mpu9255 with orange (not yellow) capacitor also need accelerometer bias calibrated, so beware of this. Currently I have some that have bias so far wrong (more than 1 g) that they saturate the 2g range even when perfectly still. This needs additional work to automatically switch to 4g range in the driver, and will lose a bit of precision (which should be ok)
So at the moment I suggest only mpu9250/mpu9255 with yellow capacitor or otherwise factory calibrated accelerometer (range .098 to 1.02 g) but I will support other sensors soon, and it requires additional calibration for accelerometer bias.
The new IMU arrived, and after some struggles it was working.
Was, because when I did the update to 1.1.0 Alpha, the mpu-9250 is detected, but all the variables say n/a when I go to calibration.
Switching back to 1.0.0 made it work again.
And when the calibration is stable I have to lock it immediately, because after a while it starts misbehaving again (values all over the range)
Is this the Yellow one?