Home
last modified time | relevance | path

Searched refs:gyro_rots (Results 1 – 1 of 1) sorted by relevance

/cts/apps/CameraITS/tests/sensor_fusion/
Dtest_sensor_fusion.py114 gyro_rots = get_gyro_rotations(events["gyro"], cam_times)
115 plot_rotations(cam_rots, gyro_rots)
118 dist = scipy.spatial.distance.correlation(cam_rots,gyro_rots)
143 gyro_rots = get_gyro_rotations(gyro_events, times)
144 dists.append(scipy.spatial.distance.correlation(cam_rots,gyro_rots))
176 def plot_rotations(cam_rots, gyro_rots): argument
186 gyro_rots = gyro_rots * (360/(2*math.pi))
188 pylab.plot(range(len(gyro_rots)), gyro_rots, 'b', label="gyro")
211 gyro_rots = []
243 gyro_rots.append(sgyro)
[all …]