Guest User

Untitled

a guest
Oct 18th, 2017
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. "(-0.16192019, -0.007456851, 0.08841695)","(-0.10439591, 0.024501082, 0.12783173)","(-0.05965481, 0.049002163, 0.12144014)",...
  2.  
  3. for j in range(len(sensor_data)):
  4. with open(names[j] + "P" + str(i) + ".csv", "wb") as f:
  5. writer = csv.writer(f)
  6. writer.writerows(sensor_data[j])
  7.  
  8. gyro.append((float(merge.iloc[j, 2]), float(merge.iloc[j, 3]), float(merge.iloc[j, 4]))) if merge.iloc[j, 0] == 'Gyroscope'
  9. 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