Home
last modified time | relevance | path

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

/cts/apps/CameraITS/utils/
Dsensor_fusion_utils.py410 gyro_times = np.array([e['time'] for e in gyro_events])
413 if gyro_times[0] > cam_times[0] or gyro_times[-1] < cam_times[-1]:
424 i_gyro_window0 = bisect.bisect(gyro_times, t_cam0)
425 i_gyro_window1 = bisect.bisect(gyro_times, t_cam1)
431 t_gyro0 = gyro_times[i_gyro]
432 t_gyro1 = gyro_times[i_gyro+1]
439 t_gyro0 = gyro_times[i_gyro]
440 t_gyro1 = gyro_times[i_gyro+1]
779 gyro_times = np.array([e['time'] for e in gyro_events])
781 gyro_time_min = gyro_times[0]
[all …]
/cts/apps/CameraITS/tests/sensor_fusion/
Dtest_sensor_fusion.py304 def _assert_gyro_encompasses_camera(self, cam_times, gyro_times): argument
319 min_gyro_time = min(gyro_times) * _NSEC_TO_SEC
320 max_gyro_time = max(gyro_times) * _NSEC_TO_SEC
330 gyro_smp_per_sec = len(gyro_times) / gyro_time_range
379 gyro_times = [e['time'] for e in events['gyro']]
380 self._assert_gyro_encompasses_camera(cam_times, gyro_times)