17 #include <matrix/vlVector.h>
21 class DtConstrainedAnalogPort;
55 virtual const char*
type()
const;
60 virtual void setTargetPoint(
const DtVector& targetPoint);
61 virtual const DtVector& targetPoint()
const;
64 virtual void setTargetVelocity(
const DtVector& arg);
65 virtual const DtVector& targetVelocity()
const;
72 double& maneuverAccelXOut,
73 double& maneuverAccelYOut,
74 double& maneuverAccelZOut);
79 static void targetPointCallback(
DtSimMessage * msg,
void * usr);
112 virtual bool setupControlPoint();
115 virtual double findDesiredSpeed();
122 virtual void doMoving();
#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
virtual const char * type() const
Returns a string identifies the class type of component. Type values are defined in compTypes...
const DtMissileControllerComponent & operator=(const DtMissileControllerComponent &orig)
assignment operator; not implemented
Definition: readerWriterRegistry.h:39
DtMissileMoveToControllerComponent is a controller that maneuvers a missile toward a given target poi...
Definition: missileMoveToControllerComponent.h:35
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:90
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:70
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