which type of data of accelerometer is used for calulate roll and pitch either raw data or converted G data?
i use the lis2dh12 accelerometer and lis3mdl magnetometer for making tilt compensated compass. i read datasheet and application but i have below list of confusion
q 1] which type of data of accelerometer is used for calulate roll and pitch either raw data or converted G data?
q 1.1] which equation is used to convert raw accelerometer data to G value ? with example value.
q 2] which data i need to put inside accelerometer 3 x 3 misalignment matrix ? this question is related to accelerometer calibration.
q 2.1] is it raw data or converted g data?
q 3] explain misalignment matrix (between magnetic field and sensor frame axes) of magnetometer ? this question is related to magnetometer calibration.?
q 4] once the program is done is the tilt and direction with degree is that affected by different place like india to america?
