Changeset 148 in flair-src for trunk/lib/FlairFilter
- Timestamp:
- Feb 28, 2017, 4:18:13 PM (8 years ago)
- Location:
- trunk/lib/FlairFilter/src
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairFilter/src/ButterworthLowPass_impl.cpp
r147 r148 42 42 desc->SetElementName(0, 0, "output"); 43 43 output = new cvmatrix(self, desc, floatType, name); 44 45 output->SetValue(0, 0, 0); 44 delete desc; 46 45 47 46 f = new PoleFilter(order); -
trunk/lib/FlairFilter/src/ControlLaw.cpp
r15 r148 41 41 } 42 42 output = new cvmatrix(this, desc, floatType, name); 43 delete desc; 43 44 } 44 45 -
trunk/lib/FlairFilter/src/EulerDerivative_impl.cpp
r147 r148 44 44 } 45 45 output = new cvmatrix(self, desc,init_value->GetDataType().GetElementDataType(), name); 46 delete desc; 46 47 for (int i = 0; i < init_value->Rows(); i++) { 47 48 for (int j = 0; j < init_value->Cols(); j++) { … … 54 55 desc->SetElementName(0, 0, "output"); 55 56 output = new cvmatrix(self, desc, floatType, name); 56 output->SetValue(0, 0, 0);57 delete desc; 57 58 } 58 59 -
trunk/lib/FlairFilter/src/JoyReference_impl.cpp
r15 r148 49 49 desc->SetElementName(3, 0, "trim_pitch"); 50 50 output = new cvmatrix(self, desc, floatType, name); 51 delete desc; 51 52 52 53 reglages_groupbox = new GroupBox(position, name); -
trunk/lib/FlairFilter/src/LowPassFilter_impl.cpp
r147 r148 51 51 } 52 52 } 53 delete desc; 53 54 } else { 54 55 // if NULL, assume dimension 1, and init=0 … … 56 57 desc->SetElementName(0, 0, "output"); 57 58 output = new cvmatrix(self, desc, floatType, name); 58 output->SetValue(0, 0, 0);59 delete desc; 59 60 } 60 61 -
trunk/lib/FlairFilter/src/PidThrust_impl.cpp
r15 r148 45 45 desc->SetElementName(4, 0, "p+i+d+offset"); 46 46 state = new cvmatrix(self, desc, floatType, name); 47 delete desc; 47 48 48 49 GroupBox *reglages_groupbox = new GroupBox(position, name); -
trunk/lib/FlairFilter/src/Pid_impl.cpp
r15 r148 42 42 desc->SetElementName(3, 0, "p+i+d"); 43 43 state = new cvmatrix(self, desc, floatType, name); 44 delete desc; 44 45 45 46 GroupBox *reglages_groupbox = new GroupBox(position, name); -
trunk/lib/FlairFilter/src/TrajectoryGenerator1D_impl.cpp
r15 r148 64 64 desc->SetElementName(1, 0, "vel"); 65 65 output = new cvmatrix(self, desc, floatType, name); 66 delete desc; 66 67 67 68 output->SetValue(0, 0, pos); -
trunk/lib/FlairFilter/src/TrajectoryGenerator2DCircle_impl.cpp
r15 r148 57 57 desc->SetElementName(1, 1, "vel.y"); 58 58 output = new cvmatrix(self, desc, floatType, name); 59 60 output->SetValue(0, 0, 0); 61 output->SetValue(0, 1, 0); 62 output->SetValue(1, 0, 0); 63 output->SetValue(1, 1, 0); 59 delete desc; 64 60 } 65 61 -
trunk/lib/FlairFilter/src/X4X8Multiplex_impl.cpp
r106 r148 56 56 57 57 output = new cvmatrix(self, desc, floatType); 58 58 delete desc; 59 59 self->AddDataToLog(output); 60 60 }
Note:
See TracChangeset
for help on using the changeset viewer.