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.py139 cam_times = get_cam_times(events["cam"])
140 min_cam_time = min(cam_times) * NSEC_TO_SEC
141 max_cam_time = max(cam_times) * NSEC_TO_SEC
174 offset = get_best_alignment_offset(cam_times, cam_rots, events["gyro"])
177 cam_times += offset*SEC_TO_NSEC
178 gyro_rots = get_gyro_rotations(events["gyro"], cam_times)
188 def get_best_alignment_offset(cam_times, cam_rots, gyro_events): argument
207 times = cam_times + shift*MSEC_TO_NSEC
267 def get_gyro_rotations(gyro_events, cam_times): argument
284 for icam in range(len(cam_times)-1):
[all …]