61 virtual const char*
type()
const;
71 virtual bool gimbalLimitHit()
const;
101 virtual void updatePorts();
104 virtual void updateParts(
double azRate,
double elRate);
Instances of DtOrientationOutputPort are output ports through which data producers can send a DtTaitB...
Definition: orientationIOPort.h:51
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
DtAnalogInputPort * myOrderedAzimuthPort
Input Port Name: ordered-azimuth Input Port Description: Azimuth at which to attempt to aim the gimba...
Definition: sensorGimbalActuator.h:151
DtArtPartType myGimbalAzimuthArtPart
Definition: sensorGimbalActuator.h:122
bool myRotation360
Cache for the condition for 360 rotation.
Definition: sensorGimbalActuator.h:126
DtSensorGimbalActuatorDescriptor; a descriptor for the DtSensorGimbalActuator component.
Definition: sensorGimbalActuatorDescriptor.h:24
const DtActuatorComponent & operator=(const DtActuatorComponent &orig)
assignment operator
Instances of DtBooleanOutputPort are output ports through which data producers can send boolean data...
Definition: boolIOPort.h:45
DtAnalogOutputPort * myMinElevationOutputPort
Output Port Name: min-elevation Output Port Description: The minimum elevation at which the gimbal ca...
Definition: sensorGimbalActuator.h:225
DtOutputPortGroup * myGimbalLimitsOutputPortGroup
Output Port Group Name: gimbal-limits Output Port Group Description: Allows the actuator to communica...
Definition: sensorGimbalActuator.h:207
virtual void preFirstTickInit()
This function can be overridden to initialize a component before it is ticked for the first time...
DtIntegerInputPort * myRotationRatePercentagePort
Input Port Name: rotation-rate-percentage Input Port Description: Percentage of maximum rotation rate...
Definition: sensorGimbalActuator.h:158
virtual bool init()
Overridden to cache a pointer to the entity's radio in this class.
virtual void bindLuaFunctions(lua_State *)=0
Override to bind lua functions.
DtSensorGimbalActuatorPSR is a process state repository which holds state variables for the DtSensorG...
Definition: sensorGimbalActuatorPSR.h:19
DtOutputPortGroup * mySensorOutputPortGroup
Output Port Group Name: sensor-offset Output Port Group Description: Allows an external controller to...
Definition: sensorGimbalActuator.h:178
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
DtSensorGimbalActuator provides a model of a sensor on a gimbal.
Definition: sensorGimbalActuator.h:36
DtAnalogInputPort * myOrderedElevationPort
Input Port Name: ordered-elevation Input Port Description: Elevation at which to attempt to aim the g...
Definition: sensorGimbalActuator.h:144
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
Definition: bindableLuaComponent.h:53
DtAnalogOutputPort * myMinAzimuthOutputPort
Output Port Name: min-azimuth Output Port Description: The minimum azimuth at which the gimbal can ai...
Definition: sensorGimbalActuator.h:213
End User Description: DtActuator is the base class for all actuator model components. Developer Description: The DtActuator base class caches a pointer to the entity's radio for convenience. Derived classes may have articulated parts that are configured from the DtActuatorComponentDescriptor's DtSimArtPartDescriptorList. For each articulated part in the list a DtArticulatedPartStateRepository will be created to store the data for the part such as it's location, rotation and so forth. These are created in the entity's DtVrfObjectStateRepository createParts() function. This call creates all the attached parts for all the actuators. These articulated state repositories are managed by the DtAttachmentManager. They are cached by their partType which is the DIS Enumeration describing the part from the disEnums.h file and was specified in the actuator's DtActuatorComponentDescriptor as descriped above. The partType is used as the category of the DtObjectType used to look up articulated parts in the DtAttachementManager. When an actuator needs access to a particular articulated part it looks it up by the part's object type.
Definition: actuatorComponent.h:47
DtPlatformLocalObjectFacade myPlatformLocalObjectFacade
Member to allow for access to platform specific data.
Definition: sensorGimbalActuator.h:236
DtIntegerInputPort * myElevationRotationRatePercentagePort
Input Port Name: elevation-rotation-rate-percentage Input Port Description: Percentage of maximum rot...
Definition: sensorGimbalActuator.h:165
double myMinElevation
Definition: sensorGimbalActuator.h:133
double myMaxAzimuthRate
Definition: sensorGimbalActuator.h:129
Instances of DtAnalogOutputPort are input ports through which data producers can send real numbers...
Definition: analogIOPort.h:45
Instances of DtVectorOutputPort are output ports through which data producers can send a DtVector...
Definition: vectorIOPort.h:52
double myMaxAzimuth
Definition: sensorGimbalActuator.h:131
DtAnalogOutputPort * myMaxElevationOutputPort
Output Port Name: max-elevation Output Port Description: The maximum elevation at which the gimbal ca...
Definition: sensorGimbalActuator.h:231
virtual void tick()
This gives the thread of control to the component. The component is ticked once each simulation from ...
bool myNeedToRetrieveGimbalLimits
Definition: sensorGimbalActuator.h:128
DtVectorOutputPort * myPositionOutputPort
Input Port Name: position Input Port Description: Outputs the position of the sensor in body coordina...
Definition: sensorGimbalActuator.h:194
DtSensorGimbalActuatorDescriptor * myGimbalDescriptor
Definition: sensorGimbalActuator.h:118
virtual bool createPorts()
Called by init. Derived classes should override this method to create all their input/output ports an...
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:90
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:70
DtArtPartType myGimbalElevationArtPart
Definition: sensorGimbalActuator.h:123
double myMaxElevationRate
Definition: sensorGimbalActuator.h:132
DtSensorGimbalActuatorPSR * myProcessState
Definition: sensorGimbalActuator.h:120
DtBooleanOutputPort * myOrientationAchievedOutputPort
Output Port Name: orientation-achieved Output Port Description: Specifies whether the gimbal was able...
Definition: sensorGimbalActuator.h:202
DtIntegerInputPort * myAzimuthRotationRatePercentagePort
Input Port Name: azimuth-rotation-rate-percentage Input Port Description: Percentage of maximum rotat...
Definition: sensorGimbalActuator.h:172
DtOrientationOutputPort * myOrientationOutputPort
Output Port Name: orientation Input Port Description: Outputs the orientation of the sensor relative ...
Definition: sensorGimbalActuator.h:186
virtual void bindLuaGlobals(lua_State *)=0
Override to bind lua globals.
DtAnalogOutputPort * myMaxAzimuthOutputPort
Output Port Name: max-azimuth Output Port Description: The maximum azimuth at which the gimbal can ai...
Definition: sensorGimbalActuator.h:219
double myMinAzimuth
Definition: sensorGimbalActuator.h:130
double myMaxElevation
Definition: sensorGimbalActuator.h:134
Class DtVrfBalGunPSR: Used to hold checkpointable state for the processes associated with ballistic g...
Definition: vrfBalGunPSR.h:38
virtual const char * type() const =0
Returns a string identifies the class type of component. Type values are defined in compTypes...
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