Changeset 214 in flair-src for trunk/lib/FlairFilter
- Timestamp:
- Feb 7, 2018, 5:49:27 PM (7 years ago)
- Location:
- trunk/lib/FlairFilter/src
- Files:
-
- 38 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairFilter/src/ButterworthLowPass.cpp
r162 r214 18 18 #include "ButterworthLowPass.h" 19 19 #include "ButterworthLowPass_impl.h" 20 #include < cvmatrix.h>20 #include <Matrix.h> 21 21 #include <Layout.h> 22 22 #include <LayoutPosition.h> … … 48 48 ButterworthLowPass::~ButterworthLowPass() { delete pimpl_; } 49 49 50 cvmatrix *ButterworthLowPass::Matrix(void) const { return pimpl_->output; }50 Matrix *ButterworthLowPass::GetMatrix(void) const { return pimpl_->output; } 51 51 52 52 float ButterworthLowPass::Output(void) const { -
trunk/lib/FlairFilter/src/ButterworthLowPass.h
r162 r214 18 18 namespace flair { 19 19 namespace core { 20 class cvmatrix;20 class Matrix; 21 21 } 22 22 namespace gui { … … 91 91 * \return filtered output 92 92 */ 93 core:: cvmatrix *Matrix(void) const;93 core::Matrix *GetMatrix(void) const; 94 94 95 95 /*! -
trunk/lib/FlairFilter/src/ButterworthLowPass_impl.cpp
r165 r214 18 18 #include "ButterworthLowPass_impl.h" 19 19 #include "ButterworthLowPass.h" 20 #include < cvmatrix.h>20 #include <Matrix.h> 21 21 #include <Layout.h> 22 22 #include <GroupBox.h> … … 29 29 using namespace flair::filter; 30 30 31 ButterworthLowPass_impl::ButterworthLowPass_impl( ButterworthLowPass *self,31 ButterworthLowPass_impl::ButterworthLowPass_impl(const ButterworthLowPass *self, 32 32 const LayoutPosition *position, 33 33 string name, uint32_t order,uint32_t nbRow,uint32_t nbCol) { … … 41 41 cvmatrix_descriptor *desc = new cvmatrix_descriptor(nbRow, nbCol); 42 42 //desc->SetElementName(0, 0, "output"); 43 output = new cvmatrix(self, desc, floatType, name);43 output = new Matrix(self, desc, floatType, name); 44 44 delete desc; 45 45 … … 60 60 this->nbRow=nbRow; 61 61 this->nbCol=nbCol; 62 this->self=self; 62 63 } 63 64 … … 72 73 73 74 void ButterworthLowPass_impl::UpdateFrom(const io_data *data) { 74 cvmatrix *input = (cvmatrix *)data;75 75 float delta_t; 76 const Matrix* input = dynamic_cast<const Matrix*>(data); 77 78 if (!input) { 79 self->Warn("casting %s to Matrix failed\n",data->ObjectName().c_str()); 80 return; 81 } 76 82 77 83 if (T->ValueChanged() && T->Value() != 0) { -
trunk/lib/FlairFilter/src/ControlLaw.cpp
r148 r214 17 17 18 18 #include "ControlLaw.h" 19 #include < cvmatrix.h>19 #include <Matrix.h> 20 20 #include <cvmatrix_descriptor.h> 21 21 #include <DataPlot1D.h> … … 32 32 : IODevice(parent, name) { 33 33 if (nb_out == 1) { 34 output = new cvmatrix(this, nb_out, 1, floatType, name);34 output = new Matrix(this, nb_out, 1, floatType, name); 35 35 } else { 36 36 cvmatrix_descriptor *desc = new cvmatrix_descriptor(nb_out, 1); … … 40 40 desc->SetElementName(i, 0, ss.str()); 41 41 } 42 output = new cvmatrix(this, desc, floatType, name);42 output = new Matrix(this, desc, floatType, name); 43 43 delete desc; 44 44 } -
trunk/lib/FlairFilter/src/ControlLaw.h
r15 r214 21 21 } 22 22 namespace core { 23 class cvmatrix;23 class Matrix; 24 24 } 25 25 } … … 100 100 * 101 101 */ 102 core:: cvmatrix *input;102 core::Matrix *input; 103 103 104 104 /*! … … 109 109 * 110 110 */ 111 core:: cvmatrix *output;111 core::Matrix *output; 112 112 113 113 private: -
trunk/lib/FlairFilter/src/EulerDerivative.cpp
r157 r214 18 18 #include "EulerDerivative.h" 19 19 #include "EulerDerivative_impl.h" 20 #include < cvmatrix.h>20 #include <Matrix.h> 21 21 #include <LayoutPosition.h> 22 22 … … 30 30 EulerDerivative::EulerDerivative(const IODevice *parent, 31 31 const LayoutPosition *position, string name, 32 const cvmatrix *init_value)32 const Matrix *init_value) 33 33 : IODevice(parent, name) { 34 34 pimpl_ = new EulerDerivative_impl(this, position, name, init_value); … … 40 40 EulerDerivative::~EulerDerivative() { delete pimpl_; } 41 41 42 cvmatrix *EulerDerivative::Matrix(void) const { return pimpl_->output; }42 Matrix *EulerDerivative::GetMatrix(void) const { return pimpl_->output; } 43 43 44 44 float EulerDerivative::Output(int row, int col) const { -
trunk/lib/FlairFilter/src/EulerDerivative.h
r147 r214 18 18 namespace flair { 19 19 namespace core { 20 class cvmatrix;20 class Matrix; 21 21 } 22 22 namespace gui { … … 56 56 EulerDerivative(const core::IODevice *parent, 57 57 const gui::LayoutPosition *position, std::string name, 58 const core:: cvmatrix *init_value = NULL);58 const core::Matrix *init_value = NULL); 59 59 60 60 /*! … … 79 79 * \return filtered output 80 80 */ 81 core:: cvmatrix *Matrix(void) const;81 core::Matrix *GetMatrix(void) const; 82 82 83 83 private: -
trunk/lib/FlairFilter/src/EulerDerivative_impl.cpp
r148 r214 18 18 #include "EulerDerivative.h" 19 19 #include "EulerDerivative_impl.h" 20 #include < cvmatrix.h>20 #include <Matrix.h> 21 21 #include <Layout.h> 22 22 #include <GroupBox.h> … … 31 31 const LayoutPosition *position, 32 32 string name, 33 const cvmatrix *init_value) {33 const Matrix *init_value) { 34 34 first_update = true; 35 this->self = self; 35 36 36 37 if (init_value != NULL) { … … 43 44 } 44 45 } 45 output = new cvmatrix(self, desc,init_value->GetDataType().GetElementDataType(), name);46 output = new Matrix(self, desc,init_value->GetDataType().GetElementDataType(), name); 46 47 delete desc; 47 48 for (int i = 0; i < init_value->Rows(); i++) { … … 54 55 cvmatrix_descriptor *desc = new cvmatrix_descriptor(1, 1); 55 56 desc->SetElementName(0, 0, "output"); 56 output = new cvmatrix(self, desc, floatType, name);57 output = new Matrix(self, desc, floatType, name); 57 58 delete desc; 58 59 } … … 60 61 61 62 cvmatrix_descriptor *desc = new cvmatrix_descriptor(output->Rows(), output->Cols()); 62 prev_value = new cvmatrix(self, desc, output->GetDataType().GetElementDataType(), name);63 prev_value = new Matrix(self, desc, output->GetDataType().GetElementDataType(), name); 63 64 64 65 … … 73 74 void EulerDerivative_impl::UpdateFrom(const io_data *data) { 74 75 float delta_t; 75 cvmatrix *input = (cvmatrix *)data; 76 const Matrix* input = dynamic_cast<const Matrix*>(data); 77 78 if (!input) { 79 self->Warn("casting %s to Matrix failed\n",data->ObjectName().c_str()); 80 return; 81 } 76 82 77 83 // on prend une fois pour toute les mutex et on fait des accès directs -
trunk/lib/FlairFilter/src/JoyReference.cpp
r157 r214 20 20 #include <Layout.h> 21 21 #include <LayoutPosition.h> 22 #include < cvmatrix.h>22 #include <Matrix.h> 23 23 #include <AhrsData.h> 24 24 #include <Euler.h> -
trunk/lib/FlairFilter/src/JoyReference_impl.cpp
r167 r214 20 20 #include <AhrsData.h> 21 21 #include <Euler.h> 22 #include < cvmatrix.h>22 #include <Matrix.h> 23 23 #include <Layout.h> 24 24 #include <GroupBox.h> … … 40 40 41 41 ahrsData = new AhrsData(self); 42 input = new cvmatrix(self, 4, 1, floatType, name);42 input = new Matrix(self, 4, 1, floatType, name); 43 43 44 44 cvmatrix_descriptor *desc = new cvmatrix_descriptor(4, 1); … … 48 48 desc->SetElementName(2, 0, "trim_roll"); 49 49 desc->SetElementName(3, 0, "trim_pitch"); 50 output = new cvmatrix(self, desc, floatType, name);50 output = new Matrix(self, desc, floatType, name); 51 51 delete desc; 52 52 … … 147 147 148 148 void JoyReference_impl::UpdateFrom(const io_data *data) { 149 cvmatrix *input = (cvmatrix *)data; 149 const Matrix* input = dynamic_cast<const Matrix*>(data); 150 151 if (!input) { 152 self->Warn("casting %s to Matrix failed\n",data->ObjectName().c_str()); 153 return; 154 } 150 155 151 156 if (previous_time == 0) -
trunk/lib/FlairFilter/src/LowPassFilter.cpp
r157 r214 18 18 #include "LowPassFilter.h" 19 19 #include "LowPassFilter_impl.h" 20 #include < cvmatrix.h>20 #include <Matrix.h> 21 21 #include <LayoutPosition.h> 22 22 … … 30 30 LowPassFilter::LowPassFilter(const IODevice *parent, 31 31 const LayoutPosition *position, string name, 32 const cvmatrix *init_value)32 const Matrix *init_value) 33 33 : IODevice(parent, name) { 34 34 pimpl_ = new LowPassFilter_impl(this, position, name, init_value); … … 40 40 LowPassFilter::~LowPassFilter() { delete pimpl_; } 41 41 42 cvmatrix *LowPassFilter::Matrix(void) const { return pimpl_->output; }42 Matrix *LowPassFilter::GetMatrix(void) const { return pimpl_->output; } 43 43 44 44 float LowPassFilter::Output(int row, int col) const { -
trunk/lib/FlairFilter/src/LowPassFilter.h
r147 r214 18 18 namespace flair { 19 19 namespace core { 20 class cvmatrix;20 class Matrix; 21 21 } 22 22 namespace gui { … … 56 56 LowPassFilter(const core::IODevice *parent, 57 57 const gui::LayoutPosition *position, std::string name, 58 const core:: cvmatrix *init_value = NULL);58 const core::Matrix *init_value = NULL); 59 59 60 60 /*! … … 79 79 * \return filtered output 80 80 */ 81 core:: cvmatrix *Matrix(void) const;81 core::Matrix *GetMatrix(void) const; 82 82 83 83 private: -
trunk/lib/FlairFilter/src/LowPassFilter_impl.cpp
r148 r214 18 18 #include "LowPassFilter_impl.h" 19 19 #include "LowPassFilter.h" 20 #include < cvmatrix.h>20 #include <Matrix.h> 21 21 #include <Layout.h> 22 22 #include <GroupBox.h> 23 23 #include <SpinBox.h> 24 24 #include <DoubleSpinBox.h> 25 25 #include <typeinfo> 26 26 #define PI ((float)3.14159265358979323846) 27 27 … … 34 34 const LayoutPosition *position, 35 35 string name, 36 const cvmatrix *init_value) {36 const Matrix *init_value) { 37 37 38 38 if (init_value != NULL) { … … 45 45 } 46 46 } 47 output = new cvmatrix(self, desc,init_value->GetDataType().GetElementDataType(), name);47 output = new Matrix(self, desc,init_value->GetDataType().GetElementDataType(), name); 48 48 for (int i = 0; i < init_value->Rows(); i++) { 49 49 for (int j = 0; j < init_value->Cols(); j++) { … … 56 56 cvmatrix_descriptor *desc = new cvmatrix_descriptor(1, 1); 57 57 desc->SetElementName(0, 0, "output"); 58 output = new cvmatrix(self, desc, floatType, name);58 output = new Matrix(self, desc, floatType, name); 59 59 delete desc; 60 60 } … … 68 68 69 69 previous_time=GetTime(); 70 this->self = self; 70 71 } 71 72 … … 74 75 void LowPassFilter_impl::UpdateFrom(const io_data *data) { 75 76 float delta_t; 76 cvmatrix *input = (cvmatrix *)data; 77 const Matrix* input = dynamic_cast<const Matrix*>(data); 78 79 if (!input) { 80 self->Warn("casting %s to Matrix failed\n",data->ObjectName().c_str()); 81 return; 82 } 77 83 78 84 // on prend une fois pour toute les mutex et on fait des accès directs -
trunk/lib/FlairFilter/src/NestedSat.cpp
r157 r214 18 18 #include "NestedSat.h" 19 19 #include "NestedSat_impl.h" 20 #include < cvmatrix.h>20 #include <Matrix.h> 21 21 #include <Layout.h> 22 22 #include <LayoutPosition.h> -
trunk/lib/FlairFilter/src/NestedSat_impl.cpp
r15 r214 18 18 #include "NestedSat_impl.h" 19 19 #include "NestedSat.h" 20 #include < cvmatrix.h>20 #include <Matrix.h> 21 21 #include <Layout.h> 22 22 #include <GroupBox.h> … … 34 34 35 35 // init matrix 36 self->input = new cvmatrix(self, 3, 1, floatType, name);36 self->input = new Matrix(self, 3, 1, floatType, name); 37 37 38 38 GroupBox *reglages_groupbox = new GroupBox(position, name); … … 50 50 void NestedSat_impl::UpdateFrom(const io_data *data) { 51 51 float cons, dcons, law; 52 cvmatrix *input = (cvmatrix *)data; 52 const Matrix* input = dynamic_cast<const Matrix*>(data); 53 54 if (!input) { 55 self->Warn("casting %s to Matrix failed\n",data->ObjectName().c_str()); 56 return; 57 } 53 58 54 59 input->GetMutex(); -
trunk/lib/FlairFilter/src/Pid.cpp
r157 r214 18 18 #include "Pid.h" 19 19 #include "Pid_impl.h" 20 #include < cvmatrix.h>20 #include <Matrix.h> 21 21 #include <Layout.h> 22 22 #include <LayoutPosition.h> -
trunk/lib/FlairFilter/src/PidThrust.cpp
r206 r214 18 18 #include "PidThrust.h" 19 19 #include "PidThrust_impl.h" 20 #include < cvmatrix.h>20 #include <Matrix.h> 21 21 #include <Layout.h> 22 22 #include <LayoutPosition.h> -
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) { -
trunk/lib/FlairFilter/src/Pid_impl.cpp
r148 r214 17 17 #include "Pid_impl.h" 18 18 #include "Pid.h" 19 #include < cvmatrix.h>19 #include <Matrix.h> 20 20 #include <Layout.h> 21 21 #include <GroupBox.h> … … 34 34 35 35 // init matrix 36 self->input = new cvmatrix(self, 2, 1, floatType, name);36 self->input = new Matrix(self, 2, 1, floatType, name); 37 37 38 38 cvmatrix_descriptor *desc = new cvmatrix_descriptor(4, 1); … … 41 41 desc->SetElementName(2, 0, "d"); 42 42 desc->SetElementName(3, 0, "p+i+d"); 43 state = new cvmatrix(self, desc, floatType, name);43 state = new Matrix(self, desc, floatType, name); 44 44 delete desc; 45 45 … … 71 71 float p, d, total; 72 72 float delta_t; 73 cvmatrix *input = (cvmatrix *)data; 73 const Matrix* input = dynamic_cast<const Matrix*>(data); 74 75 if (!input) { 76 self->Warn("casting %s to Matrix failed\n",data->ObjectName().c_str()); 77 return; 78 } 74 79 75 80 if (T->Value() == 0) { -
trunk/lib/FlairFilter/src/TrajectoryGenerator1D.cpp
r205 r214 18 18 #include "TrajectoryGenerator1D.h" 19 19 #include "TrajectoryGenerator1D_impl.h" 20 #include < cvmatrix.h>20 #include <Matrix.h> 21 21 #include <Layout.h> 22 22 #include <LayoutPosition.h> … … 39 39 TrajectoryGenerator1D::~TrajectoryGenerator1D() { delete pimpl_; } 40 40 41 cvmatrix *TrajectoryGenerator1D::Matrix(void) const { return pimpl_->output; }41 Matrix *TrajectoryGenerator1D::GetMatrix(void) const { return pimpl_->output; } 42 42 43 43 void TrajectoryGenerator1D::StartTraj(float startPosition, float endPosition,float startVelocity) { -
trunk/lib/FlairFilter/src/TrajectoryGenerator1D.h
r205 r214 18 18 namespace flair { 19 19 namespace core { 20 class cvmatrix;20 class Matrix; 21 21 } 22 22 namespace gui { … … 152 152 * \return matrix 153 153 */ 154 core:: cvmatrix *Matrix(void) const;154 core::Matrix *GetMatrix(void) const; 155 155 156 156 private: -
trunk/lib/FlairFilter/src/TrajectoryGenerator1D_impl.cpp
r205 r214 18 18 #include "TrajectoryGenerator1D.h" 19 19 #include "TrajectoryGenerator1D_impl.h" 20 #include < cvmatrix.h>20 #include <Matrix.h> 21 21 #include <Layout.h> 22 22 #include <GroupBox.h> … … 63 63 desc->SetElementName(0, 0, "pos"); 64 64 desc->SetElementName(1, 0, "vel"); 65 output = new cvmatrix(self, desc, floatType, name);65 output = new Matrix(self, desc, floatType, name); 66 66 delete desc; 67 67 -
trunk/lib/FlairFilter/src/TrajectoryGenerator2DCircle.cpp
r167 r214 18 18 #include "TrajectoryGenerator2DCircle.h" 19 19 #include "TrajectoryGenerator2DCircle_impl.h" 20 #include < cvmatrix.h>20 #include <Matrix.h> 21 21 #include <Layout.h> 22 22 #include <LayoutPosition.h> … … 44 44 } 45 45 46 cvmatrix *TrajectoryGenerator2DCircle::Matrix(void) const {46 Matrix *TrajectoryGenerator2DCircle::GetMatrix(void) const { 47 47 return pimpl_->output; 48 48 } -
trunk/lib/FlairFilter/src/TrajectoryGenerator2DCircle.h
r167 r214 19 19 namespace flair { 20 20 namespace core { 21 class cvmatrix;21 class Matrix; 22 22 } 23 23 namespace gui { … … 131 131 * \return matrix 132 132 */ 133 core:: cvmatrix *Matrix(void) const;133 core::Matrix *GetMatrix(void) const; 134 134 135 135 /*! -
trunk/lib/FlairFilter/src/TrajectoryGenerator2DCircle_impl.cpp
r167 r214 18 18 #include "TrajectoryGenerator2DCircle_impl.h" 19 19 #include "TrajectoryGenerator2DCircle.h" 20 #include < cvmatrix.h>20 #include <Matrix.h> 21 21 #include <Layout.h> 22 22 #include <GroupBox.h> … … 56 56 desc->SetElementName(1, 0, "vel.x"); 57 57 desc->SetElementName(1, 1, "vel.y"); 58 output = new cvmatrix(self, desc, floatType, name);58 output = new Matrix(self, desc, floatType, name); 59 59 delete desc; 60 60 } -
trunk/lib/FlairFilter/src/UavMultiplex.cpp
r137 r214 18 18 #include "UavMultiplex.h" 19 19 #include "UavMultiplex_impl.h" 20 #include < cvmatrix.h>20 #include <Matrix.h> 21 21 #include <FrameworkManager.h> 22 22 #include <Tab.h> -
trunk/lib/FlairFilter/src/UavMultiplex_impl.cpp
r137 r214 18 18 #include "UavMultiplex_impl.h" 19 19 #include "UavMultiplex.h" 20 #include < cvmatrix.h>20 #include <Matrix.h> 21 21 #include <FrameworkManager.h> 22 22 #include <TabWidget.h> … … 34 34 35 35 UavMultiplex_impl::UavMultiplex_impl(UavMultiplex *self, std::string name) { 36 input = new cvmatrix(self, 7, 1, floatType);36 input = new Matrix(self, 7, 1, floatType); 37 37 multiplexcombobox = NULL; 38 38 this->self = self; -
trunk/lib/FlairFilter/src/X4X8Multiplex_impl.cpp
r148 r214 18 18 #include "X4X8Multiplex_impl.h" 19 19 #include "X4X8Multiplex.h" 20 #include < cvmatrix.h>20 #include <Matrix.h> 21 21 #include <Tab.h> 22 22 #include <GridLayout.h> … … 55 55 } 56 56 57 output = new cvmatrix(self, desc, floatType);57 output = new Matrix(self, desc, floatType); 58 58 delete desc; 59 59 self->AddDataToLog(output); … … 83 83 float value[MAX_MOTORS]; 84 84 85 cvmatrix *input = (cvmatrix *)data; 85 const Matrix* input = dynamic_cast<const Matrix*>(data); 86 87 if (!input) { 88 self->Warn("casting %s to Matrix failed\n",data->ObjectName().c_str()); 89 return; 90 } 86 91 87 92 // on prend une fois pour toute le mutex et on fait des accès directs -
trunk/lib/FlairFilter/src/unexported/ButterworthLowPass_impl.h
r162 r214 19 19 namespace flair { 20 20 namespace core { 21 class cvmatrix;21 class Matrix; 22 22 } 23 23 namespace gui { … … 120 120 class ButterworthLowPass_impl { 121 121 public: 122 ButterworthLowPass_impl( flair::filter::ButterworthLowPass *self,122 ButterworthLowPass_impl(const flair::filter::ButterworthLowPass *self, 123 123 const flair::gui::LayoutPosition *position, 124 124 std::string name, uint32_t order,uint32_t nbRow,uint32_t nbCol); 125 125 ~ButterworthLowPass_impl(); 126 126 void UpdateFrom(const flair::core::io_data *data); 127 flair::core:: cvmatrix *output;127 flair::core::Matrix *output; 128 128 129 129 private: … … 135 135 uint32_t order; 136 136 uint32_t nbRow, nbCol; 137 const flair::filter::ButterworthLowPass *self; 137 138 }; 138 139 -
trunk/lib/FlairFilter/src/unexported/EulerDerivative_impl.h
r15 r214 18 18 namespace flair { 19 19 namespace core { 20 class cvmatrix;20 class Matrix; 21 21 } 22 22 namespace gui { … … 38 38 const flair::gui::LayoutPosition *position, 39 39 std::string name, 40 const flair::core:: cvmatrix *init_value = NULL);40 const flair::core::Matrix *init_value = NULL); 41 41 ~EulerDerivative_impl(); 42 42 void UpdateFrom(const flair::core::io_data *data); 43 flair::core:: cvmatrix *output;43 flair::core::Matrix *output; 44 44 45 45 private: … … 47 47 flair::core::Time previous_time; 48 48 bool first_update; 49 flair::core::cvmatrix *prev_value; 49 flair::core::Matrix *prev_value; 50 flair::filter::EulerDerivative *self; 50 51 }; 51 52 -
trunk/lib/FlairFilter/src/unexported/JoyReference_impl.h
r15 r214 25 25 namespace flair { 26 26 namespace core { 27 class cvmatrix;27 class Matrix; 28 28 class io_data; 29 29 class AhrsData; … … 65 65 void Update(flair::core::Time time); 66 66 void UpdateFrom(const flair::core::io_data *data); 67 flair::core:: cvmatrix *output;67 flair::core::Matrix *output; 68 68 flair::core::AhrsData *ahrsData; 69 69 70 70 private: 71 flair::core:: cvmatrix *input;71 flair::core::Matrix *input; 72 72 73 73 flair::gui::GroupBox *reglages_groupbox; -
trunk/lib/FlairFilter/src/unexported/LowPassFilter_impl.h
r147 r214 18 18 namespace flair { 19 19 namespace core { 20 class cvmatrix;20 class Matrix; 21 21 } 22 22 namespace gui { … … 36 36 const flair::gui::LayoutPosition *position, 37 37 std::string name, 38 const flair::core:: cvmatrix *init_value = NULL);38 const flair::core::Matrix *init_value = NULL); 39 39 ~LowPassFilter_impl(); 40 40 void UpdateFrom(const flair::core::io_data *data); 41 flair::core:: cvmatrix *output;41 flair::core::Matrix *output; 42 42 43 43 private: 44 44 flair::core::Time previous_time; 45 45 flair::gui::DoubleSpinBox *freq, *T; 46 const flair::filter::LowPassFilter *self; 46 47 }; 47 48 -
trunk/lib/FlairFilter/src/unexported/PidThrust_impl.h
r15 r214 18 18 namespace flair { 19 19 namespace core { 20 class cvmatrix;20 class Matrix; 21 21 class io_data; 22 22 } … … 50 50 51 51 // matrix 52 flair::core:: cvmatrix *state;52 flair::core::Matrix *state; 53 53 54 54 flair::gui::DoubleSpinBox *T, *kp, *ki, *kd, *sat, *sati; -
trunk/lib/FlairFilter/src/unexported/Pid_impl.h
r15 r214 18 18 namespace flair { 19 19 namespace core { 20 class cvmatrix;20 class Matrix; 21 21 class io_data; 22 22 } … … 49 49 50 50 // matrix 51 flair::core:: cvmatrix *state;51 flair::core::Matrix *state; 52 52 53 53 flair::gui::DoubleSpinBox *T, *kp, *ki, *kd, *sat, *sati; -
trunk/lib/FlairFilter/src/unexported/TrajectoryGenerator1D_impl.h
r205 r214 16 16 namespace flair { 17 17 namespace core { 18 class cvmatrix;18 class Matrix; 19 19 } 20 20 namespace gui { … … 39 39 void Reset(void); 40 40 float GetPercentageOfCompletion(void) const; 41 flair::core:: cvmatrix *output;41 flair::core::Matrix *output; 42 42 float pos_off, vel_off; 43 43 bool is_finished, is_started; -
trunk/lib/FlairFilter/src/unexported/TrajectoryGenerator2DCircle_impl.h
r167 r214 19 19 namespace flair { 20 20 namespace core { 21 class cvmatrix;21 class Matrix; 22 22 class io_data; 23 23 } … … 46 46 void FinishTraj(void); 47 47 bool is_running; 48 flair::core:: cvmatrix *output;48 flair::core::Matrix *output; 49 49 flair::core::Vector2Df pos_off, vel_off; 50 50 -
trunk/lib/FlairFilter/src/unexported/UavMultiplex_impl.h
r137 r214 20 20 namespace core { 21 21 class FrameworkManager; 22 class cvmatrix;22 class Matrix; 23 23 class io_data; 24 24 } … … 56 56 ~UavMultiplex_impl(); 57 57 58 flair::core:: cvmatrix *input;58 flair::core::Matrix *input; 59 59 void SetMultiplexComboBox(std::string name, int index); 60 60 int MultiplexValue(int index) const; -
trunk/lib/FlairFilter/src/unexported/X4X8Multiplex_impl.h
r15 r214 18 18 namespace flair { 19 19 namespace core { 20 class cvmatrix;20 class Matrix; 21 21 class io_data; 22 22 } … … 44 44 45 45 private: 46 flair::core:: cvmatrix *output;46 flair::core::Matrix *output; 47 47 flair::gui::ComboBox *pas; 48 48 flair::gui::DataPlot1D *plots[4];
Note:
See TracChangeset
for help on using the changeset viewer.