File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ def run(self):
4646 try :
4747 all_frames = stream_manager .get_frames ()
4848 except MissingFrameError as e :
49- """catch missing frame, stop Thread and raise it again """
49+ """catch missing frame, stop Thread and save what can be saved """
5050 print (* e .args , '\n Shutting down DLStream and saving data...' )
5151 stream_manager .finish_streaming ()
5252 stream_manager .stop_cameras ()
Original file line number Diff line number Diff line change @@ -83,7 +83,8 @@ def get_frames(self) -> tuple:
8383 if ret :
8484 color_frames [self ._camera_name ] = image
8585 else :
86- raise MissingFrameError ('No frame was received from the camera.' )
86+ raise MissingFrameError ('No frame was received from the camera. Make sure that the camera is connected '
87+ 'and that the camera source is set correctly.' )
8788
8889 return color_frames , depth_maps , infra_frames
8990
You can’t perform that action at this time.
0 commit comments