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/Gain.cpp | |
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/Gain.cpp')
-rw-r--r-- | Project/Gain.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Project/Gain.cpp b/Project/Gain.cpp index faea89c..d2106d7 100644 --- a/Project/Gain.cpp +++ b/Project/Gain.cpp @@ -167,3 +167,9 @@ void Gain::Move(wxPoint2DDouble position) SetPosition(m_movePos + position - m_moveStartPt); UpdatePoints(); } + +bool Gain::Solve(double input, double timeStep) +{ + m_output = input * m_value; + return true; +} |