Flair
Framework Libre Air
NestedSat.h
Go to the documentation of this file.
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}
13 #ifndef NESTEDSAT_H
14 #define NESTEDSAT_H
15 
16 #include <ControlLaw.h>
17 
18 namespace flair {
19 namespace gui {
20 class Layout;
21 class LayoutPosition;
22 }
23 }
24 
25 class NestedSat_impl;
26 
27 namespace flair {
28 namespace filter {
43 class NestedSat : public ControlLaw {
44  friend class ::NestedSat_impl;
45 
46 public:
58  NestedSat(const gui::LayoutPosition *position, std::string name);
59 
64  ~NestedSat();
65 
73  void SetValues(float p_ref, float p, float d);
74 
83  void ConvertSatFromDegToRad(void);
84 
85 private:
93  void UpdateFrom(const core::io_data *data);
94 
95  NestedSat_impl *pimpl_;
96 };
97 } // end namespace filter
98 } // end namespace flair
99 #endif // NESTEDSAT_H
Abstract class for data types.
Definition: io_data.h:94
Base class for control law input must be created by reimplemented class. output is created by this cl...
Definition: ControlLaw.h:36
namespace of the flair Framework
Definition: Ahrs.h:19
~NestedSat()
Destructor.
NestedSat(const gui::LayoutPosition *position, std::string name)
Constructor.
Base class for control law.
void SetValues(float p_ref, float p, float d)
Set input values.
Class defining a PID with saturations.
Definition: NestedSat.h:43
Class to define a position in a layout on the ground station.
Definition: LayoutPosition.h:28
void ConvertSatFromDegToRad(void)
Convert saturation parameters in radians.