21 #include <matrix/LibMatrix.h>
55 virtual bool init()
override;
58 virtual void tick()
override;
62 virtual const char*
type()
const override;
66 virtual bool createGuidancePortGroup();
67 virtual bool createDesiredPositionPort();
68 virtual bool createContinueMovementPort();
69 virtual bool createDesiredVelocityPort();
70 virtual bool createDesiredAccelerationPort();
71 virtual bool createDesiredHeadingPort();
72 virtual bool createPositionSelectorPort();
73 virtual bool createVelocitySelectorPort();
74 virtual bool createAccelerationSelectorPort();
75 virtual bool createHeadingSelectorPort();
76 virtual bool createPowerDownPort();
81 virtual bool createAggressivenessPort();
103 virtual bool createRotaryWingControlPortGroup();
104 virtual bool createThrottlePort();
105 virtual bool createCollectivePort();
106 virtual bool createCyclicPort();
107 virtual bool createPedalPort();
133 virtual void setStateFromPorts();
DtRotaryWingEntityStateRepository * myRotaryWingEntityState
Definition: rotaryWingPilotController.h:151
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
DtConstrainedAnalogOutputPort * myThrottlePort
Output Port Name: throttle Output Port Description: The position of the throttle control. Output Port Range: 0. to 1. Output Port Default Value: Output Group Parent: rotary-wing-control.
Definition: rotaryWingPilotController.h:165
DtAnalogInputPort * myDesiredHeadingPort
Input Port Name: desired-heading Input Port Description: Input Port Range: -1. to 1...
Definition: rotaryWingPilotController.h:215
DtAnalogInputPort * myHeadingSelectorPort
Input Port Name: heading-selector Input Port Description: Determines whether the desired-heading port...
Definition: rotaryWingPilotController.h:250
This repository holds all information that is common to all the forms of local rotary wing entities w...
Definition: rotaryWingEntityStateRepository.h:27
Instances of DtConstrainedDualAxisAnalogOutputPort are output ports through which data producers can ...
Definition: constrainedDualAxisAnalogIOPort.h:61
const DtControllerComponent & operator=(const DtControllerComponent &orig)
assignment operator
DtVectorInputPort * myDesiredPositionPort
Input Port Name: desired-position Input Port Description: The desired position of the entity...
Definition: rotaryWingPilotController.h:197
DtVectorInputPort * myDesiredAccelerationPort
Input Port Name: desired-acceleration Input Port Description: The desired acceleration of the entity ...
Definition: rotaryWingPilotController.h:209
DtAnalogInputPort * myAggressivenessPort
Input Port Name: aggressiveness Input Port Description: How aggressively the autopilot will move the ...
Definition: rotaryWingPilotController.h:257
DtConstrainedAnalogOutputPort * myPedalPort
Output Port Name: pedal Output Port Description: The position of the pedal controls. Output Port Range: -1. to 1. Output Port Default Value: Output Group Parent: rotary-wing-control.
Definition: rotaryWingPilotController.h:186
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
virtual const char * type() const override=0
This returns a string from compTypes.h, and identifies the type of component.
Definition: readerWriterRegistry.h:39
DtOutputPortGroup is a data port group of a data provider. It may contain any number of DtOutputPorts...
Definition: outputPortGroup.h:34
DtAnalogInputPort * myPositionSelectorPort
Input Port Name: position-selector Input Port Description: Determines whether the desired-position po...
Definition: rotaryWingPilotController.h:222
DtConstrainedAnalogOutputPort is a version of DtAnalogOutputPort which will constrain any outgoing va...
Definition: constrainedAnalogIOPort.h:57
virtual bool init() override
Calls setRadio()
DtConstrainedAnalogOutputPort * myCollectivePort
Output Port Name: collective Output Port Description: The position of the collective control...
Definition: rotaryWingPilotController.h:172
virtual void tick()
This gives the thread of control to the component. The component is ticked once each simulation from ...
DtAnalogInputPort * myAccelerationSelectorPort
Input Port Name: acceleration-selector Input Port Description: Determines whether the desired-acceler...
Definition: rotaryWingPilotController.h:243
DtAnalogInputPort * myVelocitySelectorPort
Input Port Name: velocity-selector Input Port Description: Determines whether the desired-velocity po...
Definition: rotaryWingPilotController.h:236
virtual bool createPorts()
Called by init. Derived classes should override this method to create all their input/output ports an...
End User Description: DtControllerComponent is the base class for all controllers components...
Definition: controllerComponent.h:31
virtual bool createPortGroups()
Called by init. Derived classes should override this method to create all their input/output port gro...
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:96
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:89
DtVector myNormalizedBodyVelocity
Definition: rotaryWingPilotController.h:271
DtBooleanInputPort * myPowerDownPort
Input Port Name: power-down Input Port Description: Determines whether the control values will all be...
Definition: rotaryWingPilotController.h:267
The DtRotaryWingPilotController class creates the rotary-wing-control port group needed to control ro...
Definition: rotaryWingPilotController.h:38
DtPlatformLocalObjectFacade myPlatformLocalObjectFacade
Definition: rotaryWingPilotController.h:272
DtBooleanInputPort * myContinueMovementPort
Input Port Name: continue-movement Input Port Description: Indicates that when flying to a position...
Definition: rotaryWingPilotController.h:229
DtInputPortGroup * myGuidancePortGroup
Input Port Group Name: guidance Input Port Group Description: Group of input ports that define the de...
Definition: rotaryWingPilotController.h:191
DtOutputPortGroup * myRotaryWingControlPortGroup
Output Port Group Name: rotary-wing-control Output Port Group Description:
Definition: rotaryWingPilotController.h:158
DtVectorInputPort * myDesiredVelocityPort
Input Port Name: desired-velocity Input Port Description: The desired velocity of the entity Input Po...
Definition: rotaryWingPilotController.h:203
DtConstrainedDualAxisAnalogOutputPort * myCyclicPort
Output Port Name: cyclic Output Port Description: The position of the collective control in X and Y...
Definition: rotaryWingPilotController.h:179
A locally simulated VRF object.
Definition: localObject.h:98