Changeset 15 in flair-src for trunk/lib/FlairFilter/src/unexported/NestedSat_impl.h
- Timestamp:
- 04/08/16 15:40:57 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairFilter/src/unexported/NestedSat_impl.h
r10 r15 16 16 #include <Object.h> 17 17 18 namespace flair 19 { 20 namespace core 21 { 22 class cvmatrix; 23 class io_data; 24 } 25 namespace gui 26 { 27 class Layout; 28 class LayoutPosition; 29 class DoubleSpinBox; 30 class DataPlot1D; 31 } 32 namespace filter 33 { 34 class NestedSat; 35 } 18 namespace flair { 19 namespace core { 20 class cvmatrix; 21 class io_data; 22 } 23 namespace gui { 24 class Layout; 25 class LayoutPosition; 26 class DoubleSpinBox; 27 class DataPlot1D; 28 } 29 namespace filter { 30 class NestedSat; 31 } 36 32 } 37 33 … … 39 35 * \brief Classe permettant le calcul d'un Pid avec saturations 40 36 */ 41 class NestedSat_impl 42 { 43 public:44 NestedSat_impl(flair::filter::NestedSat* self,const flair::gui::LayoutPosition* position,std::string name);45 46 47 void UseDefaultPlot(const flair::gui::Layout* layout,int row,int col);48 49 50 37 class NestedSat_impl { 38 public: 39 NestedSat_impl(flair::filter::NestedSat *self, 40 const flair::gui::LayoutPosition *position, std::string name); 41 ~NestedSat_impl(); 42 float Value(void); 43 void UseDefaultPlot(const flair::gui::Layout *layout, int row, int col); 44 void UpdateFrom(const flair::core::io_data *data); 45 void ConvertSatFromDegToRad(void); 46 float k; 51 47 52 53 flair::filter::NestedSat*self;54 flair::gui::DoubleSpinBox *kp,*kd,*sat,*dsat,*usat;55 56 float Sat(float value,float borne);48 private: 49 flair::filter::NestedSat *self; 50 flair::gui::DoubleSpinBox *kp, *kd, *sat, *dsat, *usat; 51 flair::gui::DataPlot1D *plot; 52 float Sat(float value, float borne); 57 53 }; 58 54 59 60 55 #endif // NESTEDSAT_IMPL_H
Note:
See TracChangeset
for help on using the changeset viewer.