class TestGTU extends AbstractGTU
Constructor and Description |
---|
TestGTU(String id,
GTUType gtuType,
OTSDEVSSimulatorInterface simulator,
nl.tudelft.simulation.language.d3.DirectedPoint initialLocation,
PerceivableContext perceivableContext) |
Modifier and Type | Method and Description |
---|---|
javax.media.j3d.Bounds |
getBounds() |
DrivingCharacteristics |
getDrivingCharacteristics() |
RelativePosition |
getFront() |
org.djunits.value.vdouble.scalar.Length.Rel |
getLength() |
org.djunits.value.vdouble.scalar.Speed |
getMaximumVelocity() |
RelativePosition |
getRear() |
Map<RelativePosition.TYPE,RelativePosition> |
getRelativePositions() |
org.djunits.value.vdouble.scalar.Length.Rel |
getWidth() |
destroy, getAcceleration, getAcceleration, getGTUType, getId, getLocation, getMaximumAcceleration, getMaximumDeceleration, getOdometer, getOperationalPlan, getPerception, getReference, getSimulator, getStrategicalPlanner, getTacticalPlanner, getVelocity, getVelocity, interruptMove, move, setMaximumAcceleration, setMaximumDeceleration
public TestGTU(String id, GTUType gtuType, OTSDEVSSimulatorInterface simulator, nl.tudelft.simulation.language.d3.DirectedPoint initialLocation, PerceivableContext perceivableContext) throws nl.tudelft.simulation.dsol.SimRuntimeException, GTUException
id
- String; id of the new GTUgtuType
- GTUType; type of the new GTUsimulator
- OTSDEVSSimulatorInterface; simulator that controls the new GTUinitialLocation
- DirectedPoint; initial location and direction of the new GTUperceivableContext
- PerceivableContext; the perceivable context of the new GTUnl.tudelft.simulation.dsol.SimRuntimeException
- when something goes wrong in the scheduling of the first move eventGTUException
public org.djunits.value.vdouble.scalar.Length.Rel getLength()
public org.djunits.value.vdouble.scalar.Length.Rel getWidth()
public org.djunits.value.vdouble.scalar.Speed getMaximumVelocity()
public RelativePosition getFront()
public RelativePosition getRear()
public Map<RelativePosition.TYPE,RelativePosition> getRelativePositions()
public javax.media.j3d.Bounds getBounds()
public DrivingCharacteristics getDrivingCharacteristics()
Copyright © 2014–2016 Delft University of Technology. All rights reserved.