This commit is contained in:
parent
ebb5b00315
commit
29e3c71df4
|
@ -75,7 +75,7 @@ static bool mightResetPid = false;
|
|||
PidCic idlePid;
|
||||
#else
|
||||
|
||||
class PidWithOverrides : public Pid {
|
||||
class PidWithOverrides : public PidIndustrial {
|
||||
public:
|
||||
float getOffset() const override {
|
||||
#if EFI_UNIT_TEST
|
||||
|
|
|
@ -1450,7 +1450,6 @@ void validateConfiguration(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
|||
engineConfiguration->cltIdleRpmBins[i] = fixNegativeZero(engineConfiguration->cltIdleRpmBins[i]);
|
||||
}
|
||||
// having zeros in unsued fields is important for REO CRC match
|
||||
engineConfiguration->unusedAt516 = 0;
|
||||
engineConfiguration->unusedAt712 = 0;
|
||||
engineConfiguration->unusedAt716 = 0;
|
||||
engineConfiguration->unusedAt720 = 0;
|
||||
|
|
|
@ -30,6 +30,9 @@
|
|||
struct pid_s;
|
||||
class Logging;
|
||||
|
||||
/**
|
||||
* default basic implementation also known as PidParallelController
|
||||
*/
|
||||
class Pid : public pid_state_s {
|
||||
|
||||
public:
|
||||
|
@ -110,6 +113,8 @@ private:
|
|||
* See: Wittenmark B., Astrom K., Arzen K. IFAC Professional Brief. Computer Control: An Overview.
|
||||
* Two additional parameters used: derivativeFilterLoss and antiwindupFreq
|
||||
* (If both are 0, then this controller is identical to PidParallelController)
|
||||
*
|
||||
* TODO: should PidIndustrial replace all usages of Pid/PidParallelController?
|
||||
*/
|
||||
class PidIndustrial : public Pid {
|
||||
public:
|
||||
|
|
Loading…
Reference in New Issue