|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface defines the behavior of the control of a vehicle. The control
takes the decisions regarding the behavior of the vehicle based on the
environment and its own internal parameters. For instance, it decides when
and if to stop for trafficlights or adapt to speedlimits.
For a detailed discussion of the involved logic, see the report (hyperlink?)
and the source code of the implementation classes.
(c) copyright 2003-2004 Delft
University of Technology , the Netherlands.
See for project information
www.simulation.tudelft.nl
License of use: General
Public License (GPL) , no warranty
| Field Summary | |
static nl.tudelft.simulation.event.EventType |
ACCELERATION_CHANGE
This event signals a change of acceleration |
static nl.tudelft.simulation.event.EventType |
CHECK_SCENARIO_FOR_PHYSICAL_EVENTS
This event is used by the vehiclePhysical to check a given scenario for any relevant physical events. |
static nl.tudelft.simulation.event.EventType |
END_OF_SCHEDULED_SCENARIO
END_OF_SCHEDULED_SCENARIO is the event used for signalling the end of scheduled scenario. |
static nl.tudelft.simulation.event.EventType |
PLANNING_CHANGED
The PLANNING_CHANGED event signals a change of planning by the control. |
static nl.tudelft.simulation.event.EventType |
UPDATE
This event signifies that the control has updated itself. |
| Fields inherited from interface nl.tudelft.simulation.event.EventProducerInterface |
FIRST_POSITION, LAST_POSITION |
| Method Summary | |
java.lang.String |
getLine()
|
VehiclePhysicalInterface |
getVehiclePhysical()
|
void |
removeVehicle()
remove the vehicle from the track |
void |
setVehiclePhysical(VehiclePhysicalInterface vehiclePhysical)
|
void |
startDriving()
this method is needed to tell the vehicle to start driving |
| Methods inherited from interface nl.tudelft.simulation.event.EventListenerInterface |
notify |
| Methods inherited from interface nl.tudelft.simulation.event.EventProducerInterface |
addListener, addListener, addListener, addListener, getEventTypes, removeListener |
| Field Detail |
public static final nl.tudelft.simulation.event.EventType UPDATE
public static final nl.tudelft.simulation.event.EventType PLANNING_CHANGED
public static final nl.tudelft.simulation.event.EventType END_OF_SCHEDULED_SCENARIO
public static final nl.tudelft.simulation.event.EventType CHECK_SCENARIO_FOR_PHYSICAL_EVENTS
public static final nl.tudelft.simulation.event.EventType ACCELERATION_CHANGE
| Method Detail |
public void startDriving()
public VehiclePhysicalInterface getVehiclePhysical()
public void setVehiclePhysical(VehiclePhysicalInterface vehiclePhysical)
throws java.lang.Exception
vehiclePhysical - The vehiclePhysical to set.
java.lang.Exception
public void removeVehicle()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic java.lang.String getLine()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||