Home
last modified time | relevance | path

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

/cts/apps/CameraITS/tests/sensor_fusion/
Dtest_sensor_fusion.py105 cam_times = get_cam_times(events["cam"])
106 min_cam_time = min(cam_times) * NSEC_TO_SEC
107 max_cam_time = max(cam_times) * NSEC_TO_SEC
136 offset = get_best_alignment_offset(cam_times, cam_rots, events["gyro"])
139 cam_times = cam_times + offset*SEC_TO_NSEC
140 gyro_rots = get_gyro_rotations(events["gyro"], cam_times)
149 def get_best_alignment_offset(cam_times, cam_rots, gyro_events): argument
168 times = cam_times + shift*MSEC_TO_NSEC
226 def get_gyro_rotations(gyro_events, cam_times): argument
243 for icam in range(len(cam_times)-1):
[all …]