public class RTICars extends LaneBasedIndividualGTU
LaneBasedIndividualGTU.LaneBasedIndividualCarBuilder| Modifier and Type | Field and Description |
|---|---|
(package private) DirectedPoint |
current |
| Constructor and Description |
|---|
RTICars(String valueOf,
org.opentrafficsim.core.gtu.GTUType carType,
Set<DirectedLanePosition> lanepositionSet,
org.djunits.value.vdouble.scalar.Speed speed,
org.djunits.value.vdouble.scalar.Length.Rel carLength,
org.djunits.value.vdouble.scalar.Length.Rel width,
org.djunits.value.vdouble.scalar.Speed maxSpeed,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator,
LaneBasedStrategicalPlanner sPlanner,
LanePerceptionFull perception,
org.opentrafficsim.core.network.OTSNetwork network) |
| Modifier and Type | Method and Description |
|---|---|
DirectedPoint |
getLocation() |
destroy, getFront, getRear, getRelativePositionsgetLength, getMaximumVelocity, getWidthaddTrigger, enterLane, fractionalPosition, fractionalPosition, fractionalPositions, fractionalPositions, getBehavioralCharacteristics, getBounds, getLanes, getPerception, getStrategicalPlanner, leaveLane, leaveLane, move, position, position, positions, positions, projectedPosition, toStringgetAcceleration, getAcceleration, getGTUType, getId, getMaximumAcceleration, getMaximumDeceleration, getOdometer, getOperationalPlan, getPerceivableContext, getReference, getSimulator, getTacticalPlanner, getTurnIndicatorStatus, getVelocity, getVelocity, interruptMove, isDestroyed, setMaximumAcceleration, setMaximumDeceleration, setTurnIndicatorStatusclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAcceleration, getAcceleration, getGTUType, getId, getMaximumAcceleration, getMaximumDeceleration, getOdometer, getOperationalPlan, getReference, getSimulator, getTacticalPlanner, getTurnIndicatorStatus, getVelocity, getVelocity, setTurnIndicatorStatusDirectedPoint current
public RTICars(String valueOf, org.opentrafficsim.core.gtu.GTUType carType, Set<DirectedLanePosition> lanepositionSet, org.djunits.value.vdouble.scalar.Speed speed, org.djunits.value.vdouble.scalar.Length.Rel carLength, org.djunits.value.vdouble.scalar.Length.Rel width, org.djunits.value.vdouble.scalar.Speed maxSpeed, org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator, LaneBasedStrategicalPlanner sPlanner, LanePerceptionFull perception, org.opentrafficsim.core.network.OTSNetwork network) throws NamingException, org.opentrafficsim.core.network.NetworkException, SimRuntimeException, org.opentrafficsim.core.gtu.GTUException, org.opentrafficsim.core.gtu.plan.operational.OperationalPlanException, org.opentrafficsim.core.geometry.OTSGeometryException
valueOf - car idcarType - GTU typelanepositionSet - lanes for registrationspeed - initial car speedcarLength - car lengthwidth - car widthmaxSpeed - maximum velocity of the carsimulator - the simulatorsPlanner - the strategical planner unitperception - the perception unitnetwork - the network on which the car will be registeredorg.opentrafficsim.core.gtu.GTUException - on GTU inconsistencySimRuntimeException - when operational plan event cannot be scheduledorg.opentrafficsim.core.network.NetworkException - on network inconsistencyNamingException - when animation cannot be registeredorg.opentrafficsim.core.gtu.plan.operational.OperationalPlanException - when operational plan cannot be constructed or executedorg.opentrafficsim.core.geometry.OTSGeometryException - when position cannot be determinedpublic DirectedPoint getLocation()
getLocation in interface LocatableInterfacegetLocation in interface org.opentrafficsim.core.gtu.GTUgetLocation in class org.opentrafficsim.core.gtu.AbstractGTUCopyright © 2014–2016 Delft University of Technology. All rights reserved.