summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_udp
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_udp
parent83997336c88f75cc183eb7ccdb7ae002be9b0fac (diff)
remove return value from GiveHeadPoseData
Diffstat (limited to 'ftnoir_tracker_udp')
-rw-r--r--ftnoir_tracker_udp/ftnoir_tracker_udp.cpp3
-rw-r--r--ftnoir_tracker_udp/ftnoir_tracker_udp.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/ftnoir_tracker_udp/ftnoir_tracker_udp.cpp b/ftnoir_tracker_udp/ftnoir_tracker_udp.cpp
index 1539707e..d58341a6 100644
--- a/ftnoir_tracker_udp/ftnoir_tracker_udp.cpp
+++ b/ftnoir_tracker_udp/ftnoir_tracker_udp.cpp
@@ -110,7 +110,7 @@ void FTNoIR_Tracker::StartTracker(QFrame*)
return;
}
-bool FTNoIR_Tracker::GiveHeadPoseData(double *data)
+void FTNoIR_Tracker::GiveHeadPoseData(double *data)
{
mutex.lock();
if (bEnableX) {
@@ -132,7 +132,6 @@ bool FTNoIR_Tracker::GiveHeadPoseData(double *data)
data[Roll] = newHeadPose[Roll];
}
mutex.unlock();
- return true;
}
//
diff --git a/ftnoir_tracker_udp/ftnoir_tracker_udp.h b/ftnoir_tracker_udp/ftnoir_tracker_udp.h
index d158630b..7b6c5328 100644
--- a/ftnoir_tracker_udp/ftnoir_tracker_udp.h
+++ b/ftnoir_tracker_udp/ftnoir_tracker_udp.h
@@ -16,7 +16,7 @@ public:
~FTNoIR_Tracker();
void StartTracker(QFrame *);
- bool GiveHeadPoseData(double *data);
+ void GiveHeadPoseData(double *data);
void loadSettings();
volatile bool should_quit;
protected: