コード例 #1
0
 public void SetDerivativeGain(DirectionProfile profile, double dGain)
 {
     Microcontroller.SetDerivativeGain(controllerChannel, (int)profile, dGain);
     PidProfiles[profile].DerivativeGain = dGain;
 }
コード例 #2
0
 public void SetIntegralGain(DirectionProfile profile, double iGain)
 {
     Microcontroller.SetIntegralGain(controllerChannel, (int)profile, iGain);
     PidProfiles[profile].IntegralGain = iGain;
 }
コード例 #3
0
 public void SetProportionalGain(DirectionProfile profile, double pGain)
 {
     Microcontroller.SetProportionalGain(controllerChannel, (int)profile, pGain);
     PidProfiles[profile].ProportionalGain = pGain;
 }
コード例 #4
0
 public void RefreshDerivativeGain(DirectionProfile profile)
 {
     PidProfiles[profile].DerivativeGain = Microcontroller.GetDerivativeGain(controllerChannel, (int)profile);
 }
コード例 #5
0
 public void RefreshIntegralGain(DirectionProfile profile)
 {
     PidProfiles[profile].IntegralGain = Microcontroller.GetIntegralGain(controllerChannel, (int)profile);
 }
コード例 #6
0
 public void RefreshProportionalGain(DirectionProfile profile)
 {
     PidProfiles[profile].ProportionalGain = Microcontroller.GetProportionalGain(controllerChannel, (int)profile);
 }