Пример #1
0
        public void SetAll()
        {
            Yaw_KP.Set();
            Yaw_KI.Set();
            Yaw_KD.Set();

            Pitch_KP.Set();
            Pitch_KI.Set();
            Pitch_KD.Set();

            Roll_KP.Set();
            Roll_KI.Set();
            Roll_KD.Set();
        }
Пример #2
0
 public PIDData Copy()
 {
     return(new PIDData()
     {
         Roll_KP = Roll_KP.Copy(),
         Roll_KI = Roll_KI.Copy(),
         Roll_KD = Roll_KD.Copy(),
         Pitch_KP = Pitch_KP.Copy(),
         Pitch_KI = Pitch_KI.Copy(),
         Pitch_KD = Pitch_KD.Copy(),
         Yaw_KP = Yaw_KP.Copy(),
         Yaw_KI = Yaw_KI.Copy(),
         Yaw_KD = Yaw_KD.Copy(),
         PIDMode = PIDMode
     });
 }