Changeset 214 in flair-src for trunk/lib/FlairFilter/src/PidThrust_impl.cpp
- Timestamp:
- 02/07/18 17:49:27 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairFilter/src/PidThrust_impl.cpp
r148 r214 17 17 #include "PidThrust_impl.h" 18 18 #include "PidThrust.h" 19 #include < cvmatrix.h>19 #include <Matrix.h> 20 20 #include <Layout.h> 21 21 #include <GroupBox.h> … … 36 36 37 37 // init matrix 38 self->input = new cvmatrix(self, 2, 1, floatType, name);38 self->input = new Matrix(self, 2, 1, floatType, name); 39 39 40 40 cvmatrix_descriptor *desc = new cvmatrix_descriptor(5, 1); … … 44 44 desc->SetElementName(3, 0, "p+i+d"); 45 45 desc->SetElementName(4, 0, "p+i+d+offset"); 46 state = new cvmatrix(self, desc, floatType, name);46 state = new Matrix(self, desc, floatType, name); 47 47 delete desc; 48 48 … … 76 76 float p, d, total; 77 77 float delta_t; 78 cvmatrix *input = (cvmatrix *)data; 78 const Matrix* input = dynamic_cast<const Matrix*>(data); 79 80 if (!input) { 81 self->Warn("casting %s to Matrix failed\n",data->ObjectName().c_str()); 82 return; 83 } 79 84 80 85 if (T->Value() == 0) {
Note:
See TracChangeset
for help on using the changeset viewer.