summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-07-05 11:19:34 +0200
committerStanislaw Halik <sthalik@misaki.pl>2019-07-05 11:19:34 +0200
commitdbbf3fcd296dfc6da4eb399ca924f21a12f5d3d6 (patch)
tree80527e751710de6245b8e2f1f070864f593a78fb
parent716b792498ac66b05e2564a7ec475a580f120e25 (diff)
tracker/aruco: allow for 250 & 300 fps
-rw-r--r--tracker-aruco/ftnoir_tracker_aruco.cpp2
-rw-r--r--tracker-aruco/ftnoir_tracker_aruco.h4
2 files changed, 5 insertions, 1 deletions
diff --git a/tracker-aruco/ftnoir_tracker_aruco.cpp b/tracker-aruco/ftnoir_tracker_aruco.cpp
index 9bf34c51..da29105f 100644
--- a/tracker-aruco/ftnoir_tracker_aruco.cpp
+++ b/tracker-aruco/ftnoir_tracker_aruco.cpp
@@ -148,6 +148,8 @@ static int enum_to_fps(int value)
case fps_50: fps = 50; break;
case fps_100: fps = 100; break;
case fps_120: fps = 120; break;
+ case fps_300: fps = 300; break;
+ case fps_250: fps = 250; break;
}
return fps;
diff --git a/tracker-aruco/ftnoir_tracker_aruco.h b/tracker-aruco/ftnoir_tracker_aruco.h
index 0a33f02b..3c50ada0 100644
--- a/tracker-aruco/ftnoir_tracker_aruco.h
+++ b/tracker-aruco/ftnoir_tracker_aruco.h
@@ -48,7 +48,9 @@ enum aruco_fps
fps_50 = 6,
fps_100 = 7,
fps_120 = 8,
- fps_MAX = 9,
+ fps_300 = 9,
+ fps_250 = 10,
+ fps_MAX = 11,
};
struct settings : opts {