Home
last modified time | relevance | path

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

/cts/apps/CameraITS/utils/
Dsensor_fusion_utils_tests.py113 gyro_events = []
115 gyro_events.append({'time': t, 'z': gyro_rots[i]})
117 return cam_times, cam_rots, gyro_events
127 cam_times, cam_rots, gyro_events = self._generate_test_waveforms(
130 gyro_events, cam_times)
145 cam_times, cam_rots, gyro_events = self._generate_test_waveforms(
151 cam_times, cam_rots, gyro_events)
Dsensor_fusion_utils.py397 def get_gyro_rotations(gyro_events, cam_times): argument
410 gyro_times = np.array([e['time'] for e in gyro_events])
411 all_gyro_rots = np.array([e['z'] for e in gyro_events])
583 def get_best_alignment_offset(cam_times, cam_rots, gyro_events, degree=2): argument
616 gyro_rots = get_gyro_rotations(gyro_events, shifted_cam_times)
713 def plot_gyro_events(gyro_events, plot_name, log_path): argument
725 nevents = (len(gyro_events) // _NUM_GYRO_PTS_TO_AVG) * _NUM_GYRO_PTS_TO_AVG
726 gyro_events = gyro_events[:nevents]
727 times = np.array([(e['time'] - gyro_events[0]['time']) * _NSEC_TO_SEC
728 for e in gyro_events])
[all …]
Dpreview_processing_utils.py185 def verify_preview_stabilization(recording_obj, gyro_events, argument
244 gyro_events, f'{test_name}_{video_size}_{zoom_ratio_suffix}x',
247 gyro_events, _VIDEO_DELAY_TIME)
/cts/apps/CameraITS/tests/sensor_fusion/
Dtest_lens_intrinsic_calibration.py92 def verify_lens_intrinsics(recording_obj, gyro_events, test_name, log_path): argument
141 gyro_events, f'{test_name}_{video_size}', log_path)
143 gyro_events, _VIDEO_DELAY_TIME)
298 gyro_events = cam.get_sensor_events()['gyro']
299 logging.debug('Number of gyro samples %d', len(gyro_events))
305 recording_obj, gyro_events, _NAME, log_path)
Dtest_preview_stabilization.py147 gyro_events = cam.get_sensor_events()['gyro']
148 logging.debug('Number of gyro samples %d', len(gyro_events))
156 recording_obj, gyro_events, _NAME, log_path, facing,
Dtest_video_stabilization.py189 gyro_events = cam.get_sensor_events()['gyro']
190 logging.debug('Number of gyro samples %d', len(gyro_events))
216 gyro_events, f'{_NAME}_{video_quality}', log_path)
218 gyro_events, _VIDEO_DELAY_TIME)
/cts/apps/CameraITS/tests/feature_combination/
Dtest_feature_combination.py225 gyro_events = cam.get_sensor_events()['gyro']
226 logging.debug('Number of gyro samples %d', len(gyro_events))
271 recording_obj, gyro_events, _NAME, log_path, facing))
/cts/apps/CameraITS/tests/scene3/
Dtest_imu_drift.py251 gyro_events = sensor_events['gyro'] # raw gyro output
256 gyro_events, _NSEC_TO_SEC, _RAD_TO_DEG)