mpu6050 icon indicating copy to clipboard operation
mpu6050 copied to clipboard

Feature request: offsets for raw readings

Open HeikoRibberink opened this issue 3 years ago • 3 comments

Since every Mpu6050 sensor is different, it is necessary to add offsets to the raw readings to calibrate the sensor.

It would be very handy if this crate has a feature for specifying these offsets, and maybe even an example to calculate these offsets, as seen in the IMU_Zero example in the arduino library by ElectronicCats.

If you need help translating the arduino code or creating the feature, let me know!

HeikoRibberink avatar Jan 09 '22 14:01 HeikoRibberink

Currently working on a fork for this. I will create a pull request as soon as I have tested my example.

HeikoRibberink avatar Jan 17 '22 17:01 HeikoRibberink

Thanks a lot. PR's are more than welcome.

juliangaal avatar Jan 26 '22 14:01 juliangaal

PR here

HeikoRibberink avatar Jan 27 '22 19:01 HeikoRibberink