reduce fps
[201903hackathon.git] / 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;