Exemple #1
0
 private void CheckFilteredIMU()
 {
     if (_filteredIMU == null)
     {
         _filteredIMU = new IMU();
     }
 }
Exemple #2
0
        private void UpdateFilteredIMUYaw(short yaw)
        {
            CheckFilteredIMU();

            _filteredIMU = new IMU(_filteredIMU.Pitch, _filteredIMU.Roll, yaw);
        }
Exemple #3
0
        private void UpdateFilteredIMURoll(short roll)
        {
            CheckFilteredIMU();

            _filteredIMU = new IMU(_filteredIMU.Pitch, roll, _filteredIMU.Yaw);
        }
Exemple #4
0
        private void UpdateFilteredIMUPitch(short pitch)
        {
            CheckFilteredIMU();

            _filteredIMU = new IMU(pitch, _filteredIMU.Roll, _filteredIMU.Yaw);
        }
Exemple #5
0
 private void CheckFilteredIMU()
 {
     if (_filteredIMU == null)
         _filteredIMU = new IMU();
 }
Exemple #6
0
        private void UpdateFilteredIMUYaw(short yaw)
        {
            CheckFilteredIMU();

            _filteredIMU = new IMU(_filteredIMU.Pitch, _filteredIMU.Roll, yaw);
        }
Exemple #7
0
        private void UpdateFilteredIMURoll(short roll)
        {
            CheckFilteredIMU();

            _filteredIMU = new IMU(_filteredIMU.Pitch, roll, _filteredIMU.Yaw);
        }
Exemple #8
0
        private void UpdateFilteredIMUPitch(short pitch)
        {
            CheckFilteredIMU();

            _filteredIMU = new IMU(pitch, _filteredIMU.Roll, _filteredIMU.Yaw);
        }