summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_aruco
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-01-13 08:24:15 +0100
committerStanislaw Halik <sthalik@misaki.pl>2014-01-13 08:24:15 +0100
commit87f57ad0bdf4ad5495dcc6068d3a0853a4c57a18 (patch)
tree1cadda8f0240f74bc9325912c6fafffba2b61e40 /ftnoir_tracker_aruco
parent193b7f6e6bd6449442998e601bbb5734b29e2000 (diff)
aruco: change allowed scale, now that units are in millimeters
Diffstat (limited to 'ftnoir_tracker_aruco')
-rw-r--r--ftnoir_tracker_aruco/aruco-trackercontrols.ui12
-rw-r--r--ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp2
2 files changed, 7 insertions, 7 deletions
diff --git a/ftnoir_tracker_aruco/aruco-trackercontrols.ui b/ftnoir_tracker_aruco/aruco-trackercontrols.ui
index 03975390..e0794eb9 100644
--- a/ftnoir_tracker_aruco/aruco-trackercontrols.ui
+++ b/ftnoir_tracker_aruco/aruco-trackercontrols.ui
@@ -64,10 +64,10 @@
</sizepolicy>
</property>
<property name="minimum">
- <double>-200.000000000000000</double>
+ <double>-10000.000000000000000</double>
</property>
<property name="maximum">
- <double>200.000000000000000</double>
+ <double>10000.000000000000000</double>
</property>
</widget>
</item>
@@ -87,10 +87,10 @@
</sizepolicy>
</property>
<property name="minimum">
- <double>-200.000000000000000</double>
+ <double>-10000.000000000000000</double>
</property>
<property name="maximum">
- <double>200.000000000000000</double>
+ <double>10000.000000000000000</double>
</property>
</widget>
</item>
@@ -103,10 +103,10 @@
</sizepolicy>
</property>
<property name="minimum">
- <double>-200.000000000000000</double>
+ <double>-10000.000000000000000</double>
</property>
<property name="maximum">
- <double>200.000000000000000</double>
+ <double>10000.000000000000000</double>
</property>
</widget>
</item>
diff --git a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp
index feb7fb9d..cb44927a 100644
--- a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp
+++ b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp
@@ -286,7 +286,7 @@ void Tracker::run()
cv::TermCriteria(cv::TermCriteria::MAX_ITER | cv::TermCriteria::EPS,
20,
1e-2));
- const float size = 7;
+ const float size = 40;
const double p = s.marker_pitch;
const double sq = sin(p * HT_PI / 180);