summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_hatire/ftnoir_tracker_hat.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-01-13 23:41:19 +0100
committerStanislaw Halik <sthalik@misaki.pl>2014-01-13 23:41:19 +0100
commitde354eaca23e275386b3b2365cb4d4e0531377e1 (patch)
tree9442516ecad33fe90d35314b58d789d6f782ed70 /ftnoir_tracker_hatire/ftnoir_tracker_hat.h
parent078c82bbb11a077c1e82f9ed4f0f76a7f89cf629 (diff)
remove hatire tracker
hatire tracker's unmaintained, unused and has an obvious crash bug The following line: data[frame_cnt] = (long) HAT.Code; contains an arbitrary offset dereference. It's obvious now that the code has only been compile-tested. Because no one reported the issue, it's safe to assume it has no users. If it gets users and becomes actively maintained, it'll return. -sh
Diffstat (limited to 'ftnoir_tracker_hatire/ftnoir_tracker_hat.h')
-rw-r--r--ftnoir_tracker_hatire/ftnoir_tracker_hat.h87
1 files changed, 0 insertions, 87 deletions
diff --git a/ftnoir_tracker_hatire/ftnoir_tracker_hat.h b/ftnoir_tracker_hatire/ftnoir_tracker_hat.h
deleted file mode 100644
index 0dbc4c8c..00000000
--- a/ftnoir_tracker_hatire/ftnoir_tracker_hat.h
+++ /dev/null
@@ -1,87 +0,0 @@
-#ifndef FTNOIR_TRACKER_HAT_H
-#define FTNOIR_TRACKER_HAT_H
-
-#ifdef OPENTRACK_API
-# include "ftnoir_tracker_base/ftnoir_tracker_base.h"
-# include "facetracknoir/global-settings.h"
-#endif
-#include "ftnoir_tracker_hat_settings.h"
-#include "ftnoir_arduino_type.h"
-#include <QObject>
-#include <QPalette>
-#include <QtGui>
-#include <QByteArray>
-#include <QMessageBox>
-#include <QtSerialPort/QSerialPort>
-#include <QtSerialPort/QSerialPortInfo>
-#include <QMutex>
-#include <QMutexLocker>
-
-#define VER_FILEVERSION_STR "Version 2.0.7\0"
-
-class FTNoIR_Tracker : public QObject, public ITracker
-{
- Q_OBJECT
-public:
- FTNoIR_Tracker();
- ~FTNoIR_Tracker();
-
- virtual void StartTracker(QFrame*);
- virtual void GetHeadPoseData(double* data);
- void applysettings(const TrackerSettings& settings);
- void notifyCenter();
- bool notifyZeroed();
- void reset();
- void SerialInfo();
- void sendcmd(const QByteArray &cmd);
- void get_info( int *tps );
-
-private Q_SLOTS:
- void SerialRead();
-
-signals:
- void sendMsgInfo(const QByteArray &MsgInfo);
-
-
-private:
- QSerialPort *ComPort;
- TArduinoData ArduinoData, HAT ; // Trame from Arduino
- QByteArray dataRead;
- QByteArray dataToSend;
- QByteArray Begin;
- QByteArray End;
- QMutex mutex;
- int frame_cnt;
-
- TrackerSettings settings;
- int CptError;
-};
-
-
-//*******************************************************************************************************
-// FaceTrackNoIR Tracker DLL. Functions used to get general info on the Tracker
-//*******************************************************************************************************
-class TrackerDll :
-#if defined(OPENTRACK_API)
- public Metadata
-#else
- public ITrackerDll
-#endif
-{
-public:
- TrackerDll();
- ~TrackerDll();
-
- void getFullName(QString *strToBeFilled);
- void getShortName(QString *strToBeFilled);
- void getDescription(QString *strToBeFilled);
- void getIcon(QIcon *icon);
-
-private:
- QString trackerFullName; // Trackers' name and description
- QString trackerShortName;
- QString trackerDescription;
-};
-
-
-#endif // FTNOIR_TRACKER_HAT_H