public class RTICar extends LaneBasedIndividualGTU
LaneBasedIndividualGTU.LaneBasedIndividualCarBuilderCACHED_POSITION, CACHING, initialLocationThresholdDifference, NON_CACHED_POSITIONALIGN_COUNT, ALIGNED, operationalPlanlistenersLANE_CHANGE_EVENT, LANE_ENTER_EVENT, LANE_EXIT_EVENT, LANEBASED_DESTROY_EVENT, LANEBASED_INIT_EVENT, LANEBASED_MOVE_EVENT, LINK_ENTER_EVENT, LINK_EXIT_EVENTDESTROY_EVENT, INIT_EVENT, MOVE_EVENTFIRST_POSITION, LAST_POSITION| Constructor and Description |
|---|
RTICar(String valueOf,
GTUType carType,
Length carLength,
Length width,
Speed maxSpeed,
OTSSimulatorInterface simulator,
OTSNetwork network) |
| Modifier and Type | Method and Description |
|---|---|
DirectedPoint |
getLocation() |
getCenter, getContourPoints, getFront, getRear, getRelativePositions, toStringgetLength, getMaximumSpeed, getWidth, laneChangeAllowed, setNoLaneChangeDistanceaddGtuToLane, addTrigger, changeLaneInstantaneously, destroy, enterLane, finalizeLaneChange, fractionalPosition, fractionalPosition, fractionalPositions, fractionalPositions, getBounds, getCarFollowingAcceleration, getDesiredSpeed, getDirection, getReferencePosition, getStrategicalPlanner, getStrategicalPlanner, getTurnIndicatorStatus, getTurnIndicatorStatus, getVehicleModel, init, initLaneChange, isSafeToChange, leaveLane, leaveLane, move, position, position, positions, positions, projectedPosition, reinit, scheduleEnterLeaveTriggers, setFinalizeLaneChangeEvent, setParent, setTurnIndicatorStatus, setVehicleModel, translatedPositionaddGtu, equals, getAcceleration, getAcceleration, getChildren, getGTUType, getId, getMaximumAcceleration, getMaximumDeceleration, getNextMoveEvent, getOdometer, getOdometer, getOperationalPlan, getOperationalPlan, getParameters, getParent, getPerceivableContext, getReference, getSimulator, getSpeed, getSpeed, hashCode, init, interruptMove, isDestroyed, removeGtu, setMaximumAcceleration, setMaximumDeceleration, setParametersaddListener, addListener, addListener, addListener, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, removeAllListeners, removeAllListeners, removeListenerclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetTacticalPlanner, getTacticalPlanner, isBrakingLightsOn, isBrakingLightsOnaddGtu, getAcceleration, getAcceleration, getChildren, getGTUType, getId, getMaximumAcceleration, getMaximumDeceleration, getOdometer, getOdometer, getOperationalPlan, getOperationalPlan, getParameters, getParent, getReference, getSimulator, getSpeed, getSpeed, isDestroyed, removeGtu, setParametersaddListener, addListener, addListener, addListener, removeListenerpublic RTICar(String valueOf, GTUType carType, Length carLength, Length width, Speed maxSpeed, OTSSimulatorInterface simulator, OTSNetwork network) throws NamingException, GTUException, OperationalPlanException
valueOf - String; car idcarType - GTUType; GTU typecarLength - Length; car lengthwidth - Length; car widthmaxSpeed - Speed; maximum speed of the carsimulator - OTSSimulatorInterface; the simulatornetwork - OTSNetwork; the network on which the car will be registeredGTUException - on GTU inconsistencyNamingException - when animation cannot be registeredOperationalPlanException - when plan retrieval failspublic DirectedPoint getLocation()
getLocation in interface LocatablegetLocation in interface LaneBasedGTUgetLocation in class AbstractGTUCopyright © 2014–2019 Delft University of Technology. All rights reserved.