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.py178 gyro_rots = get_gyro_rotations(events["gyro"], cam_times)
179 plot_rotations(cam_rots, gyro_rots)
182 dist = scipy.spatial.distance.correlation(cam_rots, gyro_rots)
208 gyro_rots = get_gyro_rotations(gyro_events, times)
209 dists.append(scipy.spatial.distance.correlation(cam_rots, gyro_rots))
246 def plot_rotations(cam_rots, gyro_rots): argument
257 gyro_rots *= scale
259 pylab.plot(range(len(gyro_rots)), gyro_rots, "b", label="gyro")
282 gyro_rots = []
310 gyro_rots.append(sgyro)
[all …]