summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_aruco/ftnoir_tracker_aruco.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-01-06 23:45:43 +0100
committerStanislaw Halik <sthalik@misaki.pl>2014-01-06 23:45:43 +0100
commit2a7bb33871dee1124dd1956fe14503845e8cee3f (patch)
tree32be3868bd71203703999ebc4d11ed282935206c /ftnoir_tracker_aruco/ftnoir_tracker_aruco.h
parent12d98b8f244486927e45e2e4accb1f9fca92f6d5 (diff)
aruco: allow for perfect fisheye correction
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 4cab84b5..e32e304a 100644
--- a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.h
+++ b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.h
@@ -28,6 +28,7 @@ struct settings {
value<bool> red_only;
value<bool> eyaw, epitch, eroll, ex, ey, ez;
value<double> marker_pitch;
+ value<bool> fisheye_correction;
settings() :
b(bundle("aruco-tracker")),
fov(b, "field-of-view", 56),
@@ -44,7 +45,8 @@ struct settings {
ex(b, "enable-x", true),
ey(b, "enable-y", true),
ez(b, "enable-z", true),
- marker_pitch(b, "marker-pitch", 0)
+ marker_pitch(b, "marker-pitch", 0),
+ fisheye_correction(b, "fisheye-correction", false)
{}
};