reduce fps
authorBernhard Tittelbach <bernhard@tittelbach.org>
Tue, 26 Mar 2019 12:20:40 +0000 (13:20 +0100)
committerBernhard Tittelbach <bernhard@tittelbach.org>
Tue, 26 Mar 2019 12:20:40 +0000 (13:20 +0100)
cpp/openCVnaiveObstacleAvoidance/openCVnaiveObstacleAvoidance.cpp

index fe72e4c..0dac6e2 100644 (file)
@@ -404,7 +404,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_5_45FPS_500") != royale::CameraStatus::SUCCESS)
+    if (cameraDevice->setUseCase ("MODE_9_10FPS_1000") != royale::CameraStatus::SUCCESS)
     {
         cerr << "Error setting use case" << endl;
         return 1;