#include <FGKinemat.h>
Inherits FGFCSComponent.
<kinematic name="Gear Control"> <input> [-]property </input> <traverse> <setting> <position> number </position> <time> number </time> </setting> ... </traverse> [<clipto> <min> {[-]property name | value} </min> <max> {[-]property name | value} </max> </clipto>] [<gain> {property name | value} </gain>] [<output> {property} </output>] </kinematic>
The detent is the position that the component takes, and the lag is the time it takes to get to that position from an adjacent setting. For example:
<kinematic name="Gear Control">
<input>gear/gear-cmd-norm</input>
<traverse>
<setting>
<position>0</position>
<time>0</time>
</setting>
<setting>
<position>1</position>
<time>5</time>
</setting>
</traverse>
<output>gear/gear-pos-norm</output>
</kinematic>
In this case, it takes 5 seconds to get to a 1 setting. As this is a software mechanization of a servo-actuator, there should be an output specified.
Definition at line 116 of file FGKinemat.h.
Public Member Functions | |
| FGKinemat (FGFCS *fcs, Element *element) | |
| Constructor. | |
| double | GetOutputPct () const |
| Kinematic component output value. | |
| bool | Run (void) |
| Run method, overrides FGModel::Run(). | |
| ~FGKinemat () | |
| Destructor. | |
| fcs | A reference to the current flight control system. | |
| element | reference to the current configuration file node. |
Definition at line 53 of file FGKinemat.cpp.
| double GetOutputPct | ( | void | ) | const [inline, virtual] |
Reimplemented from FGFCSComponent.
Definition at line 129 of file FGKinemat.h.
| bool Run | ( | void | ) | [virtual] |
Reimplemented from FGFCSComponent.
Definition at line 99 of file FGKinemat.cpp.
1.5.5