public class DirectEgoPerception extends AbstractPerceptionCategory implements EgoPerception
Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Constructor and Description |
|---|
DirectEgoPerception(Perception perception) |
| Modifier and Type | Method and Description |
|---|---|
org.djunits.value.vdouble.scalar.Acceleration |
getAcceleration()
Returns the acceleration.
|
org.djunits.value.vdouble.scalar.Length |
getLength()
Returns the length.
|
org.djunits.value.vdouble.scalar.Speed |
getSpeed()
Returns the speed.
|
org.opentrafficsim.base.TimeStampedObject<org.djunits.value.vdouble.scalar.Acceleration> |
getTimeStampedAcceleration()
Return the time stamped acceleration.
|
org.opentrafficsim.base.TimeStampedObject<org.djunits.value.vdouble.scalar.Length> |
getTimeStampedLength()
Return the time stamped length.
|
org.opentrafficsim.base.TimeStampedObject<org.djunits.value.vdouble.scalar.Speed> |
getTimeStampedSpeed()
Return the time stamped speed.
|
org.opentrafficsim.base.TimeStampedObject<org.djunits.value.vdouble.scalar.Length> |
getTimeStampedWidth()
Return the time stamped width.
|
org.djunits.value.vdouble.scalar.Length |
getWidth()
Returns the width.
|
String |
toString() |
void |
updateAcceleration()
Update acceleration.
|
void |
updateLength()
Update length.
|
void |
updateSpeed()
Update speed.
|
void |
updateWidth()
Update width.
|
getGtu, getObjectOrNull, getPerception, getTimestampclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitupdateAllpublic DirectEgoPerception(Perception perception)
perception - perceptionpublic final void updateSpeed()
throws GTUException
updateSpeed in interface EgoPerceptionGTUException - if the GTU has not been initializedpublic final void updateAcceleration()
throws GTUException
updateAcceleration in interface EgoPerceptionGTUException - if the GTU has not been initializedpublic final void updateLength()
throws GTUException
updateLength in interface EgoPerceptionGTUException - if the GTU has not been initializedpublic final void updateWidth()
throws GTUException
updateWidth in interface EgoPerceptionGTUException - if the GTU has not been initializedpublic final org.djunits.value.vdouble.scalar.Acceleration getAcceleration()
getAcceleration in interface EgoPerceptionpublic final org.djunits.value.vdouble.scalar.Speed getSpeed()
getSpeed in interface EgoPerceptionpublic final org.djunits.value.vdouble.scalar.Length getLength()
getLength in interface EgoPerceptionpublic final org.djunits.value.vdouble.scalar.Length getWidth()
getWidth in interface EgoPerceptionpublic final org.opentrafficsim.base.TimeStampedObject<org.djunits.value.vdouble.scalar.Speed> getTimeStampedSpeed()
public final org.opentrafficsim.base.TimeStampedObject<org.djunits.value.vdouble.scalar.Acceleration> getTimeStampedAcceleration()
public final org.opentrafficsim.base.TimeStampedObject<org.djunits.value.vdouble.scalar.Length> getTimeStampedLength()
public final org.opentrafficsim.base.TimeStampedObject<org.djunits.value.vdouble.scalar.Length> getTimeStampedWidth()
Copyright © 2014–2018 Delft University of Technology. All rights reserved.