summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_aruco
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-12-10 03:52:19 +0100
committerStanislaw Halik <sthalik@misaki.pl>2013-12-10 03:52:19 +0100
commitc298ec1126f1ec8fbf01e5619c5a4b0a30a222c2 (patch)
tree4db94016922083ae43ee720d1c98e33584bcd249 /ftnoir_tracker_aruco
parent83997336c88f75cc183eb7ccdb7ae002be9b0fac (diff)
remove return value from GiveHeadPoseData
Diffstat (limited to 'ftnoir_tracker_aruco')
-rw-r--r--ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp4
-rw-r--r--ftnoir_tracker_aruco/ftnoir_tracker_aruco.h2
2 files changed, 2 insertions, 4 deletions
diff --git a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp
index 7581b77a..11916df5 100644
--- a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp
+++ b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp
@@ -375,7 +375,7 @@ void Tracker::run()
}
}
-bool Tracker::GiveHeadPoseData(double *data)
+void Tracker::GiveHeadPoseData(double *data)
{
QMutexLocker lck(&mtx);
@@ -391,8 +391,6 @@ bool Tracker::GiveHeadPoseData(double *data)
data[TY] = pose[TY];
if (enableTZ)
data[TZ] = pose[TZ];
-
- return true;
}
class TrackerDll : public Metadata
diff --git a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.h b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.h
index 1518ba4d..8a480d9f 100644
--- a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.h
+++ b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.h
@@ -26,7 +26,7 @@ public:
Tracker();
virtual ~Tracker();
void StartTracker(QFrame* frame);
- bool GiveHeadPoseData(double *data);
+ void GiveHeadPoseData(double *data);
bool enableTX, enableTY, enableTZ, enableRX, enableRY, enableRZ;
void run();
void load_settings();