Class VehicleSetStop
java.lang.Object
org.eclipse.mosaic.fed.sumo.bridge.libsumo.VehicleSetStop
- All Implemented Interfaces:
VehicleSetStop
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
VehicleSetStop
public VehicleSetStop()
-
-
Method Details
-
execute
public void execute(Bridge bridge, String vehicleId, String edgeId, double position, int laneIndex, long duration, int stopFlag) This method executes the command with the given arguments in order to set the stop mode for the vehicle.- Specified by:
execute
in interfaceVehicleSetStop
- Parameters:
bridge
- Connection to SUMO.vehicleId
- The Id of the vehicle to change the route.edgeId
- The Id of the edge on which to stop.position
- The position of the stop.laneIndex
- The index of the lane on which to stop.duration
- The duration for stop in [ns].stopFlag
- The flag indicating the type of the stop.
-