aboutsummaryrefslogtreecommitdiffstats
path: root/LibOVR/Src/OVR_SensorCalibration.h
diff options
context:
space:
mode:
Diffstat (limited to 'LibOVR/Src/OVR_SensorCalibration.h')
-rw-r--r--LibOVR/Src/OVR_SensorCalibration.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/LibOVR/Src/OVR_SensorCalibration.h b/LibOVR/Src/OVR_SensorCalibration.h
index 2c437b4..62883d2 100644
--- a/LibOVR/Src/OVR_SensorCalibration.h
+++ b/LibOVR/Src/OVR_SensorCalibration.h
@@ -51,11 +51,16 @@ public:
void Initialize();
// Apply the calibration
void Apply(MessageBodyFrame& msg);
+ // Is mag calibration available?
+ bool IsMagCalibrated() { return MagCalibrated; }
protected:
void StoreAutoOffset();
void AutocalibrateGyro(MessageBodyFrame const& msg);
+ void DebugPrintLocalTemperatureTable();
+ void DebugClearHeadsetTemperatureReports();
+
SensorDevice* pSensor;
// Factory calibration data
@@ -64,7 +69,7 @@ protected:
Vector3f AccelOffset;
// Temperature based data
- Array<Array<TemperatureReport> > temperatureReports;
+ Array<Array<TemperatureReport> > TemperatureReports;
OffsetInterpolator Interpolators[3];
// Autocalibration data