public interface AutoDriverPilotView
Modifier and Type | Method and Description |
---|---|
double |
distanceToNextIntersection()
Find the distance to the next intersection in the Lane in which
the Vehicle is, from the position at which the Vehicle is.
|
IntersectionManager |
getCurrentIM()
Get the IntersectionManager with which the agent is currently
interacting.
|
Lane |
getCurrentLane()
Get the Lane the DriverAgent is currently following.
|
AutoVehicleDriverView |
getVehicle()
Get the Vehicle this DriverAgent is controlling.
|
void |
setCurrentLane(Lane lane)
Set the Lane the DriverAgent is currently following.
|
AutoVehicleDriverView getVehicle()
Lane getCurrentLane()
void setCurrentLane(Lane lane)
lane
- the Lane the DriverAgent should followIntersectionManager getCurrentIM()
double distanceToNextIntersection()
Driver
, but only to memoize it for
speed.Copyright © 2013. All rights reserved.