source: flair-src/trunk/lib/FlairFilter/src/unexported/NestedSat_impl.h @ 10

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

lic

File size: 1.4 KB
Line 
1// %flair:license{
2// This file is part of the Flair framework distributed under the
3// CECILL-C License, Version 1.0.
4// %flair:license}
5/*!
6 * \file NestedSat.h
7 * \brief Classe permettant le calcul d'un Pid avec saturations
8 * \author Guillaume Sanahuja, Copyright Heudiasyc UMR UTC/CNRS 7253
9 * \date 2013/04/15
10 * \version 4.0
11 */
12
13#ifndef NESTEDSAT_IMPL_H
14#define NESTEDSAT_IMPL_H
15
16#include <Object.h>
17
18namespace 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    }
36}
37
38/*! \class NestedSat
39* \brief Classe permettant le calcul d'un Pid avec saturations
40*/
41class NestedSat_impl
42{
43    public:
44        NestedSat_impl(flair::filter::NestedSat* self,const flair::gui::LayoutPosition* position,std::string name);
45        ~NestedSat_impl();
46        float Value(void);
47        void UseDefaultPlot(const flair::gui::Layout* layout,int row,int col);
48        void UpdateFrom(const flair::core::io_data *data);
49        void ConvertSatFromDegToRad(void);
50        float k;
51
52    private:
53        flair::filter::NestedSat* self;
54        flair::gui::DoubleSpinBox *kp,*kd,*sat,*dsat,*usat;
55        flair::gui::DataPlot1D *plot;
56        float Sat(float value,float borne);
57};
58
59
60#endif // NESTEDSAT_IMPL_H
Note: See TracBrowser for help on using the repository browser.