예제 #1
0
 private void CheckFilteredAccelerometer()
 {
     if (_filteredAccelerometer == null)
     {
         _filteredAccelerometer = new ThreeAxis();
     }
 }
예제 #2
0
 private void CheckRawAccelerometer()
 {
     if (_rawAccelerometer == null)
     {
         _rawAccelerometer = new ThreeAxis();
     }
 }
예제 #3
0
        private void UpdateFilteredAccelerometerZ(short z)
        {
            CheckFilteredAccelerometer();

            _filteredAccelerometer = new ThreeAxis(_filteredAccelerometer.X, _filteredAccelerometer.Y, z);
        }
예제 #4
0
        private void UpdateFilteredAccelerometerY(short y)
        {
            CheckFilteredAccelerometer();

            _filteredAccelerometer = new ThreeAxis(_filteredAccelerometer.X, y, _filteredAccelerometer.Z);
        }
예제 #5
0
        private void UpdateFilteredAccelerometerX(short x)
        {
            CheckFilteredAccelerometer();

            _filteredAccelerometer = new ThreeAxis(x, _filteredAccelerometer.Y, _filteredAccelerometer.Z);
        }
예제 #6
0
 private void CheckFilteredAccelerometer()
 {
     if (_filteredAccelerometer == null)
         _filteredAccelerometer = new ThreeAxis();
 }
예제 #7
0
        private void UpdateRawAccelerometerZ(short z)
        {
            CheckRawAccelerometer();

            _rawAccelerometer = new ThreeAxis(_rawAccelerometer.X, _rawAccelerometer.Y, z);
        }
예제 #8
0
        private void UpdateRawAccelerometerY(short y)
        {
            CheckRawAccelerometer();

            _rawAccelerometer = new ThreeAxis(_rawAccelerometer.X, y , _rawAccelerometer.Z);
        }
예제 #9
0
        private void UpdateRawAccelerometerX(short x)
        {
            CheckRawAccelerometer();

            _rawAccelerometer = new ThreeAxis(x, _rawAccelerometer.Y, _rawAccelerometer.Z);
        }
예제 #10
0
 private void CheckRawAccelerometer()
 {
     if (_rawAccelerometer == null)
         _rawAccelerometer = new ThreeAxis();
 }
예제 #11
0
        private void UpdateFilteredAccelerometerZ(short z)
        {
            CheckFilteredAccelerometer();

            _filteredAccelerometer = new ThreeAxis(_filteredAccelerometer.X, _filteredAccelerometer.Y, z);
        }
예제 #12
0
        private void UpdateFilteredAccelerometerY(short y)
        {
            CheckFilteredAccelerometer();

            _filteredAccelerometer = new ThreeAxis(_filteredAccelerometer.X, y, _filteredAccelerometer.Z);
        }
예제 #13
0
        private void UpdateFilteredAccelerometerX(short x)
        {
            CheckFilteredAccelerometer();

            _filteredAccelerometer = new ThreeAxis(x, _filteredAccelerometer.Y, _filteredAccelerometer.Z);
        }
예제 #14
0
        private void UpdateRawAccelerometerZ(short z)
        {
            CheckRawAccelerometer();

            _rawAccelerometer = new ThreeAxis(_rawAccelerometer.X, _rawAccelerometer.Y, z);
        }
예제 #15
0
        private void UpdateRawAccelerometerY(short y)
        {
            CheckRawAccelerometer();

            _rawAccelerometer = new ThreeAxis(_rawAccelerometer.X, y, _rawAccelerometer.Z);
        }
예제 #16
0
        private void UpdateRawAccelerometerX(short x)
        {
            CheckRawAccelerometer();

            _rawAccelerometer = new ThreeAxis(x, _rawAccelerometer.Y, _rawAccelerometer.Z);
        }