Functions | Variables
test-triggers Namespace Reference

Functions

def filter_special_frames (list)
 

Variables

 ccs = rs.calibrated_sensor(color_sensor)
 
 color_sensor = dev.first_color_sensor()
 
 cp
 
 d2r = rs.device_calibration(dev)
 
 dcs = rs.calibrated_sensor(depth_sensor)
 
 depth_sensor = dev.first_depth_sensor()
 
 dev = test.find_first_device_or_exit()
 
 dp
 
list irrelevant_statuses
 
list successful_calibration_status_list
 

Function Documentation

def test-triggers.filter_special_frames (   list)
Removes consecutive special frame statuses from the status list since we have a built-in
retry mechanism and more than one request can be made.
E.g., [triggered, special_frame, special_frame, started, successful]

Definition at line 57 of file test-triggers.py.

Variable Documentation

test-triggers.ccs = rs.calibrated_sensor(color_sensor)

Definition at line 27 of file test-triggers.py.

test-triggers.color_sensor = dev.first_color_sensor()

Definition at line 21 of file test-triggers.py.

test-triggers.cp
Initial value:
1 = next(p for p in color_sensor.profiles if p.fps() == 30
2  and p.stream_type() == rs.stream.color
3  and p.format() == rs.format.yuyv
4  and p.as_video_stream_profile().width() == 1280
5  and p.as_video_stream_profile().height() == 720)
void next(auto_any_t cur, type2type< T, C > *)
Definition: foreach.hpp:757

Definition at line 33 of file test-triggers.py.

test-triggers.d2r = rs.device_calibration(dev)

Definition at line 30 of file test-triggers.py.

test-triggers.dcs = rs.calibrated_sensor(depth_sensor)

Definition at line 24 of file test-triggers.py.

test-triggers.depth_sensor = dev.first_depth_sensor()

Definition at line 20 of file test-triggers.py.

Definition at line 19 of file test-triggers.py.

test-triggers.dp
Initial value:
1 = next(p for p in
2  depth_sensor.profiles if p.fps() == 30
3  and p.stream_type() == rs.stream.depth
4  and p.format() == rs.format.z16
5  and p.as_video_stream_profile().width() == 1024
6  and p.as_video_stream_profile().height() == 768)
void next(auto_any_t cur, type2type< T, C > *)
Definition: foreach.hpp:757

Definition at line 39 of file test-triggers.py.

list test-triggers.irrelevant_statuses
Initial value:
1 = [rs.calibration_status.retry,
2  rs.calibration_status.scene_invalid,
3  rs.calibration_status.bad_result]

Definition at line 53 of file test-triggers.py.

list test-triggers.successful_calibration_status_list
Initial value:
1 = [rs.calibration_status.triggered,
2  rs.calibration_status.special_frame,
3  rs.calibration_status.started,
4  rs.calibration_status.successful]

Definition at line 47 of file test-triggers.py.



librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:43