public class RTICars
extends org.opentrafficsim.road.gtu.lane.LaneBasedIndividualGTU
CACHED_POSITION, CACHING, 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_EVENT| Constructor and Description |
|---|
RTICars(String valueOf,
org.opentrafficsim.core.gtu.GTUType carType,
org.djunits.value.vdouble.scalar.Length carLength,
org.djunits.value.vdouble.scalar.Length width,
org.djunits.value.vdouble.scalar.Speed maxSpeed,
nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface.TimeDoubleUnit simulator,
org.opentrafficsim.core.network.OTSNetwork network) |
| Modifier and Type | Method and Description |
|---|---|
nl.tudelft.simulation.language.d3.DirectedPoint |
getLocation() |
destroy, getCenter, getContourPoints, getFront, getRear, getRelativePositions, initWithAnimation, toStringgetLength, getMaximumSpeed, getWidth, laneChangeAllowed, setNoLaneChangeDistanceaddGtuToLane, addTrigger, changeLaneInstantaneously, 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, setParent, setTurnIndicatorStatus, setVehicleModel, translatedPositionaddGtu, equals, getAcceleration, getAcceleration, getBaseColor, getChildren, getGTUType, getId, getMaximumAcceleration, getMaximumDeceleration, 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, getBaseColor, getChildren, getGTUType, getId, getMaximumAcceleration, getMaximumDeceleration, getOdometer, getOdometer, getOperationalPlan, getOperationalPlan, getParameters, getParent, getReference, getSimulator, getSpeed, getSpeed, isDestroyed, removeGtu, setParameterspublic RTICars(String valueOf, org.opentrafficsim.core.gtu.GTUType carType, org.djunits.value.vdouble.scalar.Length carLength, org.djunits.value.vdouble.scalar.Length width, org.djunits.value.vdouble.scalar.Speed maxSpeed, nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface.TimeDoubleUnit simulator, org.opentrafficsim.core.network.OTSNetwork network) throws NamingException, org.opentrafficsim.core.gtu.GTUException, org.opentrafficsim.core.gtu.plan.operational.OperationalPlanException
valueOf - car idcarType - GTU typecarLength - car lengthwidth - car widthmaxSpeed - maximum speed of the carsimulator - the simulatornetwork - the network on which the car will be registeredorg.opentrafficsim.core.gtu.GTUException - on GTU inconsistencyNamingException - when animation cannot be registeredorg.opentrafficsim.core.gtu.plan.operational.OperationalPlanException - when plan retrieval failspublic nl.tudelft.simulation.language.d3.DirectedPoint getLocation()
getLocation in interface nl.tudelft.simulation.dsol.animation.LocatablegetLocation in interface org.opentrafficsim.road.gtu.lane.LaneBasedGTUgetLocation in class org.opentrafficsim.core.gtu.AbstractGTUCopyright © 2014–2018 Delft University of Technology. All rights reserved.