source: flair-src/trunk/lib/FlairFilter/src/unexported/PidThrust_impl.h@ 7

Last change on this file since 7 was 7, checked in by Sanahuja Guillaume, 6 years ago

filter and meta

File size: 1.2 KB
Line 
1/*!
2 * \file PidThrust_impl.h
3 * \brief Classe permettant le calcul d'un Pid
4 * \author Guillaume Sanahuja, Copyright Heudiasyc UMR UTC/CNRS 7253
5 * \date 2014/11/07
6 * \version 4.0
7 */
8
9#ifndef PIDTHRUST_IMPL_H
10#define PIDTHRUST_IMPL_H
11
12#include <Object.h>
13
14namespace flair
15{
16 namespace core
17 {
18 class cvmatrix;
19 class io_data;
20 }
21 namespace gui
22 {
23 class LayoutPosition;
24 class DoubleSpinBox;
25 }
26 namespace filter
27 {
28 class PidThrust;
29 }
30}
31
32/*! \class PidThrust_impl
33* \brief Class defining a PID
34*/
35
36class PidThrust_impl
37{
38 public:
39 PidThrust_impl(flair::filter::PidThrust* self,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;
45
46 private:
47 flair::filter::PidThrust* self;
48 flair::core::Time previous_time;
49 bool first_update;
50
51 //matrix
52 flair::core::cvmatrix *state;
53
54 flair::gui::DoubleSpinBox *T,*kp,*ki,*kd,*sat,*sati;
55};
56
57#endif // PIDTHRUST_IMPL_H
Note: See TracBrowser for help on using the repository browser.