summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_hydra/ftnoir_tracker_hydra.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-09-22 11:39:07 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-09-22 11:39:07 +0200
commitfb0cd9401e26aaf610356ffe899af268012d18c3 (patch)
treed8dde935c2dc989ffa7612d74ace482f8c4e50d1 /ftnoir_tracker_hydra/ftnoir_tracker_hydra.h
parent461cb6e8f2b141a2408a4caf1fab930c24b19516 (diff)
remove obsolete axis selector from trackers
Diffstat (limited to 'ftnoir_tracker_hydra/ftnoir_tracker_hydra.h')
-rw-r--r--ftnoir_tracker_hydra/ftnoir_tracker_hydra.h15
1 files changed, 2 insertions, 13 deletions
diff --git a/ftnoir_tracker_hydra/ftnoir_tracker_hydra.h b/ftnoir_tracker_hydra/ftnoir_tracker_hydra.h
index fdfc2643..2b3c84a7 100644
--- a/ftnoir_tracker_hydra/ftnoir_tracker_hydra.h
+++ b/ftnoir_tracker_hydra/ftnoir_tracker_hydra.h
@@ -6,15 +6,8 @@ using namespace options;
struct settings {
pbundle b;
- value<bool> bEnableRoll, bEnablePitch, bEnableYaw, bEnableX, bEnableY, bEnableZ;
settings() :
- b(bundle("tracker-hydra")),
- bEnableRoll(b, "enable-rz", true),
- bEnablePitch(b, "enable-ry", true),
- bEnableYaw(b, "enable-rx", true),
- bEnableX(b, "enable-tx", true),
- bEnableY(b, "enable-ty", true),
- bEnableZ(b, "enable-tz", true)
+ b(bundle("tracker-hydra"))
{}
};
@@ -25,15 +18,11 @@ public:
~Hydra_Tracker();
void StartTracker(QFrame *) override;
void GetHeadPoseData(double *data) override;
+ virtual int preferredHz() override { return 250; }
volatile bool should_quit;
-protected:
- void run(); // qthread override run method
private:
settings s;
- bool isCalibrated;
- double newHeadPose[6]; // Structure with new headpose
QMutex mutex;
- virtual int preferredHz() override { return 250; }
};
class TrackerControls: public QWidget, public ITrackerDialog