From 8fc88560a684588e424fc3c4d78fb2c2d2d92a5d Mon Sep 17 00:00:00 2001 From: Bernhard Tittelbach Date: Tue, 26 Mar 2019 13:20:40 +0100 Subject: [PATCH] reduce fps --- cpp/openCVnaiveObstacleAvoidance/openCVnaiveObstacleAvoidance.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cpp/openCVnaiveObstacleAvoidance/openCVnaiveObstacleAvoidance.cpp b/cpp/openCVnaiveObstacleAvoidance/openCVnaiveObstacleAvoidance.cpp index fe72e4c..0dac6e2 100644 --- a/cpp/openCVnaiveObstacleAvoidance/openCVnaiveObstacleAvoidance.cpp +++ b/cpp/openCVnaiveObstacleAvoidance/openCVnaiveObstacleAvoidance.cpp @@ -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; -- 1.7.10.4