diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-12-07 05:14:45 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-12-07 05:14:45 +0100 |
commit | f95a4641a37fba390487e53a7f57982e22266910 (patch) | |
tree | c8abbc2f893c61ba1694bce712845bb80858b61d /tracker-aruco/ftnoir_tracker_aruco.cpp | |
parent | c804162354aabf6d9a6f0528cdb216c2203b760d (diff) |
tracker/aruco: add more camera fps options
These coincide with power line frequencies.
Fixes #794
Users will need to adjust existing settings.
Diffstat (limited to 'tracker-aruco/ftnoir_tracker_aruco.cpp')
-rw-r--r-- | tracker-aruco/ftnoir_tracker_aruco.cpp | 27 |
1 files changed, 9 insertions, 18 deletions
diff --git a/tracker-aruco/ftnoir_tracker_aruco.cpp b/tracker-aruco/ftnoir_tracker_aruco.cpp index 502b50ad..db8e499a 100644 --- a/tracker-aruco/ftnoir_tracker_aruco.cpp +++ b/tracker-aruco/ftnoir_tracker_aruco.cpp @@ -144,24 +144,15 @@ bool aruco_tracker::open_camera() switch (*s.force_fps) { default: - case 0: - fps = 0; - break; - case 1: - fps = 30; - break; - case 2: - fps = 60; - break; - case 3: - fps = 75; - break; - case 4: - fps = 125; - break; - case 5: - fps = 200; - break; + case 0: fps = 0; break; + case 1: fps = 30; break; + case 2: fps = 50; break; + case 3: fps = 60; break; + case 4: fps = 75; break; + case 5: fps = 100; break; + case 6: fps = 120; break; + case 7: fps = 125; break; + case 8: fps = 200; break; } QMutexLocker l(&camera_mtx); |