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 
6 #pragma once
7 
10 
13 
15 #include <readerWriter/rwReal.h>
16 #include <readerWriter/rwBoolean.h>
18 #include "vrfutil/rwResource.h"
19 
21 class Dt1DRegularTableFn;
22 
28 {
29 public:
32  DtReaderWriterRegistry * parentRegistry = 0);
33 
36  orig, DtReaderWriterRegistry * parentRegistry = 0);
37 
41 
43  virtual ~DtRotaryWingPilotDescriptor() override;
44 
47  virtual DtString type() const override;
48 
50  virtual DtComponentDescriptor * clone(DtReaderWriterRegistry* parentRegistry = 0) const override;
51 
54  virtual const DtEntityType& fuelType() const;
55  virtual void setFuelType(const DtEntityType& fuelType);
57 
60  virtual int fuelBin() const;
61  virtual void fuelBin(int d);
63 
66  virtual DtReal contourFlightVelocityThreshold() const;
67  virtual void setContourFlightVelocityThreshold(const DtReal value);
69 
72  virtual DtReal contourFlightPositionThreshold() const;
73  virtual void setContourFlightPositionThreshold(const DtReal value);
75 
78  virtual DtReal heightFeedbackGain() const;
79  virtual void setHeightFeedbackGain(const DtReal value);
81 
84  virtual const Dt1DRegularTableFn& heightVersusSpeed() const;
85  virtual void setHeightVersusSpeed(const Dt1DRegularTableFn& value);
87 
90  virtual bool isAlignWithTargets() const;
91  virtual void setIsAlignWithTargets(const bool val);
93 
96  virtual double maxSpeedForHeadingControl() const;
97  virtual void setMaxSpeedForHeadingControl(const double speed);
99 
102  virtual DtReal positionGain() const;
103  virtual void setPositionGain(const DtReal val);
105 
108  virtual DtReal velocityGain() const;
109  virtual void setVelocityGain(const DtReal val);
111 
114  virtual DtReal yawPositionGain() const;
115  virtual void setYawPositionGain(const DtReal val);
117 
120  virtual DtReal yawRateGain() const;
121  virtual void setYawRateGain(const DtReal val);
123 
126  virtual DtReal landingFuelLevel() const;
127  virtual void setLandingFuelLevel(const DtReal val);
129 
131 
132  virtual double rotorSpinupTime() const;
133  virtual void setRotorSpinupTime(double s);
135 
137  static DtComponentDescriptor * creator();
138 
139 protected:
142 
143 protected:
147 
154 
161 
171 
180 
186 
193 
201 
207 
213 
219 
224 
229 
235 
241 };
DtRwReal myYawRateGain
Parameter Name: yaw-rate-gain Parameter Description: Position-rate (i.e., derivative) error gain for ...
Definition: rotaryWingPilotDescriptor.h:218
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:153
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:170
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:27
Definition: readerWriterRegistry.h:39
DtRwReal myContourFlightPositionThreshold
Parameter Name: contour-flight-position-threshold Parameter Description: Contour flight position thre...
Definition: rotaryWingPilotDescriptor.h:160
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:179
Description: Readable, Writable int.
Definition: rwInt.h:25
DtRwReal myVelocityGain
Parameter Name: velocity-gain Parameter Description: Position-rate (i.e., derivative) error gain for ...
Definition: rotaryWingPilotDescriptor.h:206
DtRwReal myLandingFuelLevel
Parameter Name: landing-fuel-level Parameter Description: Fuel level that forces the pilot to land...
Definition: rotaryWingPilotDescriptor.h:223
DtRwInt myFuelBin
Parameter Name: fuel-bin Parameter Description: Resource bin the fuel can be found in Parameter Defau...
Definition: rotaryWingPilotDescriptor.h:239
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:228
DtRwBoolean myIsAlignWithTargets
Parameter Name: is-align-with-targets Parameter Description: Flag indicating whether or not the helic...
Definition: rotaryWingPilotDescriptor.h:185
DtRwReal myYawPositionGain
Parameter Name: yaw-position-gain Parameter Description: Position error gain for heading when changin...
Definition: rotaryWingPilotDescriptor.h:212
DtRwReal myPositionGain
Parameter Name: position-gain Parameter Description: Position error gain for horizontal position and ...
Definition: rotaryWingPilotDescriptor.h:200
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:234
DtRwReal myMaxSpeedForHeadingControl
Parameter Name: max-speed-for-heading-control Parameter Description: The speed above which the aircra...
Definition: rotaryWingPilotDescriptor.h:192

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)