Changeset 15 in flair-src for trunk/lib/FlairFilter/src/unexported/PidThrust_impl.h
- Timestamp:
- 04/08/16 15:40:57 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairFilter/src/unexported/PidThrust_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 LayoutPosition; 28 class DoubleSpinBox; 29 } 30 namespace filter 31 { 32 class PidThrust; 33 } 18 namespace flair { 19 namespace core { 20 class cvmatrix; 21 class io_data; 22 } 23 namespace gui { 24 class LayoutPosition; 25 class DoubleSpinBox; 26 } 27 namespace filter { 28 class PidThrust; 29 } 34 30 } 35 31 … … 38 34 */ 39 35 40 class PidThrust_impl 41 { 42 public:43 PidThrust_impl(flair::filter::PidThrust* self,const flair::gui::LayoutPosition* position,std::string name);44 45 void UseDefaultPlot(const flair::gui::LayoutPosition*position);46 47 float i,offset_g;48 flair::gui::DoubleSpinBox *offset,*pas_offset;36 class PidThrust_impl { 37 public: 38 PidThrust_impl(flair::filter::PidThrust *self, 39 const flair::gui::LayoutPosition *position, std::string name); 40 ~PidThrust_impl(); 41 void UseDefaultPlot(const flair::gui::LayoutPosition *position); 42 void UpdateFrom(const flair::core::io_data *data); 43 float i, offset_g; 44 flair::gui::DoubleSpinBox *offset, *pas_offset; 49 45 50 51 flair::filter::PidThrust*self;52 53 46 private: 47 flair::filter::PidThrust *self; 48 flair::core::Time previous_time; 49 bool first_update; 54 50 55 //matrix56 51 // matrix 52 flair::core::cvmatrix *state; 57 53 58 flair::gui::DoubleSpinBox *T,*kp,*ki,*kd,*sat,*sati;54 flair::gui::DoubleSpinBox *T, *kp, *ki, *kd, *sat, *sati; 59 55 }; 60 56
Note:
See TracChangeset
for help on using the changeset viewer.