diff options
author | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2017-05-13 16:15:22 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-13 16:15:22 -0300 |
commit | 17d1dd82ec065eff08546ef1fd2a188ce77471b2 (patch) | |
tree | 811c788656f71692ccb0b038215dab7a87c2c0dc /Project/RateLimiter.h | |
parent | fe4776d88169c048e06c142d81bfd42651c63d1d (diff) | |
parent | d44c3a76943c90cfcbf336961d9ba3516a1c80dc (diff) | |
download | PSP.git-17d1dd82ec065eff08546ef1fd2a188ce77471b2.tar.gz PSP.git-17d1dd82ec065eff08546ef1fd2a188ce77471b2.tar.xz PSP.git-17d1dd82ec065eff08546ef1fd2a188ce77471b2.zip |
Merge pull request #32 from Thales1330/wip/controller-solver
Wip controller solver
Diffstat (limited to 'Project/RateLimiter.h')
-rw-r--r-- | Project/RateLimiter.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Project/RateLimiter.h b/Project/RateLimiter.h index d17642b..b1e669c 100644 --- a/Project/RateLimiter.h +++ b/Project/RateLimiter.h @@ -24,6 +24,8 @@ class RateLimiter : public ControlElement void SetUpLimit(double upLimit) { m_upLimit = upLimit; } void SetLowLimit(double lowLimit) { m_lowLimit = lowLimit; } + virtual bool Solve(double input, double timeStep); + protected: double m_upLimit = 5.0; double m_lowLimit = -5.0; |