|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AutoDriverPilotView
Autonomous driver from the viewpoint of pilots.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |