14 #include <matrix/LibMatrix.h>
15 #include <vlpi/disEnums.h>
60 virtual const char*
type()
const;
81 virtual bool checkFallingApplicable(
bool& dataAvailable);
85 virtual double horizontalDragCoefficient()
const;
86 virtual double verticalDragCoefficient()
const;
87 virtual double windDragCoefficient()
const;
88 virtual double turningRate()
const;
92 oldLocalOrientation,
const DtVector& newBodyRotationRates,
93 DtDcm& newLocalOrientation);
104 virtual void processLanding();
106 virtual void processChuteDeployment();
108 virtual void processFreeFall();
132 virtual bool checkForLandingDamage()
const;
135 virtual double downwardSpeed()
const;
138 virtual bool createPSR();
141 virtual bool isCargoDoorOpen(
const DtVrfObject* entity)
const;
145 virtual double percentDeployed()
const;
virtual void calculateOrientation(const DtDcm &oldLocalOrientation, const DtVector &newBodyRotationRates, DtDcm &newLocalOrientation)
Uses current local orientation, rotationRates in SR, and dT.
DtBaseParachuteActuator modifies the falling from sky actuator to have a stowed and deployed state...
Definition: baseParachuteActuator.h:36
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
Description: This repository holds all information that is common to all the forms of all objects wit...
Definition: vrfMovingObjectStateRepository.h:26
Instances of DtBooleanOutputPort are output ports through which data producers can send boolean data...
Definition: boolIOPort.h:45
DtInputPortGroup * myParachuteControlInputPortGroup
Definition: baseParachuteActuator.h:156
virtual DtVector calculateDragForces(const DtVector &oldLocalPosition, const DtVector &oldLocalVelocity)
Calculates acceleration from Drag forces–In this case wind.
const DtFallingFromSkyActuatorComponent & operator=(const DtFallingFromSkyActuatorComponent &orig)
assignment operator; not implemented
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:42
static DtSimComponent * creator(const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
Definition: readerWriterRegistry.h:39
DtBooleanInputPort * myDeployedPort
Ports and port groups.
Definition: baseParachuteActuator.h:153
virtual bool isFallingApplicable()
Determines if this actuator is applicable.
virtual void fallFromSky()
Causes the entity to fall from the sky.
virtual double dragAccelerationFromSpeed(double curSpeed) const
Calculates acceleration of object given current speed.
Instances of DtAnalogOutputPort are input ports through which data producers can send real numbers...
Definition: analogIOPort.h:45
virtual void tick()
Calls isFallingApplicable to determine if it should do anything, and if so calls fallFromSky.
DtBooleanOutputPort * myFallingOutputPort
Definition: baseParachuteActuator.h:159
DtParachuteActuatorDescriptor * myParachuteActuatorDescriptor
Definition: baseParachuteActuator.h:149
virtual bool createPortGroups()
Called by init.
virtual bool createPorts()
Called by init.
DtParachuteActuatorPSR * myProcessState
Definition: baseParachuteActuator.h:164
DtConstrainedAnalogInputPort * myLeftToggleInputPort
Definition: baseParachuteActuator.h:154
DtAnalogOutputPort * myMaxTurnRateOutputPort
Definition: baseParachuteActuator.h:158
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
double calcRoll(const DtVector &geocLoc, const DtTaitBryan &geocOri)
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:102
DtAnalogInputPort * myAglInputPort
Definition: baseParachuteActuator.h:161
virtual bool init()
to get access to the entity's localStateRepository, which this component will update, and then connect to the controller's ports.
DtFallingFromSkyActuatorComponent provides a simple, kinematics-based model for air motion based on t...
Definition: fallingFromSkyActuatorComponent.h:33
Definition: parachuteActuatorDescriptor.h:17
virtual const char * type() const
Returns a string identifies the class type of component.
DtConstrainedAnalogInputPort * myRightToggleInputPort
Definition: baseParachuteActuator.h:155
double calcPitch(const DtVector &geocLoc, const DtTaitBryan &geocOri)
class DtParachuteActuatorPSR:
Definition: parachuteActuatorPSR.h:26