sparkfun / SparkFun_ICM-20948_ArduinoLibrary

Arduino support for ICM_20948 w/ portable C backbone
Other
168 stars 72 forks source link

calibration in imu #127

Closed jasvinder1079 closed 1 year ago

jasvinder1079 commented 1 year ago

Hi, do we need to calibrate the sensor icm-20948 or DMP is automatically do this if we rotate the sensor in all direction during power on? or we have to make some changes in the code for the calibration.

PaulZC commented 1 year ago

Hi,

To calibrate the DMP: start the DMP; rotate the sensor around all three axes; and hold it stationary in all six orientations for a few seconds.

Best wishes, Paul

jasvinder1079 commented 1 year ago

OK DMP automatically calibrate the sensor when we turn it on and rotate it in all direction but Without DMP how to calibrate ICM-20948?

PaulZC commented 1 year ago

You will need to do that using the normal IMU techniques. See: https://thecavepearlproject.org/2015/05/22/calibrating-any-compass-or-accelerometer-for-arduino/