Uses of Class
de.tudresden.sumo.util.SumoCommand
Packages that use SumoCommand
- 
Uses of SumoCommand in de.tudresden.sumo.cmdMethods in de.tudresden.sumo.cmd that return SumoCommandModifier and TypeMethodDescriptionstatic SumoCommandEdge.adaptTraveltime(String edgeID, double time) Adapt the travel time value (in s) used for (re-)routing on the given edge.static SumoCommandEdge.adaptTraveltime(String edgeID, double time, double begin, double end) Adapt the travel time value (in s) used for (re-)routing on the given edge.static SumoCommandInserts a new person to the simulation at the given edge, position and time (in s).static SumoCommandPoi.add(String poiID, double x, double y, SumoColor color, String poiType, int layer, String imgFile, double width, double height, double angle) Add a new point-of-interest.static SumoCommandPolygon.add(String polygonID, SumoGeometry shape, SumoColor color, boolean fill, String polygonType, int layer) Add a new polygon.static SumoCommandRoute.add(String routeID, SumoStringList edges) Add a new route.static SumoCommandVehicle.add(String vehID, String typeID, String routeID, int depart, double pos, double speed, byte lane) Add a new vehicle.static SumoCommandVehicle.addFull(String vehID, String routeID, String typeID, String depart, String departLane, String departPosition, String departSpeed, String arrivalLane, String arrivalPosition, String arrivalSpeed, String fromTAZ, String toTAZ, String line, int person_capacity, int person_number) Add a new vehicle.static SumoCommandPerson.appendDrivingStage(String personID, String toEdge, String lines, String stopID) Appends a driving stage to the plan of the given person The lines parameter should be a space-separated list of line ids.static SumoCommandPerson.appendWaitingStage(String personID, double duration, String description, String stopID) Appends a waiting stage with duration in s to the plan of the given person.static SumoCommandPerson.appendWalkingStage(String personID, SumoStringList edges, double arrivalPos, double duration, double speed, String stopID) Appends a walking stage to the plan of the given person The walking speed can either be specified, computed from the duration parameter (in s) or taken from the type of the person.static SumoCommandVehicle.changeLane(String vehID, byte laneIndex, double duration) Forces a lane change to the lane with the given index; if successful, the lane will be chosen for the given amount of time.static SumoCommandVehicle.changeSublane(String vehID, double latDist) Forces a lateral change by the given amount (negative values indicate changing to the right, positive to the left) This will override any other lane change motivations but conform to safety-constraints as configured by laneChangeMode.static SumoCommandVehicle.changeTarget(String vehID, String edgeID) The vehicle's destination edge is set to the given.static SumoCommandSimulation.clearPending(String routeID) Clear pending.static SumoCommandconvert2D.static SumoCommandconvert3D.static SumoCommandSimulation.convertGeo(double x, double y, boolean fromGeo) convertGeo.static SumoCommandSimulation.convertRoad(double x, double y, boolean isGeo, String vClass) convertRoad.static SumoCommandSimulation.findIntermodalRoute(String fromEdge, String toEdge, String modes, double depart, int routingMode, double speed, double walkingFactor, double departPos, double arrivalPos, double departPosLat, String pType, String vType, String destStop) findIntermodalRoute.static SumoCommandfindRoute.static SumoCommandReturns the acceleration of the named vehicle within the last step.static SumoCommandReturns the maximum acceleration of the named vehicle class.static SumoCommandVehicle.getAccumulatedWaitingTime(String vehID) Returns the vehicle class.static SumoCommandVehicle.getActionStepLength(String vehID) Returns the action step length for this vehicle.static SumoCommandEdge.getAdaptedTraveltime(String edgeID, double time) Returns the travel time value (in s) used for (re-)routing.static SumoCommandVehicle.getAdaptedTraveltime(String vehID, double time, String edgeID) Returns the edge travel time for the given time as stored in the vehicle's internal container.static SumoCommandLane.getAllowed(String laneID) Returns a list of allowed vehicle classes.static SumoCommandVehicle.getAllowedSpeed(String vehID) Returns the maximum allowed speed on the current lane regarding speed factor in m/s for this vehicle.static SumoCommandget angle.static SumoCommandReturns the angle of the named vehicle within the last time step.static SumoCommandVehicle.getApparentDecel(String vehID) Returns the apparent deceleration in m/s^2 of this vehicle.static SumoCommandVehicletype.getApparentDecel(String typeID) Returns The preferred lateral alignment of the type.static SumoCommandSimulation.getArrivedIDList()Returns a list of IDs of vehicles which arrived in this time step.static SumoCommandSimulation.getArrivedNumber()Returns the number of vehicles which arrived in this time step.static SumoCommandVehicle.getBestLanes(String vehID) getBestLanes.static SumoCommandGui.getBoundary(String viewID) Returns the coordinates of the lower left and the upper right corner of the currently visible view.static SumoCommandSimulation.getBusStopWaiting()Returns the current waiting time on bus stops(in ms).static SumoCommandEdge.getCO2Emission(String edgeID) Returns the CO2 emissions (in mg) on the given edge during the last time step.static SumoCommandLane.getCO2Emission(String laneID) Returns the CO2 emissions (in mg) on the given lane during the last time step.static SumoCommandVehicle.getCO2Emission(String vehID) Returns the CO2 emission in mg for the last time step.static SumoCommandEdge.getCOEmission(String edgeID) Returns the CO emissions (in mg) on the given edge during the last time step.static SumoCommandLane.getCOEmission(String laneID) Returns the CO emissions (in mg) on the given lane during the last time step.static SumoCommandVehicle.getCOEmission(String vehID) Returns the CO emission in mg for the last time step.static SumoCommandSimulation.getCollidingVehiclesIDList()getCollidingVehiclesNumber().static SumoCommandSimulation.getCollidingVehiclesNumber()getCollidingVehiclesNumber().static SumoCommandget lane position.static SumoCommandReturns the color of this poi.static SumoCommandReturns the color of this polygon.static SumoCommandReturns the vehicle's color (RGBA).static SumoCommandReturns the vehicle type's color.static SumoCommandTrafficlight.getCompleteRedYellowGreenDefinition(String tlsID) Returns the complete traffic light program.static SumoCommandTrafficlight.getControlledJunctions(String tlsID) Returns the junctions controlled by the traffic light.static SumoCommandTrafficlight.getControlledLanes(String tlsID) Returns the list of lanes which are controlled by the named traffic light.static SumoCommandTrafficlight.getControlledLinks(String tlsID) Returns the links controlled by the traffic light, sorted by the signal index and described by giving the incoming, outgoing, and via lane.static SumoCommandSimulation.getCurrentTime()getCurrentTime.static SumoCommandReturns the deceleration of the named vehicle within the last time step.static SumoCommandReturns the maximum deceleration of the names vehicle type.static SumoCommandSimulation.getDeltaT()getDeltaT.static SumoCommandSimulation.getDepartedIDList()Returns a list of IDs of vehicles which departed in this time step.static SumoCommandSimulation.getDepartedNumber()Returns the number of vehicles which departed in this time step.static SumoCommandLane.getDisallowed(String laneID) Returns a list of disallowed vehicle classes.static SumoCommandVehicle.getDistance(String vehID) Get the distance to the starting point acts as a odometer.static SumoCommandSimulation.getDistance2D(double x1, double y1, double x2, double y2, boolean isGeo, boolean isDriving) static SumoCommandSimulation.getDistanceRoad(String edgeID1, double pos1, String edgeID2, double pos2, boolean isDriving) static SumoCommandVehicle.getDrivingDistance(String vehID, String edgeID, double pos, byte laneID) Returns the driving distance (in m) of the named vehicle within the last tine step.static SumoCommandVehicle.getDrivingDistance2D(String vehID, double x, double y) getDrivingDistance2D.static SumoCommandReturns the ID of the edge this lane belongs to.static SumoCommandget edges.static SumoCommandget edges.static SumoCommandReturns the IDs of the edges this route covers.static SumoCommandReturns the effort value used for (re-)routing.static SumoCommandReturns the edge effort for the given time as stored in the vehicle's internal container.static SumoCommandEdge.getElectricityConsumption(String edgeID) Returns the electricity consumption in ml for the last time step.static SumoCommandLane.getElectricityConsumption(String laneID) Returns the electricity consumption in ml for the last time step.static SumoCommandVehicle.getElectricityConsumption(String vehID) Returns the electricity consumption in ml for the last time step.static SumoCommandVehicle.getEmergencyDecel(String vehID) Returns the maximal physically possible deceleration in m/s^2 of this vehicle.static SumoCommandVehicletype.getEmergencyDecel(String typeID) Returns the maximal physically possible deceleration in m/s^2 of vehicles of this type.static SumoCommandSimulation.getEmergencyStoppingVehiclesIDList()getEmergencyStoppingVehiclesIDList().static SumoCommandSimulation.getEmergencyStoppingVehiclesNumber()getEmergencyStoppingVehiclesNumber().static SumoCommandVehicle.getEmissionClass(String vehID) Returns the emission class of the named vehicle.static SumoCommandVehicletype.getEmissionClass(String typeID) Returns the emission class of the named vehicle type.static SumoCommandSimulation.getEndingTeleportIDList()Returns a list of IDs of vehicles which ended to be teleported in this time step.static SumoCommandSimulation.getEndingTeleportNumber()Returns the number of vehicles which ended to be teleported in this time step.static SumoCommandReturns the shape of this polygon.static SumoCommandReturns the ids of incoming lanes that have right of way over the connection from laneID to toLaneID.static SumoCommandEdge.getFuelConsumption(String edgeID) Returns the fuel consumption (in ml) on the given edge during the last time step.static SumoCommandLane.getFuelConsumption(String laneID) Returns the fuel consumption (in ml) on the given lane during the last time step.static SumoCommandVehicle.getFuelConsumption(String vehID) Returns the fuel consumption in ml for the last time step.static SumoCommandEdge.getHCEmission(String edgeID) Returns the HC emissions (in mg) on the given edge during the last time step.static SumoCommandLane.getHCEmission(String laneID) Returns the HC emissions (in mg) on the given lane during the last time step.static SumoCommandVehicle.getHCEmission(String vehID) Returns the HC emission (in mg) during the last time step.static SumoCommandReturns the height in m of this vehicle.static SumoCommandReturns the height in m of vehicles of this type.static SumoCommandEdge.getIDCount()Returns the number of edges in the network.static SumoCommandInductionloop.getIDCount()Returns the number of all induction loops in the network.static SumoCommandJunction.getIDCount()Returns the number of all junctions in the network.static SumoCommandLane.getIDCount()Returns the number of all lanes in the network.static SumoCommandLanearea.getIDCount()Returns the number of the areal detectors in the network.static SumoCommandMultientryexit.getIDCount()Returns the number of all multi-entry/multi-exit detectors in the network.static SumoCommandPerson.getIDCount()Returns the number of all persons in the network.static SumoCommandPoi.getIDCount()Returns the number of all Poi's in the network.static SumoCommandPolygon.getIDCount()Returns the number of all Polygons in the network.static SumoCommandRoute.getIDCount()Returns the number of all Routes in the network.static SumoCommandTrafficlight.getIDCount()Returns the number of all traffic lights in the network.static SumoCommandVehicle.getIDCount()Returns the number of all vehicles in the network.static SumoCommandVehicletype.getIDCount()Returns the number of all vehicle types in the network.static SumoCommandEdge.getIDList()Returns a list of all edges in the network.static SumoCommandGui.getIDList()Returns the list of available views (open windows).static SumoCommandInductionloop.getIDList()Returns a list of IDs of all induction loops within the scenario.static SumoCommandJunction.getIDList()Returns a list of IDs of all junctions within the scenario.static SumoCommandLane.getIDList()Returns a list of IDs of all lanes in the network.static SumoCommandLanearea.getIDList()Returns a list of all areal detectors in the network.static SumoCommandMultientryexit.getIDList()Returns a list of IDs of all multi-entry/multi-exit detectors within the scenario.static SumoCommandPerson.getIDList()Returns a list of personIDs of all persons.static SumoCommandPoi.getIDList()Returns a list of IDs of all poi.static SumoCommandPolygon.getIDList()Returns a list of IDs of all polygons.static SumoCommandRoute.getIDList()Returns a list of IDs of all currently loaded routes.static SumoCommandTrafficlight.getIDList()Returns a list of IDs of all traffic lights within the scenario.static SumoCommandVehicle.getIDList()Returns a list of ids of all vehicles currently running within the scenario.static SumoCommandVehicletype.getIDList()Returns a list of all known vehicle types.static SumoCommandVehicle.getImperfection(String vehID) getImperfection.static SumoCommandVehicletype.getImperfection(String typeID) getImperfection.static SumoCommandLane.getInternalFoes(String laneID) Returns the ids of internal lanes that are in conflict with the given internal lane id.static SumoCommandLanearea.getJamLengthMeters(String loopID) getJamLengthMetersstatic SumoCommandLanearea.getJamLengthVehicle(String loopID) getJamLengthVehiclestatic SumoCommandVehicle.getLaneChangeMode(String vehID) Gets the vehicle's lane change mode as a bitset.static SumoCommandVehicle.getLaneChangeState(String vehID, int direction) Returns the maximal physically possible deceleration in m/s^2 of this vehicle.static SumoCommandReturns the ID of the lane the loop is placed at.static SumoCommandgetLaneIDstatic SumoCommandReturns the id of the lane the named vehicle was at within the last step.static SumoCommandVehicle.getLaneIndex(String vehID) Returns the index of the lane the named vehicle was at within the last step.static SumoCommandEdge.getLaneNumber(String edgeID) Gets the lane number.static SumoCommandPerson.getLanePosition(String personID) get lane position.static SumoCommandVehicle.getLanePosition(String vehID) Returns the position of the vehicle along the lane (in m).static SumoCommandVehicle.getLastActionTime(String vehID) Returns the time of last action point for this vehicle.static SumoCommandEdge.getLastStepHaltingNumber(String edgeID) Returns the total number of halting vehicles on the given edge within the last time step.static SumoCommandLane.getLastStepHaltingNumber(String laneID) Returns the total number of halting vehicles on the given lane within the last time step.static SumoCommandLanearea.getLastStepHaltingNumber(String loopID) Returns the number of vehicles which were halting during the last time step.static SumoCommandMultientryexit.getLastStepHaltingNumber(String detID) Returns the number of vehicles which were halting during the last time step.static SumoCommandEdge.getLastStepLength(String edgeID) Returns the total vehicle length (in m) on the given edge within the last time step.static SumoCommandLane.getLastStepLength(String laneID) Returns the total vehicle length (in m) on the given lane during the last time step.static SumoCommandInductionloop.getLastStepMeanLength(String loopID) Returns the mean length of vehicles (in m) which were on the detector in the last step.static SumoCommandEdge.getLastStepMeanSpeed(String edgeID) Returns the mean speed of vehicles (in m/s) that were on the named induction loop within the last simulation step.static SumoCommandInductionloop.getLastStepMeanSpeed(String loopID) Returns the mean speed of vehicles (in m/s) that were on the named induction loop within the last simulation step.static SumoCommandLane.getLastStepMeanSpeed(String laneID) Returns the mean speed (in m/s) on the given lane within the last time step.static SumoCommandLanearea.getLastStepMeanSpeed(String loopID) getLastStepMeanSpeedstatic SumoCommandMultientryexit.getLastStepMeanSpeed(String detID) Returns the mean speed of vehicles (in m/s) that have been within the named multi-entry/multi-exit detector within the last simulation step.static SumoCommandEdge.getLastStepOccupancy(String edgeID) Returns the percentage of time (in %) the detector was occupied by a vehicle.static SumoCommandInductionloop.getLastStepOccupancy(String loopID) Returns the percentage of time (in %) the detector was occupied by a vehicle within the last time step.static SumoCommandLane.getLastStepOccupancy(String laneID) Returns the occupancy (in %) on the given lane during the last time step.static SumoCommandLanearea.getLastStepOccupancy(String loopID) getLastStepOccupancystatic SumoCommandEdge.getLastStepPersonIDs(String edgeID) Returns the ids of the persons on the given edge during the last time step.static SumoCommandEdge.getLastStepVehicleIDs(String edgeID) Returns the list of IDs of the vehicles on the given edge within the last simulation step.static SumoCommandInductionloop.getLastStepVehicleIDs(String loopID) Returns the list of IDs of vehicles that were on the named induction loop in the last simulation step.static SumoCommandLane.getLastStepVehicleIDs(String laneID) Returns the IDs of the vehicles on the given lane within the last time step.static SumoCommandLanearea.getLastStepVehicleIDs(String loopID) Returns the list of ids of vehicles that were on the named detector in the last simulation step.static SumoCommandMultientryexit.getLastStepVehicleIDs(String detID) Returns the list of IDs of vehicles that have been within the named multi-entry/multi-exit detector in the last simulation step.static SumoCommandEdge.getLastStepVehicleNumber(String edgeID) Returns the total number of vehicles on this edge within the last time step.static SumoCommandInductionloop.getLastStepVehicleNumber(String loopID) Returns the number of vehicles that were on the named induction loop within the last simulation step.static SumoCommandLane.getLastStepVehicleNumber(String laneID) Returns number of vehicles on this lane within the last time step.static SumoCommandLanearea.getLastStepVehicleNumber(String loopID) Returns the number of vehicles on the detectorstatic SumoCommandMultientryexit.getLastStepVehicleNumber(String detID) Returns the number of vehicles that have been within the named multi-entry/multi-exit detector within the last simulation step.static SumoCommandVehicle.getLateralAlignment(String vehID) Returns The preferred lateral alignment of the vehicle.static SumoCommandVehicletype.getLateralAlignment(String typeID) Returns The preferred lateral alignment of the type.static SumoCommandVehicle.getLateralLanePosition(String vehID) Returns The lateral position of the vehicle on its current lane measured in m.static SumoCommandReturn the leading vehicle id together with the distance.static SumoCommandReturns the length (in m) of the named lane.static SumoCommandgetlengthstatic SumoCommandget length.static SumoCommandReturns the length (in m) of the named vehicle.static SumoCommandReturns the length of the named vehicle type.static SumoCommandReturns the length (in m) of the named vehicle.static SumoCommandLane.getLinkNumber(String laneID) Returns the number of links outgoing from this lane.static SumoCommandReturns descriptions of the links (in m) outgoing from this lane.static SumoCommandSimulation.getLoadedIDList()Returns a list of IDs of vehicles which were loaded in this time step.static SumoCommandSimulation.getLoadedNumber()Return the number of vehicles which were loaded in this time step.static SumoCommandLane.getMaxSpeed(String laneID) Returns the maximum speed (in m/s) allowed on this lane.static SumoCommandVehicle.getMaxSpeed(String vehID) Returns the maximum speed(in m/s) of the named vehicle.static SumoCommandVehicletype.getMaxSpeed(String typeID) Return the maximum speed of the named vehicle type.static SumoCommandVehicle.getMaxSpeedLat(String vehID) Returns the maximum lateral speed in m/s of this vehicle.static SumoCommandVehicletype.getMaxSpeedLat(String typeID) Returns the maximum lateral speed in m/s of this type.static SumoCommandSimulation.getMinExpectedNumber()Returns the number of vehicles which are in the net plus the ones still waiting to start.static SumoCommandget minGap.static SumoCommandReturns the minimum gap (in m) between this vehicle and the vehicle before it.static SumoCommandReturns the minimum headway gap of the named vehicle type.static SumoCommandVehicle.getMinGapLat(String vehID) Returns The desired lateral gap of this vehicle at 50km/h in m.static SumoCommandVehicletype.getMinGapLat(String typeID) Returns The desired lateral gap of this type at 50km/h in m.static SumoCommandSimulation.getNetBoundary()Returns the boundary box of the simulation network.static SumoCommandPerson.getNextEdge(String personID) get next edge.static SumoCommandVehicle.getNextStops(String vehID) Return list of upcoming stops [(lane, endPos, stoppingPlaceID, stopFlags, duration, until), ...] where integer stopFlag is defined as: 1 * stopped + 2 * parking + 4 * personTriggered + 8 * containerTriggered + 16 * isBusStop + 32 * isContainerStop + 64 * chargingStation + 128 * parkingarea with each of these flags defined as 0 or 1.static SumoCommandTrafficlight.getNextSwitch(String tlsID) Returns the assumed time (in ms) at which the TLS changes the phase.static SumoCommandVehicle.getNextTLS(String vehID) Return list of upcoming traffic lights [(tlsID, tlsIndex, distance, state), ...]static SumoCommandEdge.getNoiseEmission(String edgeID) Returns the noise emissions (in db)on the given edge within the last time step.static SumoCommandLane.getNoiseEmission(String laneID) Returns the noise emissions (in db) on the given lane during the last time step.static SumoCommandVehicle.getNoiseEmission(String vehID) Returns the noise emission (in db) generated by the vehicle during the last time step.static SumoCommandEdge.getNOxEmission(String edgeID) Returns the NOx emissions (in mg) on the given edge during the last time step.static SumoCommandLane.getNOxEmission(String laneID) Returns the NOx emissions (in mg) on the given lane during the last time step.static SumoCommandVehicle.getNOxEmission(String vehID) Returns the NOx emissions (in mg) generated by the vehicle during the last time step.static SumoCommandReturns the x and y offset of the center of the current view.static SumoCommandEdge.getParameter(String edgeID, String param) Returns the chosen parameter.static SumoCommandInductionloop.getParameter(String loopID, String param) Returns the chosen parameter.static SumoCommandLane.getParameter(String laneID, String param) Returns the chosen parameter.static SumoCommandPerson.getParameter(String personID, String param) Returns the chosen parameter.static SumoCommandPoi.getParameter(String poiID, String param) Returns the chosen parameter.static SumoCommandPolygon.getParameter(String polygonID, String param) Returns the chosen parameter.static SumoCommandRoute.getParameter(String routeID, String param) Returns the chosen parameter.static SumoCommandTrafficlight.getParameter(String tlsID, String param) Returns the chosen parameter.static SumoCommandVehicle.getParameter(String vehID, String param) Returns the chosen parameter.static SumoCommandVehicletype.getParameter(String typeID, String param) Returns the chosen parameter.static SumoCommandSimulation.getParkingEndingVehiclesIDList()getParkingEndingVehiclesIDList().static SumoCommandSimulation.getParkingEndingVehiclesNumber()getParkingEndingVehiclesNumber().static SumoCommandSimulation.getParkingStartingVehiclesIDList()getParkingStartingVehiclesIDList().static SumoCommandSimulation.getParkingStartingVehiclesNumber()getParkingStartingVehiclesNumber().static SumoCommandVehicle.getPersonIDList(String vehID) Returns the list of persons which includes those defined using attribute 'personNumber' as well as person-objects which are riding in this vehicle.static SumoCommandPerson.getPersonNumber(String personID) get person number.static SumoCommandVehicle.getPersonNumber(String vehID) getPersonNumber.static SumoCommandReturns the index of the current phase in the current program.static SumoCommandTrafficlight.getPhaseDuration(String tlsID) getPhaseDuration.static SumoCommandTrafficlight.getPhaseName(String tlsID) Returns the name of the current phase in the current program.static SumoCommandEdge.getPMxEmission(String edgeID) Returns the particular matter emissions (in mg) on the given edge on this edge during the last time step.static SumoCommandLane.getPMxEmission(String laneID) Returns the particular matter emissions (in mg) on the given lane during the last time step.static SumoCommandVehicle.getPMxEmission(String vehID) Returns the particular matter emissions (in mg) generated by the vehicle during the last time step.static SumoCommandInductionloop.getPosition(String loopID) Returns the position (in m) of the induction loop at it's lane, counted from the lane's begin.static SumoCommandJunction.getPosition(String junctionID) Returns the position of the named junction.static SumoCommandLanearea.getPosition(String loopID) getPositionstatic SumoCommandPerson.getPosition(String personID) get position.static SumoCommandPoi.getPosition(String poiID) Returns the position of this poi.static SumoCommandVehicle.getPosition(String vehID) Returns the position of the named vehicle within the last step [m,m].static SumoCommandPerson.getPosition3D(String personID) get position3D.static SumoCommandVehicle.getPosition3D(String vehID) Returns the position of the named vehicle within the last step [m,m,m].static SumoCommandTrafficlight.getProgram(String tlsID) Returns the id of the current program.static SumoCommandTrafficlight.getRedYellowGreenState(String tlsID) Returns the named tl's state as a tuple of light definitions from rRgGyYoO, for red, green, yellow, off, where lower case letters mean that the stream has to decelerate.static SumoCommandPerson.getRemainingStages(String personID) get remaining stages.static SumoCommandget road ID.static SumoCommandReturns the id of the edge the named vehicle was at within the last step.static SumoCommandReturns the ids of the edges the vehicle's route is made of.static SumoCommandVehicle.getRouteID(String vehID) Returns the id of the route of the named vehicle.static SumoCommandVehicle.getRouteIndex(String vehID) Returns the index of the current edge within the vehicles route or -1 if the vehicle has not yet departed.static SumoCommandVehicle.getRoutingMode(String vehID) returns the current routing mode: tc.ROUTING_MODE_DEFAULT : use weight storages and fall-back to edge speeds (default) tc.ROUTING_MODE_AGGREGATED : use global smoothed travel times from device.reroutingstatic SumoCommandReturns the name of the current coloring scheme.static SumoCommandgetShapestatic SumoCommandReturns this lane's shape.static SumoCommandReturns the shape of this polygon.static SumoCommandVehicle.getShapeClass(String vehID) getShapeClass.static SumoCommandVehicletype.getShapeClass(String typeID) getShapeClass.static SumoCommandVehicle.getSignals(String vehID) getSignals.static SumoCommandgetSlope.static SumoCommandget speed.static SumoCommandReturns the speed (in m/s) of the named vehicle within the last step.static SumoCommandVehicle.getSpeedDeviation(String vehID) Returns the standard deviation of the estimated maximum speed (see speed factor) divided by this speed.static SumoCommandVehicletype.getSpeedDeviation(String typeID) Returns the speed deviation of the named vehicle type.static SumoCommandVehicle.getSpeedFactor(String vehID) Returns the factor by which the driver multiplies the speed read from street signs to estimate "real" maximum allowed speed.static SumoCommandVehicletype.getSpeedFactor(String typeID) Return the speed factor of the names vehicle type.static SumoCommandVehicle.getSpeedMode(String vehID) Returns the speed mode of a vehicle.static SumoCommandVehicle.getSpeedWithoutTraCI(String vehID) getSpeedWithoutTraCI.static SumoCommandget stage.static SumoCommandSimulation.getStartingTeleportIDList()Returns a list of IDs of vehicles which started to teleport in this time step.static SumoCommandSimulation.getStartingTeleportNumber()Returns the number of vehicles which started to teleport in this time step.static SumoCommandSimulation.getStopEndingVehiclesIDList()getStopEndingVehiclesIDList().static SumoCommandSimulation.getStopEndingVehiclesNumber()getStopEndingVehiclesNumber().static SumoCommandSimulation.getStopStartingVehiclesIDList()getStopStartingVehiclesIDList().static SumoCommandSimulation.getStopStartingVehiclesNumber()getStopStartingVehiclesIDList().static SumoCommandVehicle.getStopState(String vehID) Returns information in regard to stopping: The returned integer is defined as 1 * stopped + 2 * parking + 4 * personTriggered + 8 * containerTriggered + 16 * isBusStop + 32 * isContainerStop with each of these flags defined as 0 or 1.static SumoCommandgetTau.static SumoCommandgetTau.static SumoCommandSimulation.getTime()getTime.static SumoCommandInductionloop.getTimeSinceDetection(String loopID) Return the time (in s) since last detection.static SumoCommandEdge.getTraveltime(String edgeID) Returns the estimated travel time (in s) on the given edge on this edge within the last time step.static SumoCommandLane.getTraveltime(String laneID) Returns the estimated travel time (in s) on the given lane during the last time step.static SumoCommandReturns the type of the poi.static SumoCommandReturns the type of the polygon.static SumoCommandget type ID.static SumoCommandReturns the id of the type of the named vehicle.static SumoCommandPerson.getVehicle(String personID) get vehicle.static SumoCommandVehicle.getVehicleClass(String vehID) Returns the vehicle class.static SumoCommandVehicletype.getVehicleClass(String typeID) Returns the vehicle class of the names vehicle type.static SumoCommandInductionloop.getVehicleData(String loopID) A complex structure containing several information about vehicles which passed the detector.static SumoCommandReturns the ids of via edges for this vehicle.static SumoCommandEdge.getWaitingTime(String edgeID) Returns the waiting time (in s) on the given edge on this edge within the last time step.static SumoCommandLane.getWaitingTime(String laneID) getWaitingTime.static SumoCommandPerson.getWaitingTime(String personID) get waiting time.static SumoCommandVehicle.getWaitingTime(String vehID) The waiting time of a vehicle is defined as the time (in seconds) spent with a speed below 0.1m/s since the last time it was faster than 0.1m/s.static SumoCommandReturns the width (in m) of the named lane.static SumoCommandget width.static SumoCommandReturns the vehicle's width (in m).static SumoCommandReturns the width of the named vehicle type.static SumoCommandReturns the current zoom factor.static SumoCommandVehicle.isAtBusStop(String vehID) isAtBusStop.static SumoCommandVehicle.isAtContainerStop(String vehID) Return whether the vehicle is stopped at a container stop.static SumoCommandVehicle.isRouteValid(String vehID) Returns whether the Route is valid.static SumoCommandisStopped.static SumoCommandVehicle.isStoppedParking(String vehID) isStoppedParking.static SumoCommandVehicle.isStoppedTriggered(String vehID) Return whether the vehicle is stopped and waiting for a person or container.static SumoCommandMoves the vehicle to a new position.static SumoCommandPlace person at the given x,y coordinates and force it's angle to the given value (for drawing).static SumoCommandVehicle.moveToXY(String vehID, String edgeID, int lane, double x, double y, double angle, byte keepRoute) Place vehicle at the given x,y coordinates and force it's angle to the given value (for drawing).static SumoCommandRemove a poi.static SumoCommandRemove a polygon.static SumoCommandRemoves vehicle with the given ID for the given reason.static SumoCommandPerson.removeStage(String personID, int nextStageIndex) Removes the nth next stage nextStageIndex must be lower then value of getRemainingStages(personID) nextStageIndex 0 immediately aborts the current stage and proceeds to the next stage.static SumoCommandVehicle.rerouteEffort(String vehID) Computes a new route using the vehicle's internal and the global edge effort information.static SumoCommandVehicle.rerouteParkingArea(String vehID, String parkingAreaID) Changes the next parking area in parkingAreaID, updates the vehicle route, and preserve consistency in case of passengers/containers on board.static SumoCommandPerson.rerouteTraveltime(String personID) rerouteTraveltime Computes a new route for the person using the global edge traveltime information.static SumoCommandVehicle.rerouteTraveltime(String vehID) Computes a new route using the vehicle's internal and the global edge travel time information.static SumoCommandContinue after a stop.static SumoCommandsave state.static SumoCommandGui.screenshot(String viewID, String filename) Save a screenshot for the given view to the given filename.static SumoCommandSets the acceleration of the named vehicle.static SumoCommandSets the vehicle type's wished maximum acceleration to the given value.static SumoCommandVehicle.setActionStepLength(String vehID, double actionStepLength, boolean resetActionOffset) Sets the action step length for this vehicle.static SumoCommandVehicle.setAdaptedTraveltime(String vehID, double begTime, double endTime, String edgeID, double time) Sets the edge travel time of the named vehicle.static SumoCommandLane.setAllowed(String laneID, SumoStringList allowedClasses) Set a list of allowed vehicle classes.static SumoCommandVehicle.setApparentDecel(String vehID, double decel) Sets the apparent deceleration in m/s^2 for this vehicle.static SumoCommandVehicletype.setApparentDecel(String typeID, double decel) Sets the apparent deceleration in m/s^2 of vehicles of this type.static SumoCommandGui.setBoundary(String viewID, double xmin, double ymin, double xmax, double ymax) Set the current boundary for the given view (see getBoundary()).static SumoCommandVehicle.setBusStop(String vehID, String stopID, double duration, double until) Adds or modifies a bus stop with the given parameters.static SumoCommandVehicle.setChargingStationStop(String vehID, String stopID, double duration, double until) Adds or modifies a stop at a chargingStation with the given parameters.static SumoCommandsets color for person with the given ID.static SumoCommandSet the color of this poi.static SumoCommandSet the color of this polygon.static SumoCommandSets the vehicle's color (RGBA).static SumoCommandSets the vehicle type's color.static SumoCommandTrafficlight.setCompleteRedYellowGreenDefinition(String tlsID, SumoTLSProgram tls) Set the complete traffic light program.static SumoCommandVehicle.setContainerStop(String vehID, String stopID, double duration, double until) Adds or modifies a container stop with the given parameters.static SumoCommandSets the deceleration of the named vehicle.static SumoCommandSets the vehicle type's wished maximum deceleration to the given value.static SumoCommandLane.setDisallowed(String laneID, SumoStringList disallowedClasses) Set a list of disallowed vehicle classes.static SumoCommandAdapt the effort value used for (re-)routing on the given edge.static SumoCommandAdapt the effort value used for (re-)routing on the given edge.static SumoCommandSets the edge effort for the given time as stored in the vehicle's internal container.static SumoCommandVehicle.setEmergencyDecel(String vehID, double decel) Sets the maximal physically possible deceleration in m/s^2 for this vehicle.static SumoCommandVehicletype.setEmergencyDecel(String typeID, double decel) Sets the maximal physically possible deceleration in m/s^2 of vehicles of this type.static SumoCommandVehicle.setEmissionClass(String vehID, String clazz) Sets the emission class of the named vehicle.static SumoCommandVehicletype.setEmissionClass(String typeID, String clazz) Sets the vehicle type's emission class to the given value.static SumoCommandSet the color of this polygon.static SumoCommandSets the height in m for this person.static SumoCommandSets the height in m for this vehicle.static SumoCommandSets the height in m of vehicles of this type.static SumoCommandVehicle.setImperfection(String vehID, double imperfection) setImperfection.static SumoCommandVehicletype.setImperfection(String typeID, double imperfection) setImperfection.static SumoCommandVehicle.setLaneChangeMode(String vehID, int lcm) Sets the vehicle's lane change mode as a bitset.static SumoCommandVehicle.setLateralAlignment(String vehID, String align) Sets the preferred lateral alignment for this vehicle.static SumoCommandVehicletype.setLateralAlignment(String typeID, String latAlignment) Sets the preferred lateral alignment of this type.static SumoCommandSet the length (in m) of the named lane.static SumoCommandSets the length in m for the given person.static SumoCommandSets the length (in m) of the named vehicle.static SumoCommandSets the vehicle type's length to the given value.static SumoCommandSets the line information for this vehicle.static SumoCommandEdge.setMaxSpeed(String edgeID, double speed) Set a new maximum speed (in m/s) for all lanes of the edge.static SumoCommandLane.setMaxSpeed(String laneID, double speed) Set the maximum speed (in m/s) allowed on this lane.static SumoCommandVehicle.setMaxSpeed(String vehID, double speed) Sets the maximum speed (in m/s) of the named vehicle.static SumoCommandVehicletype.setMaxSpeed(String typeID, double speed) Sets the vehicle type's maximum speed to the given value.static SumoCommandVehicle.setMaxSpeedLat(String vehID, double speed) Sets the maximum lateral speed in m/s for this vehicle.static SumoCommandVehicletype.setMaxSpeedLat(String typeID, double speed) Sets the maximum lateral speed of this type.static SumoCommandSets the offset (gap to front person if halting) for this vehicle.static SumoCommandSets the minimum gap (in m) between this vehicle and the vehicle before it.static SumoCommandSets the vehicle type's minimum headway gap to the given value.static SumoCommandVehicle.setMinGapLat(String vehID, double minGapLat) Sets the minimum lateral gap of the vehicle at 50km/h in m.static SumoCommandVehicletype.setMinGapLat(String typeID, double minGapLat) setImperfection.static SumoCommandSet the current offset for the given view.static SumoCommandEdge.setParameter(String edgeID, String param, String value) Sets the chosen parameter.static SumoCommandLane.setParameter(String laneID, String param, String value) Sets the chosen parameter.static SumoCommandPerson.setParameter(String personID, String param, String value) Sets the chosen parameter.static SumoCommandPoi.setParameter(String poiID, String param, String value) Sets the chosen parameter.static SumoCommandPolygon.setParameter(String polygonID, String param, String value) Sets the chosen parameter.static SumoCommandRoute.setParameter(String routeID, String param, String value) Sets the chosen parameter.static SumoCommandTrafficlight.setParameter(String tlsID, String param, String value) Sets the chosen parameter.static SumoCommandVehicle.setParameter(String vehID, String param, String value) Sets the chosen parameter.static SumoCommandVehicletype.setParameter(String typeID, String param, String value) Sets the chosen parameter.static SumoCommandVehicle.setParkingAreaStop(String vehID, String stopID, double duration, double until) Adds or modifies a stop at a parkingArea with the given parameters.static SumoCommandSet the index of the current phase in the current program.static SumoCommandTrafficlight.setPhaseDuration(String tlsID, double phaseDuration) Set the duration of the currently active phase (in s?).static SumoCommandTrafficlight.setPhaseName(String tlsID, String name) Set the name of the current phase in the current program.static SumoCommandPoi.setPosition(String poiID, double x, double y) Set the position of this poi.static SumoCommandTrafficlight.setProgram(String tlsID, String programID) Set the id of the current program.static SumoCommandTrafficlight.setRedYellowGreenState(String tlsID, String state) Set the named tl's state as a tuple of light definitions.static SumoCommandVehicle.setRoute(String vehID, SumoStringList edgeList) Sets the IDs of the edges the vehicle's route is made of.static SumoCommandVehicle.setRouteID(String vehID, String routeID) Sets the id of the route of the named vehicle.static SumoCommandVehicle.setRoutingMode(String vehID, int routingMode) sets the current routing mode: tc.ROUTING_MODE_DEFAULT : use weight storages and fall-back to edge speeds (default) tc.ROUTING_MODE_AGGREGATED : use global smoothed travel times from device.reroutingstatic SumoCommandSet the current coloring scheme for the given view.static SumoCommandPolygon.setShape(String polygonID, SumoStringList shape) Set the shape of this polygon.static SumoCommandVehicle.setShapeClass(String vehID, String clazz) setShapeClass.static SumoCommandVehicletype.setShapeClass(String typeID, String clazz) setShapeClass.static SumoCommandVehicle.setSignals(String vehID, int signals) setSignals.static SumoCommandSets the maximum speed in m/s for the named person for subsequent step.static SumoCommandSets the speed (in m/s) of the named vehicle.static SumoCommandVehicle.setSpeedDeviation(String vehID, double deviation) Sets the standard deviation of the estimated maximum speed.static SumoCommandVehicletype.setSpeedDeviation(String typeID, double deviation) Sets the vehicle type's speed deviation to the given value.static SumoCommandVehicle.setSpeedFactor(String vehID, double factor) Sets the factor by which the driver multiplies the speed read from street signs to estimate "real" maximum allowed speed.static SumoCommandVehicletype.setSpeedFactor(String typeID, double factor) Sets the vehicle type's speed factor to the given value.static SumoCommandVehicle.setSpeedMode(String vehID, int sm) Sets the vehicle's speed mode as a bitset.static SumoCommandVehicle.setStop(String vehID, String edgeID, double pos, byte laneIndex, double duration, SumoStopFlags sf, double startPos, double until) Lets the vehicle stop at the given edge, at the given position and lane.static SumoCommandsetTau.static SumoCommandsetTau.static SumoCommandSets the id of the type for the named person.static SumoCommandSet the type of the poi.static SumoCommandSet the type of the polygon.static SumoCommandSets the id of the type for the named vehicle.static SumoCommandVehicle.setVehicleClass(String vehID, String clazz) Sets the vehicle class.static SumoCommandVehicletype.setVehicleClass(String typeID, String clazz) Sets the vehicle type's vehicle class to the given value.static SumoCommandVehicle.setVia(String vehID, SumoStringList edgeList) Sets the line information for this vehicle.static SumoCommandSets the width in m for this person.static SumoCommandSets the vehicle's width (in m).static SumoCommandSets the vehicle type's width to the given value.static SumoCommandDuplicates the vType with ID origTypeID.static SumoCommandSet the current zoom factor for the given view.static SumoCommandReduces the speed to the given for the given amount of time.static SumoCommandGui.trackVehicle(String viewID, String vehID) Start visually tracking the given vehicle on the given view.static SumoCommandVehicle.updateBestLanes(String vehID) Inserts the information about the travel time of edge "edgeID" valid from begin time to end time into the vehicle's internal edge weights container.
- 
Uses of SumoCommand in de.tudresden.sumo.utilMethods in de.tudresden.sumo.util with parameters of type SumoCommandModifier and TypeMethodDescriptionCommandProcessor.do_job_get(SumoCommand sc) voidCommandProcessor.do_job_set(SumoCommand sc) 
- 
Uses of SumoCommand in it.polito.appeal.traciMethods in it.polito.appeal.traci with parameters of type SumoCommandModifier and TypeMethodDescriptionSumoTraciConnection.do_job_get(SumoCommand cmd) Do job get.voidSumoTraciConnection.do_job_set(SumoCommand cmd) Do job set.