private void CheckFilteredAccelerometer() { if (_filteredAccelerometer == null) { _filteredAccelerometer = new ThreeAxis(); } }
private void CheckRawAccelerometer() { if (_rawAccelerometer == null) { _rawAccelerometer = new ThreeAxis(); } }
private void UpdateFilteredAccelerometerZ(short z) { CheckFilteredAccelerometer(); _filteredAccelerometer = new ThreeAxis(_filteredAccelerometer.X, _filteredAccelerometer.Y, z); }
private void UpdateFilteredAccelerometerY(short y) { CheckFilteredAccelerometer(); _filteredAccelerometer = new ThreeAxis(_filteredAccelerometer.X, y, _filteredAccelerometer.Z); }
private void UpdateFilteredAccelerometerX(short x) { CheckFilteredAccelerometer(); _filteredAccelerometer = new ThreeAxis(x, _filteredAccelerometer.Y, _filteredAccelerometer.Z); }
private void CheckFilteredAccelerometer() { if (_filteredAccelerometer == null) _filteredAccelerometer = new ThreeAxis(); }
private void UpdateRawAccelerometerZ(short z) { CheckRawAccelerometer(); _rawAccelerometer = new ThreeAxis(_rawAccelerometer.X, _rawAccelerometer.Y, z); }
private void UpdateRawAccelerometerY(short y) { CheckRawAccelerometer(); _rawAccelerometer = new ThreeAxis(_rawAccelerometer.X, y , _rawAccelerometer.Z); }
private void UpdateRawAccelerometerX(short x) { CheckRawAccelerometer(); _rawAccelerometer = new ThreeAxis(x, _rawAccelerometer.Y, _rawAccelerometer.Z); }
private void CheckRawAccelerometer() { if (_rawAccelerometer == null) _rawAccelerometer = new ThreeAxis(); }
private void UpdateRawAccelerometerY(short y) { CheckRawAccelerometer(); _rawAccelerometer = new ThreeAxis(_rawAccelerometer.X, y, _rawAccelerometer.Z); }