public class RTICar extends LaneBasedIndividualGTU
LaneBasedIndividualGTU.LaneBasedIndividualCarBuilderCACHED_POSITION, CACHING, eventMargin, initialLocationThresholdDifference, NON_CACHED_POSITIONALIGN_COUNT, ALIGNED, operationalPlanLANE_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_EVENT| Constructor and Description |
|---|
RTICar(String valueOf,
GTUType carType,
Length carLength,
Length width,
Speed maxSpeed,
OTSSimulatorInterface simulator,
OTSRoadNetwork network) |
| Modifier and Type | Method and Description |
|---|---|
nl.tudelft.simulation.language.d3.DirectedPoint |
getLocation() |
getCenter, getContourPoints, getFront, getRear, getRelativePositions, toStringgetLength, getMaximumSpeed, getWidth, laneChangeAllowed, setNoLaneChangeDistanceaddTrigger, changeLaneInstantaneously, destroy, enterCrossSection, finalizeLaneChange, fractionalPosition, fractionalPosition, fractionalPositions, fractionalPositions, getBounds, getCarFollowingAcceleration, getDesiredSpeed, getDirection, getLateralPosition, getNetwork, getReferencePosition, getStrategicalPlanner, getStrategicalPlanner, getTurnIndicatorStatus, getTurnIndicatorStatus, getVehicleModel, init, initLaneChange, isInstantaneousLaneChange, leaveCrossSection, move, position, position, positions, positions, reinit, scheduleEnterEvent, scheduleLeaveEvent, scheduleTriggers, setFinalizeLaneChangeEvent, setInstantaneousLaneChange, setParent, setTurnIndicatorStatus, setVehicleModeladdGtu, equals, getAcceleration, getAcceleration, getChildren, getErrorHandler, getGTUType, getId, getMaximumAcceleration, getMaximumDeceleration, getNextMoveEvent, getOdometer, getOdometer, getOperationalPlan, getOperationalPlan, getParameters, getParent, getPerceivableContext, getReference, getSimulator, getSpeed, getSpeed, hashCode, init, interruptMove, isDestroyed, removeGtu, setErrorHandler, 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, waitgetProjectedLength, getTacticalPlanner, getTacticalPlanner, isBrakingLightsOn, isBrakingLightsOnaddGtu, getAcceleration, getAcceleration, getChildren, getGTUType, getId, getMaximumAcceleration, getMaximumDeceleration, getOdometer, getOdometer, getOperationalPlan, getOperationalPlan, getParameters, getParent, getPerceivableContext, getReference, getSimulator, getSpeed, getSpeed, isDestroyed, removeGtu, setErrorHandler, setParameterspublic RTICar(String valueOf, GTUType carType, Length carLength, Length width, Speed maxSpeed, OTSSimulatorInterface simulator, OTSRoadNetwork 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 - OTSRoadNetwork; the network on which the car will be registeredGTUException - on GTU inconsistencyNamingException - when animation cannot be registeredOperationalPlanException - when plan retrieval failspublic nl.tudelft.simulation.language.d3.DirectedPoint getLocation()
getLocation in interface nl.tudelft.simulation.dsol.animation.LocatablegetLocation in interface LaneBasedGTUgetLocation in class AbstractGTUCopyright © 2014–2019 Delft University of Technology. All rights reserved.