source: flair-src/tags/latest/lib/FlairFilter/src/unexported/NestedSat_impl.h@ 411

Last change on this file since 411 was 318, checked in by Sanahuja Guillaume, 3 years ago
File size: 1.2 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 {
19namespace core {
20class io_data;
21}
22namespace gui {
23class Layout;
24class LayoutPosition;
25class DoubleSpinBox;
26class DataPlot1D;
27}
28namespace filter {
29class NestedSat;
30}
31}
32
33/*! \class NestedSat
34* \brief Classe permettant le calcul d'un Pid avec saturations
35*/
36class NestedSat_impl {
37public:
38 NestedSat_impl(flair::filter::NestedSat *self,
39 const flair::gui::LayoutPosition *position, std::string name);
40 ~NestedSat_impl();
41 float Value(void);
42 void UseDefaultPlot(const flair::gui::Layout *layout, int row, int col);
43 void UpdateFrom(const flair::core::io_data *data);
44 void ConvertSatFromDegToRad(void);
45 float k;
46
47private:
48 flair::filter::NestedSat *self;
49 flair::gui::DoubleSpinBox *kp, *kd, *sat, *dsat, *usat;
50 flair::gui::DataPlot1D *plot;
51 float Sat(float value, float borne);
52};
53
54#endif // NESTEDSAT_IMPL_H
Note: See TracBrowser for help on using the repository browser.