diff options
author | martin <martin@thegreens.net> | 2015-05-02 08:42:50 +1000 |
---|---|---|
committer | martin <martin@thegreens.net> | 2015-05-02 08:42:50 +1000 |
commit | 4da4b7608ff03782ed2a157a7ef2bc843101b271 (patch) | |
tree | 3189b57a6a3cd901c44387a877f35ecacbf296cc /ftnoir_tracker_hatire/ftnoir_tracker_hat.h | |
parent | 0dbfd34bab63170915b9bdd0f456f39def4ea43e (diff) |
Fix returning consistent data to get headpose and other minor issues
Diffstat (limited to 'ftnoir_tracker_hatire/ftnoir_tracker_hat.h')
-rw-r--r-- | ftnoir_tracker_hatire/ftnoir_tracker_hat.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ftnoir_tracker_hatire/ftnoir_tracker_hat.h b/ftnoir_tracker_hatire/ftnoir_tracker_hat.h index 2abeb77d..020b4132 100644 --- a/ftnoir_tracker_hatire/ftnoir_tracker_hat.h +++ b/ftnoir_tracker_hatire/ftnoir_tracker_hat.h @@ -19,7 +19,7 @@ #include <QMutexLocker> #include <QSettings> -#define VER_FILEVERSION_STR "Version 2.1.0\0" +#define VER_FILEVERSION_STR "Version 2.1.1\0" class FTNoIR_Tracker : public QObject, public ITracker { @@ -49,6 +49,7 @@ public: private Q_SLOTS: void SerialRead(); + void Log(QString message); signals: void sendMsgInfo(const QByteArray &MsgInfo); @@ -80,6 +81,7 @@ private: bool bInvertX; bool bInvertY; bool bInvertZ; + bool bEnableLogging; int iRollAxe; int iPitchAxe; @@ -107,6 +109,8 @@ private: QSerialPort::Parity iParity; QSerialPort::StopBits iStopBits; QSerialPort::FlowControl iFlowControl; + + QFile flDiagnostics; #ifdef OPENTRACK_API int iFpsArduino; #endif |