47 virtual const char*
type()
const;
57 static void followInFormationCallback(
DtSimMessage * msg,
void * usr);
70 void cleanFollowInFormation();
73 virtual void endFollowInFormation(
bool taskSuccess =
true);
84 virtual void doMoving();
89 virtual double distanceAlongRoute(
DtVector testLocation,
int segmentIndex, std::vector<DtVector> testRoute);
93 virtual bool checkTaskEndCondition();
109 virtual int findClosestSegmentIndex(
DtVector testPoint, std::vector<DtVector> testRoute,
110 DtPoint& closestSegmentLoc,
double& distanceToSegment,
int indexSegmentFloor = 0);
114 virtual double findHeading(
DtVector initialLocation,
DtVector localDestination);
120 virtual DtVector shiftLocationAlongRoute(
double shiftDistance,
121 std::vector<DtVector> testRoute,
DtVector initalLoc,
int segmentIndex);
125 virtual DtVector findTargetLocation();
130 virtual double findDesiredAcceleration(
double targetSpeed,
double targetHeading,
131 double currentHeading,
double disToTarget);
138 virtual bool createFollowerOffsetRoute(
const std::vector<DtVector>& localPoints,
139 float rightOffset,
float forwardOffset,
DtUUID& routeUUID);
142 virtual void processFollowInFormation(
const DtTaskMessage& msg);
148 virtual double headingTo(
DtVector localDestination);
152 bool publishFormationRoutes()
const;
UUID is a unique ID wrapper class.
Definition: rwUUID.h:226
#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:436
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:89
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:70
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