I wanted to remove gravity from my 3-axis data, Please help me fixing it.
mpu9250_read_accel(&AccValue);
AX = ((AccValue.x *9800)/(16384));
AY = ((AccValue.y *9800)/(16384));
AZ = ((AccValue.z *9800)/(16384));