diff --git a/src/C++/Driver/src/main.cpp b/src/C++/Driver/src/main.cpp index dbc9772..5fb1c69 100644 --- a/src/C++/Driver/src/main.cpp +++ b/src/C++/Driver/src/main.cpp @@ -395,6 +395,8 @@ void CapnSend() if (frame.empty()) { cerr << "Error: Could not capture image" << endl; + std::this_thread::sleep_for(std::chrono::seconds(1)); // Wait before retrying + continue; }