19 #include <matrix/vlVector.h>
23 class DtConstrainedAnalogPort;
53 virtual void tick()
override;
57 virtual const char*
type()
const override;
62 virtual void setTargetPoint(
const DtVector& targetPoint);
63 virtual const DtVector& targetPoint()
const;
66 virtual void setTargetVelocity(
const DtVector& arg);
67 virtual const DtVector& targetVelocity()
const;
70 virtual void calculateSteering(
const DtVector& relativeVelocity,
const DtVector& localPosition,
71 const DtVector& targetVelocity,
const DtVector& targetPoint,
double& maneuverAccelXOut,
double& maneuverAccelYOut,
72 double& maneuverAccelZOut)
override;
77 static void targetPointCallback(
DtSimMessage * msg,
void * usr);
94 virtual void setTargetEntity(
const DtUUID& entity);
115 virtual bool setupControlPoint();
118 virtual double findDesiredSpeed();
125 virtual void doMoving();
UUID is a unique ID wrapper class.
Definition: uuid.h:59
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
virtual void registerTaskMsgCallbacks()
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
const DtMissileControllerComponent & operator=(const DtMissileControllerComponent &orig)
assignment operator; not implemented
Definition: readerWriterRegistry.h:39
DtMissileLaunchPhaseEnum
Definition: missileFlightPSR.h:22
virtual const char * type() const override
Returns a string identifies the class type of component. Type values are defined in compTypes...
DtMissileMoveToControllerComponent is a controller that maneuvers a missile toward a given target poi...
Definition: missileMoveToControllerComponent.h:37
virtual void calculateSteering(const DtVector &relativeVelocity, const DtVector &localPosition, const DtVector &targetVelocity, const DtVector &targetPoint, double &maneuverAccelXOut, double &maneuverAccelYOut, double &maneuverAccelZOut)=0
Calculates the maneuvering thrust necessary to aim at the target. Usually calls either calculateSteer...
File: simMsg.h.
Definition: simMessage.h:35
virtual void tick()
This gives the thread of control to the component. The component is ticked once each simulation from ...
DtMissileControllerComponent is a controller that contains all of the functionality common to all mis...
Definition: missileControllerComponent.h:33
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:96
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:89
DtMovementSimObjectFacade myEntityPointerSimObjectFacade
Definition: missileMoveToControllerComponent.h:133
A locally simulated VRF object.
Definition: localObject.h:98