public class MeasureSensor extends AbstractSensor
| Constructor and Description |
|---|
MeasureSensor(Lane lane,
org.djunits.value.vdouble.scalar.Length.Rel longitudinalPosition,
org.opentrafficsim.core.gtu.RelativePosition.TYPE positionType,
String name,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator) |
| Modifier and Type | Method and Description |
|---|---|
void |
trigger(LaneBasedGTU gtu)
Trigger an action on the GTU.
|
compareTo, equals, getBounds, getLane, getLocation, getLongitudinalPosition, getLongitudinalPositionSI, getName, getPositionType, getSimulator, hashCodepublic MeasureSensor(Lane lane, org.djunits.value.vdouble.scalar.Length.Rel longitudinalPosition, org.opentrafficsim.core.gtu.RelativePosition.TYPE positionType, String name, org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator)
lane - longitudinalPosition - positionType - name - simulator - public void trigger(LaneBasedGTU gtu)
sensor.trigger(this);.gtu - the GTU for which to carry out the trigger action.Copyright © 2014–2016 Delft University of Technology. All rights reserved.