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

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

add delta time to io_data

File size: 1.0 KB
RevLine 
[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 Pid_impl.h
7 * \brief Classe permettant le calcul d'un Pid
8 * \author Guillaume Sanahuja, Copyright Heudiasyc UMR UTC/CNRS 7253
9 * \date 2011/05/01
10 * \version 4.0
11 */
12
13#ifndef PID_IMPL_H
14#define PID_IMPL_H
15
16#include <Object.h>
17
[15]18namespace flair {
19namespace core {
[214]20class Matrix;
[15]21class io_data;
[7]22}
[15]23namespace gui {
24class LayoutPosition;
25class DoubleSpinBox;
26}
27namespace filter {
28class Pid;
29}
30}
[7]31
32/*! \class Pid_impl
33* \brief Class defining a PID
34*/
35
[15]36class Pid_impl {
37public:
38 Pid_impl(flair::filter::Pid *self, const flair::gui::LayoutPosition *position,
39 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;
[7]45
[15]46private:
47 flair::filter::Pid *self;
[7]48
[15]49 // matrix
[214]50 flair::core::Matrix *state;
[7]51
[15]52 flair::gui::DoubleSpinBox *T, *kp, *ki, *kd, *sat, *sati;
[7]53};
54
55#endif // PID_IMPL_H
Note: See TracBrowser for help on using the repository browser.