summaryrefslogtreecommitdiffstats
path: root/Project/ControlEditor.cpp
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-05-04 17:03:19 -0300
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-05-04 17:03:19 -0300
commit412ddd0fa4a6e32651619897c8606d4cbaaa1ffa (patch)
treed93249ee4a8e32668d497bc6675fbb42b93d0f2c /Project/ControlEditor.cpp
parent7ade1da522d642fa5f7a38e62d0e865733ef1afe (diff)
downloadPSP.git-412ddd0fa4a6e32651619897c8606d4cbaaa1ffa.tar.gz
PSP.git-412ddd0fa4a6e32651619897c8606d4cbaaa1ffa.tar.xz
PSP.git-412ddd0fa4a6e32651619897c8606d4cbaaa1ffa.zip
Control solver class created
Just the basics methods implemented
Diffstat (limited to 'Project/ControlEditor.cpp')
-rw-r--r--Project/ControlEditor.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/Project/ControlEditor.cpp b/Project/ControlEditor.cpp
index a9d0213..5fbd60e 100644
--- a/Project/ControlEditor.cpp
+++ b/Project/ControlEditor.cpp
@@ -13,6 +13,8 @@
#include "Constant.h"
#include "Gain.h"
+#include "ControlElementSolver.h"
+
#include "ChartView.h"
#include "ElementPlotData.h"
@@ -618,6 +620,9 @@ void ControlEditor::OnKeyDown(wxKeyEvent& event)
{
//tests
if(event.ControlDown() && event.ShiftDown()) {
+
+ ControlElementSolver solver(this, 1e-3, true, 0.0);
+ /*
std::vector<double> time, sinC, cosC, tgC;
for(int i=0; i<360; ++i) {
time.push_back(i);
@@ -642,7 +647,7 @@ void ControlEditor::OnKeyDown(wxKeyEvent& event)
epdList.push_back(curve3Data);
ChartView* cView = new ChartView(this, epdList, time);
- cView->Show();
+ cView->Show();*/
}
}
}