summaryrefslogtreecommitdiffhomepage
path: root/tracker-aruco/ftnoir_tracker_aruco.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-12-07 05:14:45 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-12-07 05:14:45 +0100
commitf95a4641a37fba390487e53a7f57982e22266910 (patch)
treec8abbc2f893c61ba1694bce712845bb80858b61d /tracker-aruco/ftnoir_tracker_aruco.cpp
parentc804162354aabf6d9a6f0528cdb216c2203b760d (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.cpp27
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);