Functions | |
def | time_to_first_frame (sensor, profile, max_delay_allowed) |
Variables | |
cp | |
cs = dev.first_color_sensor() | |
dev = test.find_first_device_or_exit() | |
device_creation_stopwatch = Stopwatch() | |
device_creation_time = device_creation_stopwatch.get_elapsed() | |
dp | |
ds = dev.first_depth_sensor() | |
first_color_frame_delay = time_to_first_frame(cs, cp, max_delay_for_color_frame) | |
first_depth_frame_delay = time_to_first_frame(ds, dp, max_delay_for_depth_frame) | |
float | max_delay_for_color_frame = 1.5 |
float | max_delay_for_depth_frame = 1.5 |
float | max_time_for_device_creation = 1.5 |
product_line = dev.get_info(rs.camera_info.product_line) | |
def test_sensor_first_frame_delay.time_to_first_frame | ( | sensor, | |
profile, | |||
max_delay_allowed | |||
) |
Wait for the first frame for 'max_delay_allowed' + 1 extra second If the frame arrives it will return the seconds it took since open() call If no frame it will return 'max_delay_allowed'
Definition at line 18 of file test_sensor_first_frame_delay.py.
test_sensor_first_frame_delay.cp |
Definition at line 83 of file test_sensor_first_frame_delay.py.
test_sensor_first_frame_delay.cs = dev.first_color_sensor() |
Definition at line 76 of file test_sensor_first_frame_delay.py.
test_sensor_first_frame_delay.dev = test.find_first_device_or_exit() |
Definition at line 55 of file test_sensor_first_frame_delay.py.
test_sensor_first_frame_delay.device_creation_stopwatch = Stopwatch() |
Definition at line 54 of file test_sensor_first_frame_delay.py.
test_sensor_first_frame_delay.device_creation_time = device_creation_stopwatch.get_elapsed() |
Definition at line 56 of file test_sensor_first_frame_delay.py.
test_sensor_first_frame_delay.dp |
Definition at line 78 of file test_sensor_first_frame_delay.py.
test_sensor_first_frame_delay.ds = dev.first_depth_sensor() |
Definition at line 75 of file test_sensor_first_frame_delay.py.
test_sensor_first_frame_delay.first_color_frame_delay = time_to_first_frame(cs, cp, max_delay_for_color_frame) |
Definition at line 99 of file test_sensor_first_frame_delay.py.
test_sensor_first_frame_delay.first_depth_frame_delay = time_to_first_frame(ds, dp, max_delay_for_depth_frame) |
Definition at line 91 of file test_sensor_first_frame_delay.py.
float test_sensor_first_frame_delay.max_delay_for_color_frame = 1.5 |
Definition at line 67 of file test_sensor_first_frame_delay.py.
float test_sensor_first_frame_delay.max_delay_for_depth_frame = 1.5 |
Definition at line 66 of file test_sensor_first_frame_delay.py.
float test_sensor_first_frame_delay.max_time_for_device_creation = 1.5 |
Definition at line 57 of file test_sensor_first_frame_delay.py.
test_sensor_first_frame_delay.product_line = dev.get_info(rs.camera_info.product_line) |
Definition at line 64 of file test_sensor_first_frame_delay.py.