how to programmingly know if the camera is connected or not using c++ on Windows?
Hi,
When I call pipeline->start() without camera connected I got error:
"RealSense error calling rs2_pipeline_start_with_config(pipe:000002E32F0E7C80, config:000002E33499D1D0): No device connected"
It looks I need to know if the camera is connected or not before calling pipeline->start().
I want to know which function can be used to do this?
Thanks.
Yixun
-
Hi Yixun Liu RealSense users at the link below share their C++ scripts for how they approached the problem of checking for a busy camera at startup.
https://github.com/IntelRealSense/librealsense/issues/2240
Python users who want to perform a busy camera check can do so with code provided here:
Please sign in to leave a comment.
Comments
1 comment