46 virtual bool init()
override;
49 virtual const char*
type()
const override;
57 virtual void tick()
override;
77 virtual bool setupRoute();
85 virtual bool setupDestination();
88 virtual double findDesiredSpeed();
113 virtual bool createPSR();
118 virtual void doMoving();
125 virtual double findDesiredHeading(DtVector&
dest);
146 virtual void emptyVertexList();
153 virtual void moveToDestination();
158 virtual double distanceToDestinationSquared()
const;
168 virtual bool atDestination();
176 virtual bool passedDestination();
186 virtual bool getDestination(DtVector & destination);
189 virtual DtVector destinationVector()
const;
195 virtual double atDistance()
const;
202 virtual bool stayOnRoute()
const;
208 virtual double minCorrectionDistance()
const;
217 virtual double maxCorrectionDistance()
const;
222 virtual double correctionAngle(
const double distanceFromLine)
const;
232 virtual void computePointToSegmentGeometry(
233 const DtVector& localPoint,
234 const DtVector& localLinePt1,
const DtVector& localLinePt2,
236 double& r,
bool &leftSide,
double &distanceToSegment);
241 virtual bool getCurrentRouteSegment(DtVector& routeSegmentStart, DtVector& routeSegmentEnd)
const;
246 virtual void calculateRadius();
DtVectorOutputPort * myDestinationOutputPort
Output Port Name: destination Output Port Description: Specifies the current destination of the entit...
Definition: aggregatedMoveAlongController.h:272
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
DtBooleanOutputPort * myRetrogradeOutputPort
Output Port Name: desired-speed Output Port Description: Output Port Range: Output Group Parent: mo...
Definition: aggregatedMoveAlongController.h:290
DtVector myWorldDestination
Output Port Name: desired-speed Output Port Description: Output Port Range: Output Group Parent: mo...
Definition: aggregatedMoveAlongController.h:286
virtual const char * type() const override=0
Returns a string identifies the class type of component. Type values are defined in compTypes...
Instances of DtBooleanOutputPort are output ports through which data producers can send boolean data...
Definition: boolIOPort.h:45
virtual void registerTaskMsgCallbacks()
virtual void preFirstTickInit()
This function can be overridden to initialize a component before it is ticked for the first time...
This class provides a base class for all controllers that are capable of executing a DtSimTask...
Definition: singleTaskControllerComponent.h:22
DtVrfAggregateStateRepository * myTrueAggregateRepository
Output Port Name: desired-speed Output Port Description: Output Port Range: Output Group Parent: mo...
Definition: aggregatedMoveAlongController.h:274
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
DtVector myLocalDestination
Output Port Name: desired-speed Output Port Description: Output Port Range: Output Group Parent: mo...
Definition: aggregatedMoveAlongController.h:285
DtAggregatedMoveAlongDescriptor; descriptor for the DtAggregatedMoveAlongDescriptor component...
Definition: aggregatedMoveAlongDescriptor.h:20
Definition: readerWriterRegistry.h:39
std::shared_ptr< DtSimTaskState > DtSimTaskStatePtr
Definition: taskAndTaskStateDefines.h:18
DtOutputPortGroup is a data port group of a data provider. It may contain any number of DtOutputPorts...
Definition: outputPortGroup.h:34
bool myResetVertex
Output Port Name: desired-speed Output Port Description: Output Port Range: Output Group Parent: mo...
Definition: aggregatedMoveAlongController.h:283
virtual bool init() override
Calls setRadio()
bool myNeedsObjectDiscovery
Output Port Name: desired-speed Output Port Description: Output Port Range: Output Group Parent: mo...
Definition: aggregatedMoveAlongController.h:291
Definition: coordSystem.h:54
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
class DtAggregatedMoveAlongPSR:
Definition: aggregatedMoveAlongPSR.h:30
DtAnalogOutputPort * myMovementDirectionPort
Output Port Name: desired-movement-direction Output Port Description: Output Port Range: Output Gro...
Definition: aggregatedMoveAlongController.h:265
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 ...
DtOutputPortGroup * myMovementControlPortGroup
Output Port Name: desired-speed Output Port Description: Output Port Range: Output Group Parent: mo...
Definition: aggregatedMoveAlongController.h:254
virtual DtSimTaskStatePtr currentTaskState() const
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:96
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:89
double myUnitRadius
Output Port Name: desired-speed Output Port Description: Output Port Range: Output Group Parent: mo...
Definition: aggregatedMoveAlongController.h:287
const DtTaskControllerComponent & operator=(const DtTaskControllerComponent &orig)
assignment operator
DtAggregatedMoveAlongDescriptor * myAggregatedMoveAlongDescriptor
Output Port Name: desired-speed Output Port Description: Output Port Range: Output Group Parent: mo...
Definition: aggregatedMoveAlongController.h:289
virtual void clearTask() override
If component is currently tasked, calls clearPendingSubtasks(), sets the tasked flag to false...
DtAnalogOutputPort * mySpeedPort
Output Port Name: desired-speed Output Port Description: Output Port Range: Output Group Parent: mo...
Definition: aggregatedMoveAlongController.h:259
Definition: vrfAggregateStateRepository.h:21
The top level class of a VR-Forces Simulation Engine, representing a Computer Generated Forces instan...
Definition: cgf.h:156
DtAggregatedMoveAlongPSR * myProcessState
Container for state data associated with this component. This state is saved and restored as part of ...
Definition: aggregatedMoveAlongController.h:278
bool myRouteHasChanged
This gets set to true when a modifyRoute message for the route we're following is received...
Definition: aggregatedMoveAlongController.h:282
A DtTaskMsg is a DtRadioMsg with a pointer to a task. The type of the taskMsg is just the type of the...
Definition: taskMessage.h:21
End User Description: Controller for executing DtMoveAlongTask for aggregated aggregates. This moves the aggregate along a route. Uses Descriptor Type: DtComponentDescriptor.
Definition: aggregatedMoveAlongController.h:25
char * dest
Definition: lz4.h:440
A locally simulated VRF object.
Definition: localObject.h:98