diff options
author | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2017-05-13 16:13:12 -0300 |
---|---|---|
committer | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2017-05-13 16:13:12 -0300 |
commit | d44c3a76943c90cfcbf336961d9ba3516a1c80dc (patch) | |
tree | c8ff066e02428c9a4f8f00e488d7495026a25b22 /Project/RateLimiter.h | |
parent | 6cf253651521f0cdaf3a80f8ae58e9917fe2ec57 (diff) | |
download | PSP.git-d44c3a76943c90cfcbf336961d9ba3516a1c80dc.tar.gz PSP.git-d44c3a76943c90cfcbf336961d9ba3516a1c80dc.tar.xz PSP.git-d44c3a76943c90cfcbf336961d9ba3516a1c80dc.zip |
Several bugs fixed, ready to pull
Diffstat (limited to 'Project/RateLimiter.h')
-rw-r--r-- | Project/RateLimiter.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Project/RateLimiter.h b/Project/RateLimiter.h index 13125e1..b1e669c 100644 --- a/Project/RateLimiter.h +++ b/Project/RateLimiter.h @@ -24,15 +24,11 @@ class RateLimiter : public ControlElement void SetUpLimit(double upLimit) { m_upLimit = upLimit; } void SetLowLimit(double lowLimit) { m_lowLimit = lowLimit; } - virtual void SetTimeStep(double timeStep) { m_timeStep = timeStep; } - - virtual bool Solve(double input); + virtual bool Solve(double input, double timeStep); protected: double m_upLimit = 5.0; double m_lowLimit = -5.0; - - double m_timeStep = 1e-3; }; #endif // RATELIMITER_H |