add acc and gyro data output to file when use option OUTPUT_DATA.