VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
rotaryWingPilotDescriptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
13 #include <readerWriter/rwReal.h>
14 #include <readerWriter/rwBoolean.h>
16 
17 
19 class Dt1DRegularTableFn;
20 
26 {
27 public:
30  DtReaderWriterRegistry * parentRegistry = 0);
31 
34  orig, DtReaderWriterRegistry * parentRegistry = 0);
35 
39 
41  virtual ~DtRotaryWingPilotDescriptor();
42 
45  virtual DtString type() const;
46 
48  virtual DtComponentDescriptor * clone(DtReaderWriterRegistry * parentRegistry
49  = 0) const;
50 
53  virtual DtReal contourFlightVelocityThreshold() const;
54  virtual void setContourFlightVelocityThreshold(const DtReal value);
56 
59  virtual DtReal contourFlightPositionThreshold() const;
60  virtual void setContourFlightPositionThreshold(const DtReal value);
62 
65  virtual DtReal heightFeedbackGain() const;
66  virtual void setHeightFeedbackGain(const DtReal value);
68 
71  virtual const Dt1DRegularTableFn& heightVersusSpeed() const;
72  virtual void setHeightVersusSpeed(const Dt1DRegularTableFn& value);
74 
77  virtual bool isAlignWithTargets() const;
78  virtual void setIsAlignWithTargets(const bool val);
80 
83  virtual double maxSpeedForHeadingControl() const;
84  virtual void setMaxSpeedForHeadingControl(const double speed);
86 
89  virtual DtReal positionGain() const;
90  virtual void setPositionGain(const DtReal val);
92 
95  virtual DtReal velocityGain() const;
96  virtual void setVelocityGain(const DtReal val);
98 
101  virtual DtReal landingFuelLevel() const;
102  virtual void setLandingFuelLevel(const DtReal val);
104 
106 
107  virtual double rotorSpinupTime() const;
108  virtual void setRotorSpinupTime(double s);
110 
112  static DtComponentDescriptor * creator();
113 
114 protected:
117 
118 protected:
122 
129 
136 
146 
155 
161 
168 
176 
183 
188 
193 
195 };
DtRotaryWingTaskDescriptor & operator=(const DtRotaryWingTaskDescriptor &orig)
assignment
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
DtRwReal myContourFlightVelocityThreshold
Parameter Name: contour-flight-velocity-threshold Parameter Description: Desired-speed threshold...
Definition: rotaryWingPilotDescriptor.h:128
DtRotaryWingTaskDescriptor; descriptor for the rotary wing task components.
Definition: rotaryWingTaskDescriptor.h:24
class Dt1DRegularTableFn:
Definition: 1DRegularTableFn.h:25
DtRwReal myHeightFeedbackGain
Parameter Name: height-feedback-gain Parameter Description: Height feedback gain, which is the maximu...
Definition: rotaryWingPilotDescriptor.h:145
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
DtRotaryWingPilotDescriptor is a component descriptor for helicopter flight involving destination poi...
Definition: rotaryWingPilotDescriptor.h:25
Definition: readerWriterRegistry.h:39
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=0) const
Clone creates a new copy.
DtRwReal myContourFlightPositionThreshold
Parameter Name: contour-flight-position-threshold Parameter Description: Contour flight position thre...
Definition: rotaryWingPilotDescriptor.h:135
Dt1DRegularTableFn myHeightVersusSpeed
Parameter Name: height-versus-speed Parameter Description: Table function used to describe the terrai...
Definition: rotaryWingPilotDescriptor.h:154
DtRwReal myVelocityGain
Parameter Name: velocity-gain Parameter Description: Position-rate error gain for the controller hori...
Definition: rotaryWingPilotDescriptor.h:182
DtRwReal myLandingFuelLevel
Parameter Name: landing-fuel-level Parameter Description: Fuel level that forces the pilot to land...
Definition: rotaryWingPilotDescriptor.h:187
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
DtRwReal myRotorSpinupTime
Parameter Name: rotor-spinup-time Parameter Description: Time it takes between power plant on and tak...
Definition: rotaryWingPilotDescriptor.h:192
DtRwBoolean myIsAlignWithTargets
Parameter Name: is-align-with-targets Parameter Description: Flag indicating whether or not the helic...
Definition: rotaryWingPilotDescriptor.h:160
virtual DtString type() const
Returns the type of component this descriptor describes. Used to create the descriptor on read from a...
DtRwReal myPositionGain
Parameter Name: position-gain Parameter Description: Position error gain for the controller horizonta...
Definition: rotaryWingPilotDescriptor.h:175
static DtComponentDescriptor * creator()
DtRwReal myMaxSpeedForHeadingControl
Parameter Name: max-speed-for-heading-control Parameter Description: The speed above which the aircra...
Definition: rotaryWingPilotDescriptor.h:167

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)