mirror of https://github.com/rusefi/rusefi-1.git
pid into lua
This commit is contained in:
parent
ec5786695e
commit
8f6420ba98
|
@ -126,3 +126,14 @@ public:
|
|||
private:
|
||||
float limitOutput(float v) const;
|
||||
};
|
||||
|
||||
|
||||
// todo: composition instead of inheritance? :(
|
||||
class PidWithParameters : public Pid {
|
||||
public:
|
||||
pid_s parametersStorage;
|
||||
|
||||
PidWithParameters() {
|
||||
initPidClass(¶metersStorage);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue