Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- "(-0.16192019, -0.007456851, 0.08841695)","(-0.10439591, 0.024501082, 0.12783173)","(-0.05965481, 0.049002163, 0.12144014)",...
- for j in range(len(sensor_data)):
- with open(names[j] + "P" + str(i) + ".csv", "wb") as f:
- writer = csv.writer(f)
- writer.writerows(sensor_data[j])
- gyro.append((float(merge.iloc[j, 2]), float(merge.iloc[j, 3]), float(merge.iloc[j, 4]))) if merge.iloc[j, 0] == 'Gyroscope'
- else acc.append((float(merge.iloc[j, 2]), float(merge.iloc[j, 3]), float(merge.iloc[j, 4])))
Add Comment
Please, Sign In to add comment