Implemented first Hangar-Service
Dependencies: CalibrateMagneto QuaternionMath
Fork of SML2 by
Diff: SensorFusion.h
- Revision:
- 45:9cd917ed413a
- Parent:
- 44:5483079fa156
--- a/SensorFusion.h Fri May 29 12:21:31 2015 +0000 +++ b/SensorFusion.h Fri May 29 15:07:33 2015 +0000 @@ -28,12 +28,12 @@ */ virtual void calibrate() = 0; virtual void reset() = 0; - bool isGyroCalibrated() = 0; + virtual bool isGyroCalibrated() = 0; protected: // protected ctor so that base class cannot be instantiated directly SensorFusion() : delegate(&defaultDelegate), q(1, 0, 0, 0) {} - Delegate defaultDelegate; // to avoid check for existence every time - Delegate* delegate; + Delegate defaultDelegate; // to avoid check for existence every time + Delegate* delegate; Quaternion q; };