VR-Forces 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) 2024 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
13 #include <readerWriter/rwReal.h>
14 #include <readerWriter/rwBoolean.h>
16 #include "vrfutil/rwResource.h"
17 
19 class Dt1DRegularTableFn;
20 
26 {
27 public:
30  DtReaderWriterRegistry * parentRegistry = 0);
31 
34  orig, DtReaderWriterRegistry * parentRegistry = 0);
35 
39 
41  virtual ~DtRotaryWingPilotDescriptor() override;
42 
45  virtual DtString type() const override;
46 
48  virtual DtComponentDescriptor * clone(DtReaderWriterRegistry* parentRegistry = 0) const override;
49 
52  virtual const DtEntityType& fuelType() const;
53  virtual void setFuelType(const DtEntityType& fuelType);
55 
58  virtual DtReal contourFlightVelocityThreshold() const;
59  virtual void setContourFlightVelocityThreshold(const DtReal value);
61 
64  virtual DtReal contourFlightPositionThreshold() const;
65  virtual void setContourFlightPositionThreshold(const DtReal value);
67 
70  virtual DtReal heightFeedbackGain() const;
71  virtual void setHeightFeedbackGain(const DtReal value);
73 
76  virtual const Dt1DRegularTableFn& heightVersusSpeed() const;
77  virtual void setHeightVersusSpeed(const Dt1DRegularTableFn& value);
79 
82  virtual bool isAlignWithTargets() const;
83  virtual void setIsAlignWithTargets(const bool val);
85 
88  virtual double maxSpeedForHeadingControl() const;
89  virtual void setMaxSpeedForHeadingControl(const double speed);
91 
94  virtual DtReal positionGain() const;
95  virtual void setPositionGain(const DtReal val);
97 
100  virtual DtReal velocityGain() const;
101  virtual void setVelocityGain(const DtReal val);
103 
106  virtual DtReal yawPositionGain() const;
107  virtual void setYawPositionGain(const DtReal val);
109 
112  virtual DtReal yawRateGain() const;
113  virtual void setYawRateGain(const DtReal val);
115 
118  virtual DtReal landingFuelLevel() const;
119  virtual void setLandingFuelLevel(const DtReal val);
121 
123 
124  virtual double rotorSpinupTime() const;
125  virtual void setRotorSpinupTime(double s);
127 
129  static DtComponentDescriptor * creator();
130 
131 protected:
134 
135 protected:
139 
146 
153 
163 
172 
178 
185 
193 
199 
205 
211 
216 
221 
228 };
DtRwReal myYawRateGain
Parameter Name: yaw-rate-gain Parameter Description: Position-rate (i.e., derivative) error gain for ...
Definition: rotaryWingPilotDescriptor.h:210
virtual DtString type() const override
Returns the type of component this descriptor describes. Used to create the descriptor on read from a...
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:145
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:162
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
DtRwReal myContourFlightPositionThreshold
Parameter Name: contour-flight-position-threshold Parameter Description: Contour flight position thre...
Definition: rotaryWingPilotDescriptor.h:152
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=0) const override
Clone creates a new copy.
Dt1DRegularTableFn myHeightVersusSpeed
Parameter Name: height-versus-speed Parameter Description: Table function used to describe the terrai...
Definition: rotaryWingPilotDescriptor.h:171
DtRwReal myVelocityGain
Parameter Name: velocity-gain Parameter Description: Position-rate (i.e., derivative) error gain for ...
Definition: rotaryWingPilotDescriptor.h:198
DtRwReal myLandingFuelLevel
Parameter Name: landing-fuel-level Parameter Description: Fuel level that forces the pilot to land...
Definition: rotaryWingPilotDescriptor.h:215
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:220
DtRwBoolean myIsAlignWithTargets
Parameter Name: is-align-with-targets Parameter Description: Flag indicating whether or not the helic...
Definition: rotaryWingPilotDescriptor.h:177
DtRwReal myYawPositionGain
Parameter Name: yaw-position-gain Parameter Description: Position error gain for heading when changin...
Definition: rotaryWingPilotDescriptor.h:204
DtRwReal myPositionGain
Parameter Name: position-gain Parameter Description: Position error gain for horizontal position and ...
Definition: rotaryWingPilotDescriptor.h:192
static DtComponentDescriptor * creator()
This class will read in an old resource by name and convert it to the type, or, just read it as type...
Definition: rwResource.h:12
DtRwResource myFuelType
Parameter Name: fuel-type Parameter Description: The fuel that will be consumed by the surface vessel...
Definition: rotaryWingPilotDescriptor.h:226
DtRwReal myMaxSpeedForHeadingControl
Parameter Name: max-speed-for-heading-control Parameter Description: The speed above which the aircra...
Definition: rotaryWingPilotDescriptor.h:184

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)