12 #include <matrix/vlVector.h>
58 virtual const char*
type()
const;
73 virtual bool createPSR();
77 static void parachuteToLocationTaskCallback(
DtSimMessage* msg,
void* usrData);
78 virtual void processParachuteTolocationTask(
DtSimMessage* msg);
81 static void setDeployElapsedTimeCallback(
DtSimMessage *msg,
void * usrData);
82 virtual void processSetDepolyElapsedTime(
DtSimMessage *msg);
84 static void setDeployAltitudeCallback(
DtSimMessage* msg,
void* usrData);
85 virtual void processSetDeployAltitude(
DtSimMessage* msg);
91 virtual bool isFallingApplicable()
const;
95 virtual double findDesiredHeading(
const DtVector& localDestination);
98 virtual void calculateSteering(
double currentHeading,
const DtVector& targetLocation,
99 double& leftToggle,
double& rightToggle);
107 virtual bool deployParachute(
const DtVrfObject* targetObject);
115 void setDeployAltitude(
double orderedAltitude,
bool isAgl);
117 void setDeployAtElapsedTime(
double elapsedTime,
bool deployAtElapsedTime);
DtParachuteControllerDescriptor * myDescriptor
Contains initial values.
Definition: parachuteController.h:140
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
Task controller for Parachuting.
Definition: parachuteController.h:34
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
class DtParachuteControllerPSR:
Definition: parachuteControllerPSR.h:26
Instances of DtBooleanOutputPort are output ports through which data producers can send boolean data...
Definition: boolIOPort.h:45
This class provides a base class for all controllers that are capable of executing a DtSimTask...
Definition: singleTaskControllerComponent.h:20
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:42
DtConstrainedAnalogOutputPort * myLeftToggleOutputPort
Definition: parachuteController.h:145
Definition: readerWriterRegistry.h:39
virtual bool taskVisualizationsActive() const
Returns true if task visualizations are currently active for this component.
virtual const char * type() const =0
Returns a string identifies the class type of component.
DtOutputPortGroup is a data port group of a data provider.
Definition: outputPortGroup.h:30
DtConstrainedAnalogOutputPort * myRightToggleOutputPort
Definition: parachuteController.h:146
virtual bool init()
Calls setRadio()
Definition: parachuteControllerDescriptor.h:17
DtConstrainedAnalogOutputPort is a version of DtAnalogOutputPort which will constrain any outgoing va...
Definition: constrainedAnalogIOPort.h:54
DtAnalogInputPort * myMaxTurnRateInputPort
Definition: parachuteController.h:148
virtual void clearTask()
If component is currently tasked, calls clearPendingSubtasks(), sets the tasked flag to false...
virtual void updateTaskVisualizations()
Called to update task visualizations after every tick.
Definition: simComponent.h:485
Instances of DtVectorOutputPort are output ports through which data producers can send a DtVector...
Definition: vectorIOPort.h:52
File: simMsg.h.
Definition: simMessage.h:35
virtual void tick()
This gives the thread of control to the component.
virtual bool tickWhileDestroyed() const
If the component returns true here, it will be ticked regardless of the destroyed state of the host e...
virtual bool createPorts()
Called by init.
DtObjectIdInputPort * myFollowTargetInputPort
Definition: parachuteController.h:153
virtual bool createPortGroups()
Called by init.
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
const DtTaskControllerComponent & operator=(const DtTaskControllerComponent &orig)
assignment operator
DtParachuteControllerPSR * myProcessState
Stores the current state of the controller which is saved out with the order of battle file...
Definition: parachuteController.h:137
DtBooleanOutputPort * myDeployedOutputPort
Definition: parachuteController.h:144
DtBooleanInputPort * myFallingInputPort
Definition: parachuteController.h:149
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:102
DtOutputPortGroup * myParachuteControlOutputPortGroup
Definition: parachuteController.h:151
DtTime myTimeToDeploy
Definition: parachuteController.h:156