fix data file broken problem and convert imu data for ukf