slower
[201903hackathon.git] / cpp / openCVnaiveObstacleAvoidance / openCVnaiveObstacleAvoidance.cpp
index 0dac6e2..5849e23 100644 (file)
@@ -334,7 +334,7 @@ int main (int argc, char *argv[])
         {
             // if no argument was given try to open the first connected camera
             royale::Vector<royale::String> camlist (manager.getConnectedCameraList());
-            cout << "Detected " << camlist.size() << " camera(s)." << endl;
+            //cout << "Detected " << camlist.size() << " camera(s)." << endl;
 
             if (!camlist.empty())
             {
@@ -405,7 +405,8 @@ int main (int argc, char *argv[])
 
     // set an operation mode
     // if (cameraDevice->setUseCase ("MODE_5_45FPS_500") != royale::CameraStatus::SUCCESS)
-    if (cameraDevice->setUseCase ("MODE_9_10FPS_1000") != royale::CameraStatus::SUCCESS)
+    // if (cameraDevice->setUseCase ("MODE_9_10FPS_1000") != royale::CameraStatus::SUCCESS)
+    if (cameraDevice->setUseCase ("MODE_9_5FPS_2000") != royale::CameraStatus::SUCCESS)
     {
         cerr << "Error setting use case" << endl;
         return 1;