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

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

filter and meta

File size: 1.1 KB
Line 
1/*!
2 * \file Pid_impl.h
3 * \brief Classe permettant le calcul d'un Pid
4 * \author Guillaume Sanahuja, Copyright Heudiasyc UMR UTC/CNRS 7253
5 * \date 2011/05/01
6 * \version 4.0
7 */
8
9#ifndef PID_IMPL_H
10#define PID_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 Pid;
29    }
30}
31
32/*! \class Pid_impl
33* \brief Class defining a PID
34*/
35
36class Pid_impl
37{
38    public:
39        Pid_impl(flair::filter::Pid* self,const flair::gui::LayoutPosition* position,std::string name);
40        ~Pid_impl();
41        void UseDefaultPlot(const flair::gui::LayoutPosition* position);
42        void UpdateFrom(const flair::core::io_data *data);
43        float i;
44        bool first_update;
45
46    private:
47        flair::filter::Pid* self;
48        flair::core::Time previous_time;
49
50        //matrix
51        flair::core::cvmatrix *state;
52
53        flair::gui::DoubleSpinBox *T,*kp,*ki,*kd,*sat,*sati;
54};
55
56#endif // PID_IMPL_H
Note: See TracBrowser for help on using the repository browser.