15 #include <matrix/LibMatrix.h>
16 #include <vlpi/disEnums.h>
61 virtual const char*
type()
const;
82 virtual bool checkFallingApplicable(
bool& dataAvailable);
86 virtual double horizontalDragCoefficient()
const;
87 virtual double verticalDragCoefficient()
const;
88 virtual double windDragCoefficient()
const;
89 virtual double turningRate()
const;
93 oldLocalOrientation,
const DtVector& newBodyRotationRates,
94 DtDcm& newLocalOrientation);
105 virtual void processLanding();
107 virtual void processChuteDeployment();
109 virtual void processFreeFall();
133 virtual bool checkForLandingDamage()
const;
136 virtual double downwardSpeed()
const;
139 virtual bool createPSR();
142 virtual bool isCargoDoorOpen(
const DtSimObject* entity)
const;
146 virtual double percentDeployed()
const;
virtual void calculateOrientation(const DtDcm &oldLocalOrientation, const DtVector &newBodyRotationRates, DtDcm &newLocalOrientation)
Uses current local orientation, rotationRates in SR, and dT. Results placed in object pointed to by o...
DtBaseParachuteActuator modifies the falling from sky actuator to have a stowed and deployed state...
Definition: baseParachuteActuator.h:37
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
Description: This repository holds all information that is common to all the forms of all objects wit...
Definition: vrfMovingObjectStateRepository.h:31
Instances of DtBooleanOutputPort are output ports through which data producers can send boolean data...
Definition: boolIOPort.h:45
DtInputPortGroup * myParachuteControlInputPortGroup
Ports and port groups.
Definition: baseParachuteActuator.h:157
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:49
Definition: readerWriterRegistry.h:39
DtBooleanInputPort * myDeployedPort
Ports and port groups.
Definition: baseParachuteActuator.h:154
virtual bool isFallingApplicable()
Determines if this actuator is applicable. For the base actuator, it is only applicable if the entity...
virtual void fallFromSky()
Causes the entity to fall from the sky. Takes into account drag coefficient from descriptor.
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
Ports and port groups.
Definition: baseParachuteActuator.h:160
DtParachuteActuatorDescriptor * myParachuteActuatorDescriptor
Definition: baseParachuteActuator.h:150
DtPlatformLocalObjectFacade myPlatformLocalObjectFacade
Member to allow for access to platform specific data.
Definition: baseParachuteActuator.h:168
virtual bool createPortGroups()
Called by init. Derived classes should override this method to create all their input/output port gro...
virtual bool createPorts()
Called by init. Derived classes should override this method to create all their input/output ports an...
DtParachuteActuatorPSR * myProcessState
Definition: baseParachuteActuator.h:165
DtConstrainedAnalogInputPort * myLeftToggleInputPort
Ports and port groups.
Definition: baseParachuteActuator.h:155
DtAnalogOutputPort * myMaxTurnRateOutputPort
Ports and port groups.
Definition: baseParachuteActuator.h:159
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:90
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:70
Represents a single simulation object in the exercise. Object may be VRF simulation, or non-VRF simulated, and may be simulated by the local sim engine, or by a remote sim engine. Only public (external) state of the object is available. All data is read-only. All access to data of the object is thread safe within the simulation frame.
Definition: simObject.h:79
static DtSimComponent * creator(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
double calcRoll(const DtVector &geocLoc, const DtTaitBryan &geocOri)
DtAnalogInputPort * myAglInputPort
Ports and port groups.
Definition: baseParachuteActuator.h:162
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:34
Definition: parachuteActuatorDescriptor.h:17
virtual const char * type() const
Returns a string identifies the class type of component. Type values are defined in compTypes...
DtConstrainedAnalogInputPort * myRightToggleInputPort
Ports and port groups.
Definition: baseParachuteActuator.h:156
double calcPitch(const DtVector &geocLoc, const DtTaitBryan &geocOri)
class DtParachuteActuatorPSR:
Definition: parachuteActuatorPSR.h:26
A locally simulated VRF object. Holds all internal and external data for the object, and provides access to both the current frame and next frame state data for the object. All current frame data is read-only, and next-frame data can be written to. No thread safety guarantees are made on this object during the simulation frame and it should only be accessed by the thread that is simulating the object.
Definition: localObject.h:86