FlightGear
next
FGDeadBand.h
Go to the documentation of this file.
1
/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2
3
Header: FGDeadBand.h
4
Author: Jon Berndt
5
Date started: 2001
6
7
------------- Copyright (C) 2001 Jon S. Berndt -------------
8
9
This program is free software; you can redistribute it and/or modify it under
10
the terms of the GNU Lesser General Public License as published by the Free
11
Software Foundation; either version 2 of the License, or (at your option) any
12
later version.
13
14
This program is distributed in the hope that it will be useful, but WITHOUT
15
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
16
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
17
details.
18
19
You should have received a copy of the GNU Lesser General Public License along
20
with this program; if not, write to the Free Software Foundation, Inc., 59
21
Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22
23
Further information about the GNU Lesser General Public License can also be
24
found on the world wide web at http://www.gnu.org.
25
26
HISTORY
27
--------------------------------------------------------------------------------
28
29
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
30
SENTRY
31
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
32
33
#ifndef FGDEADBAND_H
34
#define FGDEADBAND_H
35
36
/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
37
INCLUDES
38
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
39
40
#include "
FGFCSComponent.h
"
41
42
/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
43
FORWARD DECLARATIONS
44
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
45
46
namespace
JSBSim
{
47
48
class
FGFCS
;
49
class
Element
;
50
51
/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
52
CLASS DOCUMENTATION
53
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
54
78
79
/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
80
CLASS DECLARATION
81
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
82
83
class
FGDeadBand
:
public
FGFCSComponent
84
{
85
public
:
86
FGDeadBand
(
FGFCS
*
fcs
,
Element
* element);
87
~FGDeadBand
();
88
89
bool
Run
(
void
)
override
;
90
91
private
:
92
double
gain;
93
FGParameter_ptr
Width;
94
95
void
Debug(
int
from)
override
;
96
};
97
}
98
//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
99
100
#endif
FGFCSComponent.h
JSBSim::Element
Definition
FGXMLElement.h:143
JSBSim::FGDeadBand::~FGDeadBand
~FGDeadBand()
Definition
FGDeadBand.cpp:76
JSBSim::FGDeadBand::Run
bool Run(void) override
Definition
FGDeadBand.cpp:83
JSBSim::FGDeadBand::FGDeadBand
FGDeadBand(FGFCS *fcs, Element *element)
Definition
FGDeadBand.cpp:53
JSBSim::FGFCSComponent::FGFCSComponent
FGFCSComponent(FGFCS *fcs, Element *el)
Constructor.
Definition
FGFCSComponent.cpp:52
JSBSim::FGFCSComponent::fcs
FGFCS * fcs
Definition
FGFCSComponent.h:101
JSBSim::FGFCS
Definition
FGFCS.h:188
JSBSim
Definition
FGFDMExec.cpp:67
JSBSim::FGParameter_ptr
SGSharedPtr< FGParameter > FGParameter_ptr
Definition
FGParameter.h:70
src
FDM
JSBSim
models
flight_control
FGDeadBand.h
Generated on Tue Jun 3 2025 12:58:38 for FlightGear by
1.13.2