Last change
on this file since 297 was 15, checked in by Bayard Gildas, 8 years ago |
sources reformatted with flair-format-dir script
|
File size:
1.2 KB
|
Rev | Line | |
---|
[10] | 1 | // %flair:license{
|
---|
[15] | 2 | // This file is part of the Flair framework distributed under the
|
---|
| 3 | // CECILL-C License, Version 1.0.
|
---|
[10] | 4 | // %flair:license}
|
---|
[7] | 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 |
|
---|
[15] | 18 | namespace flair {
|
---|
| 19 | namespace core {
|
---|
| 20 | class cvmatrix;
|
---|
| 21 | class io_data;
|
---|
[7] | 22 | }
|
---|
[15] | 23 | namespace gui {
|
---|
| 24 | class Layout;
|
---|
| 25 | class LayoutPosition;
|
---|
| 26 | class DoubleSpinBox;
|
---|
| 27 | class DataPlot1D;
|
---|
| 28 | }
|
---|
| 29 | namespace filter {
|
---|
| 30 | class NestedSat;
|
---|
| 31 | }
|
---|
| 32 | }
|
---|
[7] | 33 |
|
---|
| 34 | /*! \class NestedSat
|
---|
| 35 | * \brief Classe permettant le calcul d'un Pid avec saturations
|
---|
| 36 | */
|
---|
[15] | 37 | class NestedSat_impl {
|
---|
| 38 | public:
|
---|
| 39 | NestedSat_impl(flair::filter::NestedSat *self,
|
---|
| 40 | const flair::gui::LayoutPosition *position, std::string name);
|
---|
| 41 | ~NestedSat_impl();
|
---|
| 42 | float Value(void);
|
---|
| 43 | void UseDefaultPlot(const flair::gui::Layout *layout, int row, int col);
|
---|
| 44 | void UpdateFrom(const flair::core::io_data *data);
|
---|
| 45 | void ConvertSatFromDegToRad(void);
|
---|
| 46 | float k;
|
---|
[7] | 47 |
|
---|
[15] | 48 | private:
|
---|
| 49 | flair::filter::NestedSat *self;
|
---|
| 50 | flair::gui::DoubleSpinBox *kp, *kd, *sat, *dsat, *usat;
|
---|
| 51 | flair::gui::DataPlot1D *plot;
|
---|
| 52 | float Sat(float value, float borne);
|
---|
[7] | 53 | };
|
---|
| 54 |
|
---|
| 55 | #endif // NESTEDSAT_IMPL_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.