27 class DtArticulatedPartStateRepository;
57 virtual const char*
type()
const;
85 virtual void lookupAndCacheProcessSR();
103 virtual double periodicToNumberLine(
const double testBearing,
104 double& leftBearing,
double& rightBearing);
DtAnalogInputPort * myAimAzimuthInputPort
Input Port Name: aim-azimuth Input Port Description: The azimuth at which to aim the weapon...
Definition: aimWeaponController.h:150
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
DtIntegerOutputPort * myLifeformWeaponStatePort
Output Port Name: weapon-state Output Port Description: Output Port Range: Output Port Default Valu...
Definition: aimWeaponController.h:223
const DtControllerComponent & operator=(const DtControllerComponent &orig)
assignment operator
Instances of DtBooleanOutputPort are output ports through which data producers can send boolean data...
Definition: boolIOPort.h:45
DtInputPortGroup * myAimWeaponControlPortGroup
Input Port Group Name: aim-weapon-control Input Port Group Description: .
Definition: aimWeaponController.h:130
DtAnalogInputPort * myAimElevationInputPort
Input Port Name: aim-elevation Input Port Description: The elevation at which to aim the weapon...
Definition: aimWeaponController.h:156
virtual const char * type() const =0
This returns a string from compTypes.h, and identifies the type of component.
DtBooleanInputPort * myForbidTurnPort
Input Port Name: forbid-turn Input Port Description: Indicates whether the entity can be turned to fa...
Definition: aimWeaponController.h:164
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
DtBooleanOutputPort * myBaseAimAtAnglePort
Output Port Name: base-aim-at-angle Output Port Description: Expected to be connected to the aim-at-a...
Definition: aimWeaponController.h:196
virtual bool init()
Calls setRadio()
DtAimWeaponControllerDescriptor * myAimWeaponDescriptor
Definition: aimWeaponController.h:123
File: turBalGunPSR.h.
Definition: vrfTurretedBalGunPSR.h:26
bool myLastInAzimuthRange
Remembers whether the target location was in range last tick or not. To control message printing...
Definition: aimWeaponController.h:236
Instances of DtAnalogOutputPort are input ports through which data producers can send real numbers...
Definition: analogIOPort.h:45
DtBooleanOutputPort * myWeaponAimedPort
Output Port Name: weapon-aimed Output Port Description: True if the weapon is currently aimed at a ta...
Definition: aimWeaponController.h:203
DtBooleanInputPort * myAimAtAnglePort
Input Port Name: aim-at-angle Input Port Description: Indicates that aiming should be done using the ...
Definition: aimWeaponController.h:144
virtual void tick()
This gives the thread of control to the component. The component is ticked once each simulation from ...
DtVectorInputPort * myAimPointPort
Input Port Name: aim-point Input Port Description: Local position to aim at. Input Port Range: Input...
Definition: aimWeaponController.h:137
DtAnalogOutputPort * myAimElevationOutputPort
Output Port Name: aim-elevation-output Output Port Description: The elevation at which to aim the wea...
Definition: aimWeaponController.h:210
DtVrfTurretedBalGunPSR * myProcessState
Pointer to a process state repository used to store state data associated with this component...
Definition: aimWeaponController.h:232
virtual bool createPorts()
Called by init. Derived classes should override this method to create all their input/output ports an...
DtAnalogOutputPort * myAimAzimuthOutputPort
Output Port Name: aim-azimuth-output Output Port Description: The azimuth at which to aim the weapon...
Definition: aimWeaponController.h:216
End User Description: DtControllerComponent is the base class for all controllers components...
Definition: controllerComponent.h:31
DtPlatformLocalObjectFacade myPlatformLocalObjectFacade
Member to allow for access to platform specific data.
Definition: aimWeaponController.h:239
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:89
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:70
DtAnalogOutputPort * myFaceDirectionPort
Output Port Name: face-direction Output Port Description: The direction that the system (or body) tha...
Definition: aimWeaponController.h:187
DtBooleanInputPort * myAllowAzimuthAimingPort
Input Port Name: allow-azimuth-aiming Input Port Description: Indicates whether we should perform azi...
Definition: aimWeaponController.h:180
Instances of DtIntegerOutputPort are output ports through which data producers can send integer value...
Definition: integerIOPort.h:45
DtBooleanInputPort * myAllowElevationAimingPort
Input Port Name: allow-elevation-aiming Input Port Description: Indicates whether we should perform e...
Definition: aimWeaponController.h:172
virtual bool postAddComponentsInit()
Calls enableTaskTypes()
Instances of DtAimWeaponControllerDescriptor are used to specify the parameters for a DtAimWeaponCont...
Definition: aimWeaponControllerDescriptor.h:17
This class is responsible for controlling the aiming of a weapon at a target point. Uses Descriptor Type: DtAimWeaponControllerDescriptor.
Definition: aimWeaponController.h:33
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