public class AutoV2VDriver extends AutoDriver
| Modifier and Type | Class and Description |
|---|---|
static class |
AutoV2VDriver.State
Potential states that a CoordinatingDriverAgent can be in.
|
currentLane, currentlyOccupiedLanes| Constructor and Description |
|---|
AutoV2VDriver(AutoVehicleDriverView vehicle,
BasicMap basicMap) |
| Modifier and Type | Method and Description |
|---|---|
void |
finalizeClaimParameters()
Inform the driver agent that the Claim it is currently holding has stood
up for the required amount of time and can be used to cross the
intersection.
|
AutoVehicleDriverView |
getVehicle()
Get the Vehicle this DriverAgent is controlling.
|
void |
setClaimParameters(double arrivalTime,
double arrivalVelocity,
Lane arrivalLane,
Lane departureLane)
Set the parameters for this driver agent's Claim.
|
act, distanceFromPrevIntersection, distanceToNextIntersection, getCurrentCoordinator, getCurrentIM, inCurrentIntersection, nextIntersectionManageraddCurrentlyOccupiedLane, getCurrentLane, getCurrentlyOccupiedLanes, getDestination, getSpawnPoint, setCurrentLane, setDestination, setSpawnPointclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddCurrentlyOccupiedLane, getCurrentLane, getDestination, setCurrentLanegetCurrentLane, setCurrentLanepublic AutoV2VDriver(AutoVehicleDriverView vehicle, BasicMap basicMap)
public AutoVehicleDriverView getVehicle()
getVehicle in interface AutoDriverPilotViewgetVehicle in interface DriverSimViewgetVehicle in class AutoDriverpublic void setClaimParameters(double arrivalTime,
double arrivalVelocity,
Lane arrivalLane,
Lane departureLane)
arrivalTime - the time at which the Vehicle should arrive at
the intersectionarrivalVelocity - the minimum arrival Velocity in order to
complete the Claim on timearrivalLane - the Lane in which the Vehicle should arrive at
the intersectiondepartureLane - the Lane in which the Vehicle should depart
the intersectionpublic void finalizeClaimParameters()
Copyright © 2013. All rights reserved.