public interface EgoPerception extends PerceptionCategory
Copyright (c) 2013-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| 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.djunits.value.vdouble.scalar.Length |
getWidth()
Returns the width.
|
void |
updateAcceleration()
Update acceleration.
|
default void |
updateAll()
Update all information in the perception category.
|
void |
updateLength()
Update length.
|
void |
updateSpeed()
Update speed.
|
void |
updateWidth()
Update width.
|
void updateSpeed()
throws GTUException
GTUException - if the GTU has not been initializedvoid updateAcceleration()
throws GTUException
GTUException - if the GTU has not been initializedvoid updateLength()
throws GTUException
GTUException - if the GTU has not been initializedvoid updateWidth()
throws GTUException
GTUException - if the GTU has not been initializedorg.djunits.value.vdouble.scalar.Acceleration getAcceleration()
org.djunits.value.vdouble.scalar.Speed getSpeed()
org.djunits.value.vdouble.scalar.Length getLength()
org.djunits.value.vdouble.scalar.Length getWidth()
default void updateAll()
throws GTUException,
NetworkException,
ParameterException
updateAll in interface PerceptionCategoryGTUException - if the GTU was not initializedNetworkException - when lanes are not properly linkedParameterException - when a necessary parameter to carry our perception is not defined (e.g., LOOKAHEAD)Copyright © 2014–2017 Delft University of Technology. All rights reserved.