From 7eeaba482e6a8ff013eb9cb79a92cd0305c6df38 Mon Sep 17 00:00:00 2001 From: Sam Hos Date: Wed, 11 Dec 2024 14:50:02 +0100 Subject: [PATCH] removed attempt for camera detection --- src/C++/Driver/src/main.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/C++/Driver/src/main.cpp b/src/C++/Driver/src/main.cpp index bd3984d..114e499 100644 --- a/src/C++/Driver/src/main.cpp +++ b/src/C++/Driver/src/main.cpp @@ -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; }