Hello Jakob, Sorry but this fix (even after updating my SUMO to make sure it is the same as the main branch) - seems to not fix it in my case since I am using the SL2015 lane changing model? When my ghost vehicle length is set to 500m on one of the lanes part of a 1000m road with 2 lanes.
The fix on https://github.com/eclipse/sumo/commit/e4aa10516f63ddaa1d878cae6ec95ca5660a1150 seems to be only for the LC2013 model Thank you. Sincerely, Hriday On Fri, 28 Jan 2022 at 10:58, Jakob Erdmann <[email protected]> wrote: > Thank you for the report, > As you have guessed the problem is related to the length of the vehicle in > relation to the length of the lane. > In short, there was a bug with regard to overtaking long stopped vehicles > that has now been fixed. > (https://github.com/eclipse/sumo/issues/10060) > You can obtain an updated version of sumo starting tomorrow at > https://sumo.dlr.de/docs/Downloads.php#sumo_-_latest_development_version > > regards, > Jakob > > Am Do., 27. Jan. 2022 um 11:19 Uhr schrieb Hriday Sanghvi via sumo-user < > [email protected]>: > >> Hello, >> >> I am using a ghost vehicle to block a part of a lane by setting a custom >> length. However, at a certain set custom length, there is some weird >> behaviour by vehicles in the only other lane where they keep starting and >> stopping in a jerk-like motion. Not sure what exactly is causing this. I >> have *attached a video* to explain the problem. Pasting the relevant >> files here: >> >> *nodes.xml* >> >> <nodes> >>> <node id="1" x="-500.0" y="0.0" type="priority"/> >>> <node id="2" x="+500.0" y="0.0" type="priority"/> >>> </nodes> >> >> >> *edges.xml* >> >> <edges> >>> <edge id="1f2" from="1" to="2" numLanes="2" /> >>> </edges> >>> >> >> *routes.rou.xml* >> >> <routes> >>> <vType id="veh" length="5" /> >>> <route id="r0" color="1,1,0" edges="1f2" /> >>> <flow id="f" color="0,1,0" begin="0" end="300" vehsPerHour="10000" >>> type="veh" route="r0" departLane="random" departSpeed="random" >>> arrivalLane="random" /> >>> </routes> >>> >> >> *run.py (Python TraCI code):* >> >> step = 0 >>> GHOST_POS = 750.0 >>> END = 300.0 >>> >>> traci.vehicle.add(vehID='ghost', routeID='r0', typeID='veh', depart=0, >>> departLane=0, departPos=GHOST_POS, departSpeed='random', >>> arrivalLane='current', arrivalPos=GHOST_POS) >>> traci.vehicle.setColor(vehID='ghost',color=(255,0,0)) >>> traci.vehicle.setLength(vehID='ghost',length=500) # 300m length has no >>> issues >>> >>> traci.vehicle.setStop(vehID='ghost', edgeID='1f2', pos=GHOST_POS, >>> duration=10, until=END) >>> >>> while step < END: >>> traci.simulationStep() >>> >>> step+=1 >>> traci.close() >>> >> >> The same simulation for a ghost vehicle of length 300 (m) poses no issues >> and the vehicles move forward as expected. Is this something to do with the >> total length of the edge/lane compared to that of the ghost vehicle? >> >> Any clue/idea as to what may be causing this will really be appreciated! >> >> 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
