import load
d=load.loadFiles("./traceFile",12)
#imuAll=load.getAll(d,"leftHandLocation")
#load.saveInOneLine(imuAll,"./leftHandLocation.txt")
imuAll=load.getAll(d,"World_UV")
#imu = [x[0] for x in imuAll]
imu=[]
for i in range(len(imuAll)):
if imuAll[i]:
imu.append(imuAll[i][0])
else:
imu.append([0,0,0,0,0])
print (111)
load.saveInOneLine(imu,"./World_UV.txt")