From: Bernhard Tittelbach Date: Tue, 26 Mar 2019 12:20:40 +0000 (+0100) Subject: reduce fps X-Git-Url: https://git.realraum.at/?a=commitdiff_plain;h=8fc88560a684588e424fc3c4d78fb2c2d2d92a5d;p=201903hackathon.git reduce fps --- 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;