calibration bin file (inv_cal_data.bin) for mpu 9150

By freeagent , 28 January 2015

Hi,

I am porting sensor HAL library(libsensors_iio) to android based platform.
I have got following error during sensor HAL init.

V/Sensors ( 443): Entering function 'int MPLSensor::inv_constructor_init()'
V/Sensors ( 443): Entering function 'int MPLSensor::inv_constructor_default_enable()'
V/Sensors ( 443): HAL:Invensense vector compass cal enabled
E/MPL-storeload( 443): Cannot open file "/data/inv_cal_data.bin" for read
E/MPL-storeload( 443): Could not load cal file - aborting
E/Sensors ( 443): HAL:Could not open or load MPL calibration file (46)

V/Sensors ( 443): Entering function 'void MPLSensor::inv_set_device_properties()'
V/Sensors ( 443): HAL:sysfs:cat /sys/bus/iio/devices/iio:device0/gyro_matrix (19096008302)

It is trying to load calibration bin file from /data/ location. since it is not available in that location, It is failing to open/load.
I did not get any info regarding inv_cal_data.bin file from Google.

where can i get this calibration bin file?
is it auto generated file??

Regards,
sudharsanan

phpbb Topic ID
16887