21 #include "matrix/coordTransform.h"
49 virtual const char*
type()
const;
60 static void followInFormationCallback(
DtSimMessage * msg,
void * usr);
73 void cleanFollowInFormation();
76 virtual void endFollowInFormation(
bool taskSuccess =
true);
95 virtual int adjustStartPoint(
const std::vector<DtVector>& routeVertices,
105 virtual void doMoving();
109 virtual bool checkTaskEndCondition();
112 virtual bool isLeaderCapable()
const;
120 virtual double horizDistBetweenPoints(
DtPoint loc1,
DtPoint loc2);
129 virtual int findClosestSegmentIndex(
DtVector testPoint, std::vector<DtVector> testRoute,
130 DtPoint& closestSegmentLoc,
double& distanceToSegment,
int indexSegmentFloor = 0);
135 virtual double findDesiredAcceleration(
double targetSpeed,
double targetHeading,
136 double currentHeading,
double disToTarget);
143 virtual bool createFollowerOffsetRoute(
const std::vector<DtVector>& localPoints,
144 float rightOffset,
float forwardOffset,
DtUUID& routeUUID);
147 virtual void processFollowInFormation(
const DtTaskMessage& msg);
154 virtual bool publishFormationRoutes()
const;
168 virtual double distanceBehind(
const DtVector topoRefPos,
170 virtual bool isPastDestination(
const int currentIndex);
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()
File: lclVecIter.h.
Definition: localVectorIterator.h:25
The DtSimObjectReference is a shared pointer that can be used amongst many object for access to the u...
Definition: simObjectReference.h:26
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
const DtGroundAutoControllerComponent & operator=(const DtGroundAutoControllerComponent &orig)
assignment operator; not implemented
virtual const char * type() const
Returns a string identifies the class type of component. Type values are defined in compTypes...
virtual void updateTaskVisualizations()
Called to update task visualizations after every tick. Implemented by subclasses. ...
Definition: simComponent.h:437
Instances of DtVectorOutputPort are output ports through which data producers can send a DtVector...
Definition: vectorIOPort.h:52
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 ...
virtual void clearTask()
Overridden to deactivate the port group when this controller completes a task.
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:94
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:91
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
DtGroundAutoControllerComponent is a base controller that holds capabilitites common to all automotiv...
Definition: groundAutoControllerComponent.h:34
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