Open fabian57fabian opened 1 year ago
It looks like there are multiple cameras connected to the system and the program starts without setting the correct camera. If so, please specify the path to the camera at startup,
camIdx = 1 # If the path of the camera is /dev/video1
cam.open(ac.TOFConnect.CSI,camIdx )
I've tried connecting, getting some frames and disconnecting multiple times and it does not work correctly. This issue can be reproduced like this:
When trying to connect the second time, i get following warning:
setVideoMode ***WARNING*** TOFCamera: Could not set current frame format
Total output of given code gets:
What is the right way to disconnect from cam?