public interface Perception extends Serializable
Copyright (c) 2013-2015 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 |
|---|---|
Collection<PerceivedObject> |
getPerceivedObjects()
Return information about the perceived objects with their (estimated) location, speed, and state.
|
TimeStampedObject<Collection<PerceivedObject>> |
getTimeStampedPerceivedObjects()
Return time stamped information about the perceived objects with their (estimated) location, speed, and state.
|
void |
perceive()
Update the perceived information and store it in a stateful manner.
|
void perceive()
throws GTUException,
NetworkException,
ParameterException
GTUException - when GTU has not been properly initialized.NetworkException - in case of inconsistencies in the network during perception calculations.ParameterException - in case of a parameter error.Collection<PerceivedObject> getPerceivedObjects()
TimeStampedObject<Collection<PerceivedObject>> getTimeStampedPerceivedObjects() throws GTUException
GTUException - when the GTU was not initialized yet.Copyright © 2014–2016 Delft University of Technology. All rights reserved.