removed attempt for camera detection

This commit is contained in:
2024-12-11 14:50:02 +01:00
parent e8db00120f
commit 7eeaba482e

View File

@@ -285,9 +285,6 @@ void sendKobukiData(TKobukiData &data) {
void CapnSend() {
VideoCapture cap(0); // Open the default camera
if (!cap.isOpened()) {
int i = 0;
VideoCapture cap(i++); // Open the default camera
cerr << "Error: Could not open camera" << endl;
return;
}