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

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

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

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

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

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

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