diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-06-27 16:22:36 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-06-27 16:22:36 +0200 |
commit | 758fe0c281096c4bf7fe40c27ed4523409bc17bd (patch) | |
tree | e4824d75a6b639b04fd948da539726b9884aab4d /ftnoir_tracker_rift/ftnoir_tracker_rift.cpp | |
parent | cb1fb94c79e44219ba15fafdbcad1cd0ef613726 (diff) |
Fix the build
Diffstat (limited to 'ftnoir_tracker_rift/ftnoir_tracker_rift.cpp')
-rw-r--r-- | ftnoir_tracker_rift/ftnoir_tracker_rift.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ftnoir_tracker_rift/ftnoir_tracker_rift.cpp b/ftnoir_tracker_rift/ftnoir_tracker_rift.cpp index 3ef68260..367ab389 100644 --- a/ftnoir_tracker_rift/ftnoir_tracker_rift.cpp +++ b/ftnoir_tracker_rift/ftnoir_tracker_rift.cpp @@ -66,8 +66,7 @@ void Rift_Tracker::StartTracker(QFrame* videoFrame) }else{ QMessageBox::warning(0,"FaceTrackNoIR Error", "Unable to find Rift tracker",QMessageBox::Ok,QMessageBox::NoButton); } - isCalibrated = false; - MagCal.BeginAutoCalibration(SFusion); + //MagCal.BeginAutoCalibration(SFusion); SFusion.SetMagReference(SFusion.GetOrientation()); } } @@ -89,7 +88,7 @@ bool Rift_Tracker::GiveHeadPoseData(double *data) #endif // Magnetometer calibration procedure - MagCal.UpdateAutoCalibration(SFusion); + //MagCal.UpdateAutoCalibration(SFusion); Quatf hmdOrient = SFusion.GetOrientation(); float yaw = 0.0f; float pitch = 0.0f; |