private void TranslateRaw(GyroscopeRawData rawData) { double upperBound = Context.Instance.UserCalibration.FastGyro * 0.6; double lowerBound = Context.Instance.UserCalibration.SlowGyro * 0.6; Data.X = CalculateThreashold(upperBound, lowerBound, rawData.X); Data.Y = CalculateThreashold(upperBound, lowerBound, rawData.Y); Data.Z = CalculateThreashold(upperBound, lowerBound, rawData.Z); Data.Normal = CalculateThreashold(Context.Instance.UserCalibration.FastGyro, Context.Instance.UserCalibration.SlowGyro, rawData.Normal); }
public GyroscopeAnalyzer(GyroscopeRawData rawData) { TranslateRaw(rawData); }