summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_aruco/ftnoir_tracker_aruco.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-01-06 17:47:19 +0100
committerStanislaw Halik <sthalik@misaki.pl>2014-01-06 17:47:19 +0100
commit55b133b78752137e05aa1437fbe9db83a7324d85 (patch)
tree5d7d531e7c0702dc6a86a9a7737bb72bfeca2bfb /ftnoir_tracker_aruco/ftnoir_tracker_aruco.h
parent42dbcea956b63867c741d509a5182ae56552b561 (diff)
aruco: allow for changing marker pitch
Diffstat (limited to 'ftnoir_tracker_aruco/ftnoir_tracker_aruco.h')
-rw-r--r--ftnoir_tracker_aruco/ftnoir_tracker_aruco.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.h b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.h
index 91a5ae8e..4cab84b5 100644
--- a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.h
+++ b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.h
@@ -27,6 +27,7 @@ struct settings {
value<int> camera_index, force_fps, resolution;
value<bool> red_only;
value<bool> eyaw, epitch, eroll, ex, ey, ez;
+ value<double> marker_pitch;
settings() :
b(bundle("aruco-tracker")),
fov(b, "field-of-view", 56),
@@ -42,7 +43,8 @@ struct settings {
eroll(b, "enable-r", true),
ex(b, "enable-x", true),
ey(b, "enable-y", true),
- ez(b, "enable-z", true)
+ ez(b, "enable-z", true),
+ marker_pitch(b, "marker-pitch", 0)
{}
};