bolderflight / invensense-imu

Arduino and CMake library for communicating with the InvenSense MPU-6500, MPU-9250 and MPU-9255 nine-axis IMUs.
MIT License
497 stars 210 forks source link

calibration #118

Open alexspace360 opened 1 year ago

alexspace360 commented 1 year ago

hello i am using the library from the source ( github ) , before when i did download it from arduino IDE it did not work , anyway now i am using MPU9250 with example named as i2c , so is the data that come out is raw ? , is there a calibration i can do ? please guide me , because its my first time ever

flybrianfly commented 1 year ago

All of the data from this library goes through the MPU-9250's internal digital low pass filter. The default cutoff frequency is 184 Hz and this can be adjusted using the ConfigDlpfBandwidth method. It is also rotated into this axis system. This is done so that all of the sensors will use the same axis system, otherwise, by default the MPU-9250 outputs the accel/gyro and mag in different axis systems from each other.

I can't really help much with calibration since that's far outside of the scope of this library and there are a lot of different approaches depending on the application.