Hello Jakob, Without any TraCI intervention, vehicles seem to stay in the center of their lane.
But with TraCI intervention, even setting the lane change mode to default (1621), the problem seems to be the changeLaneRelative ( https://sumo.dlr.de/pydoc/traci._vehicle.html#VehicleDomain-changeLaneRelative) command combined with* <lateral-resolution value="3.2" /> *in the SUMO config file. The width of the vehicle is the default 1.8 m. I have set the lateral resolution to 3.2 since the default lane width is 3.2 m, and I want it to consider the entire width of the lane as 1 sublane and not create divisions within the lane. At least, that's what I thought would make sure the vehicles stay in the center of their lanes. But that does not seem to be happening. I also tried setting the vehicle width to 3.2 m, but that also changed the time it took to complete the simulation and I don't understand why (clearly changing the width of the vehicle implied something else and the behaviour of lane-changing also changed). So maybe that has something to do with minGapLat being 0.6? I am unsure of what's going on. Please advise. Thank you. Sincerely, Hriday On Thu, 28 Apr 2022 at 10:23, Jakob Erdmann <[email protected]> wrote: > moving within a lane is the 'sublane' motivation. The problem should > disappear with laneChangeMode to 1537 > > Am Do., 28. Apr. 2022 um 10:57 Uhr schrieb Hriday Sanghvi via sumo-user < > [email protected]>: > >> Hello, >> >> By some chance, there are certain vehicles that seem to stick to a side >> of the lane when using the sublane model (SL2015). In that case, they >> cannot get past the blockage on the other lane because they are too close >> to it. They also cannot perform a "lane change" to get away from the >> blocked lane because they are already on the unblocked lane (but on the far >> left edge of it closest to the blockage; please see attached screenshot). >> >> The lane change mode is set to 513 (which means apart from collision >> avoidance and safety-gap enforcement, SUMO only controls strategic lane >> changes - which I assume happen at the end of the route during arrival >> time?) >> >> The relevant parameters I've identified that control this lateral >> alignment >> >> departPosLat, default: "center" >> arrivalPosLat, no default (not set) >> latAlignment, default "center" >> minGapLat, default: 0.6 >> lcSublane, default: 1.0 >> lcPushy, default: 0 >> lcPushyGap, default: minGapLat >> lcLaneDiscipline, default: 0 >> >> What combination of set parameters would ensure that the vehicle will >> always treat a lane change such that it maintains a central position at all >> times? >> >> Thank you. >> >> Sincerely, >> Hriday >> _______________________________________________ >> sumo-user mailing list >> [email protected] >> To unsubscribe from this list, visit >> https://www.eclipse.org/mailman/listinfo/sumo-user >> > _______________________________________________ > sumo-user mailing list > [email protected] > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user >
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
