Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aravis cam always use 30 fps #14

Open
ArkadiuszRaj opened this issue Jun 11, 2016 · 1 comment
Open

Aravis cam always use 30 fps #14

ArkadiuszRaj opened this issue Jun 11, 2016 · 1 comment
Labels

Comments

@ArkadiuszRaj
Copy link
Contributor

Inside AcqThread, while initializing camera there is such a code:

// SET FPS.
if(!mDevice->setCameraFPS())
    return false;

// INIT CAMERA.
if(!mDevice->initializeCamera())
    return false;

The problem is that for AravisGigeCamera, initializeCamera() enforces 30 fps thus using setCameraFPS() is ineffective.

A temporary solution is replace those two code blocks with each other. I could place a pull request however I have no idea now how such a change will influence all other input sources. Thus writing a ticket only.

@ArkadiuszRaj
Copy link
Contributor Author

ArkadiuszRaj commented Jun 28, 2016

--- freeture/src/AcqThread.cpp  2016-06-28 17:19:59.585273406 +0200
+++ ../../freeture/src/AcqThread.cpp    2016-06-11 13:17:49.362190632 +0200
@@ -1161,14 +1161,15 @@

     }

-    // SET FPS.
-    if(!mDevice->setCameraFPS())
-        return false;

     // INIT CAMERA.
     if(!mDevice->initializeCamera())
         return false;

+    // SET FPS.
+    if(!mDevice->setCameraFPS())
+        return false;
+
     // START CAMERA.
     if(!mDevice->startCamera())
         return false;

@cmarmo cmarmo added the bug label Nov 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants