Home
last modified time | relevance | path

Searched refs:latDist (Results 1 – 16 of 16) sorted by relevance

/dports/cad/sumo/sumo-1.2.0/src/microsim/lcmodels/
H A DMSLCM_SL2015.cpp219 latDist = SPEED2DIST(computeSpeedLat(latDist, maneuverDist)); in wantsChangeSublane()
1777 latDist = 0;
2045 latDist = MAX2(MIN2(latDist, maxDist), -maxDist);
2077 if (latDist < 0) {
2081 latDist = MAX2(latDist, -mySafeLatDistRight);
2087 latDist = MIN2(latDist, mySafeLatDistLeft);
2428 return sd1.latDist <= sd2.latDist ? sd1 : sd2;
2632 latDist = 0;
2798 latDist = MAX2(MIN2(latDist, surplusGapLeft), -surplusGapRight);
2863 latDist = 0;
[all …]
H A DMSLCM_SL2015.h73 double& latDist, double& maneuverDist, int& blocked);
134 double computeSpeedLat(double latDist, double& maneuverDist);
152 double& latDist, double& maneuverDist, int& blocked);
248 … int checkBlocking(const MSLane& neighLane, double& latDist, double& maneuverDist, int laneOffset,
263 … double latDist, double foeOffset, bool leaders, LaneChangeAction blockType,
271 static LaneChangeAction getLCA(int state, double latDist);
288 double& latDist
302 double& latDist,
310 double latDist = 0,
335 …double commitFollowSpeed(double speed, double latDist, double secondsToLeaveLane, const MSLeaderDi…
H A DMSAbstractLaneChangeModel.h115 double latDist; member
123 latDist(_latDist), in StateAndDist()
128 return latDist * other.latDist > 0; in sameDirection()
312 double& latDist, double& targetDistLat, int& blocked) { in wantsChangeSublane() argument
325 UNUSED_PARAMETER(latDist); in wantsChangeSublane()
544 virtual bool sublaneChangeCompleted(const double latDist) const { in sublaneChangeCompleted() argument
545 UNUSED_PARAMETER(latDist); in sublaneChangeCompleted()
572 virtual double computeSpeedLat(double latDist, double& maneuverDist);
H A DMSLCM_LC2013.h117 double computeSpeedLat(double latDist, double& maneuverDist);
H A DMSLCM_LC2013.cpp2108 MSLCM_LC2013::computeSpeedLat(double latDist, double& maneuverDist) { in computeSpeedLat() argument
2115 … MSAbstractLaneChangeModel::computeSpeedLat(latDist, maneuverDist))); in computeSpeedLat()
/dports/cad/sumo/sumo-1.2.0/src/microsim/
H A DMSLaneChangerSublane.cpp195 return startChangeSublane(vehicle, myCandi, decision.latDist); in change()
266 MSLaneChangerSublane::startChangeSublane(MSVehicle* vehicle, ChangerIt& from, double latDist) {
275 …const int direction = (latDist >= -distToRightLaneBorder && latDist <= distToLeftLaneBorder) ? 0 :…
298 vehicle->myState.myPosLat += latDist;
300 vehicle->getLaneChangeModel().setSpeedLat(DIST2SPEED(latDist));
305 << " increments lateral position by latDist=" << latDist << std::endl;
315 const bool completedManeuver = vehicle->getLaneChangeModel().getManeuverDist() - latDist == 0.;
316 vehicle->getLaneChangeModel().updateSafeLatDist(latDist);
362 if (fabs(latDist) > NUMERICAL_EPS) {
372 << " latDist=" << latDist
[all …]
H A DMSLaneChangerSublane.h75 double& latDist,
83 bool startChangeSublane(MSVehicle* vehicle, ChangerIt& from, double latDist);
H A DMSVehicle.h1465 void setSublaneChange(double latDist);
H A DMSVehicle.cpp420 MSVehicle::Influencer::setSublaneChange(double latDist) { in setSublaneChange() argument
421 myLatDist = latDist; in setSublaneChange()
/dports/cad/sumo/sumo-1.2.0/src/libsumo/
H A DVehicle.h155 static void changeSublane(const std::string& vehicleID, double latDist);
H A DVehicle.cpp1009 Vehicle::changeSublane(const std::string& vehicleID, double latDist) {
1010 getVehicle(vehicleID)->getInfluencer().setSublaneChange(latDist);
/dports/cad/sumo/sumo-1.2.0/src/traci-server/
H A DTraCIServerAPI_Vehicle.cpp461 double latDist = 0; in processSet() local
462 if (!server.readTypeCheckingDouble(inputStorage, latDist)) { in processSet()
465 libsumo::Vehicle::changeSublane(id, latDist); in processSet()
/dports/cad/sumo/sumo-1.2.0/tools/contributed/traas/src/de/tudresden/sumo/cmd/
H A DVehicle.java946 public static SumoCommand changeSublane(String vehID, double latDist){ in changeSublane() argument
947 …n new SumoCommand(Constants.CMD_SET_VEHICLE_VARIABLE, Constants.CMD_CHANGESUBLANE, vehID, latDist); in changeSublane()
/dports/cad/sumo/sumo-1.2.0/tools/traci/
H A D_vehicle.py1014 def changeSublane(self, vehID, latDist): argument
1021 tc.CMD_SET_VEHICLE_VARIABLE, tc.CMD_CHANGESUBLANE, vehID, latDist)
/dports/cad/sumo/sumo-1.2.0/src/utils/traci/
H A DTraCIAPI.h772 void changeSublane(const std::string& vehicleID, double latDist) const;
H A DTraCIAPI.cpp2784 TraCIAPI::VehicleScope::changeSublane(const std::string& vehicleID, double latDist) const { in changeSublane()
2787 content.writeDouble(latDist); in changeSublane()