Functions | |
def | color_frame_call_back (frame) |
def | depth_frame_call_back (frame) |
def | got_frame () |
def | restart_profiles () |
def | stop_pipeline (pipeline) |
def | stop_sensor (sensor) |
Variables | |
cfg = None | |
color_format = None | |
color_fps = None | |
color_height = None | |
color_sensor = dev.first_color_sensor() | |
color_width = None | |
cp = None | |
ctx = rs.context() | |
depth_format = p.format() | |
depth_fps = p.fps() | |
depth_height = p.as_video_stream_profile().height() | |
depth_sensor = dev.first_depth_sensor() | |
depth_width = p.as_video_stream_profile().width() | |
dev = test.find_first_device_or_exit() | |
string | file_name = temp_dir.name+os.sep+'rec.bag' |
bool | got_frames = False |
pipeline = rs.pipeline() | |
playback = ctx.load_device( file_name ) | |
int | previous_color_frame_number = -1 |
int | previous_depth_frame_number = -1 |
recorder = None | |
sync = rs.syncer() | |
temp_dir = tempfile.TemporaryDirectory( prefix='recordings_' ) | |
Definition at line 50 of file test-got-playback-frames.py.
Definition at line 56 of file test-got-playback-frames.py.
Definition at line 46 of file test-got-playback-frames.py.
You can't use the same profile twice, but we need the same profile several times. So this function resets the profiles with the given parameters to allow quick profile creation
Definition at line 62 of file test-got-playback-frames.py.
Definition at line 82 of file test-got-playback-frames.py.
Definition at line 93 of file test-got-playback-frames.py.
Definition at line 115 of file test-got-playback-frames.py.
Definition at line 11 of file test-got-playback-frames.py.
Definition at line 12 of file test-got-playback-frames.py.
Definition at line 14 of file test-got-playback-frames.py.
Definition at line 21 of file test-got-playback-frames.py.
Definition at line 13 of file test-got-playback-frames.py.
Definition at line 10 of file test-got-playback-frames.py.
Definition at line 165 of file test-got-playback-frames.py.
Definition at line 40 of file test-got-playback-frames.py.
Definition at line 41 of file test-got-playback-frames.py.
Definition at line 43 of file test-got-playback-frames.py.
Definition at line 20 of file test-got-playback-frames.py.
Definition at line 42 of file test-got-playback-frames.py.
test-got-playback-frames.dev = test.find_first_device_or_exit() |
Definition at line 19 of file test-got-playback-frames.py.
string test-got-playback-frames.file_name = temp_dir.name+os.sep+'rec.bag' |
Definition at line 110 of file test-got-playback-frames.py.
Definition at line 17 of file test-got-playback-frames.py.
Definition at line 118 of file test-got-playback-frames.py.
Definition at line 166 of file test-got-playback-frames.py.
Definition at line 16 of file test-got-playback-frames.py.
Definition at line 15 of file test-got-playback-frames.py.
Definition at line 142 of file test-got-playback-frames.py.
Definition at line 203 of file test-got-playback-frames.py.
Definition at line 109 of file test-got-playback-frames.py.