Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Vehicle stops before lane change though the lane is free

I'd first try with some debug output for forward movement:
https://github.com/eclipse/sumo/blob/1267528511f2cfa3224884c2ec08fb5b5ef9cdbd/src/microsim/MSVehicle.cpp#L92-L95
Then select the vehicle in sumo-gui and check the resulting console output (send it to sumo-dev or attach it to a ticket if it's too obscure).
Note, that the release build on windows does not write to stdout so you either have to do this on linux or use the debug build.

My guess is that the behavior somehow results from lane-changing so you may want to switch on that output as well:
https://github.com/eclipse/sumo/blob/1267528511f2cfa3224884c2ec08fb5b5ef9cdbd/src/microsim/lcmodels/MSLCM_LC2013.cpp#L84-L91

Am Fr., 27. Dez. 2019 um 18:36 Uhr schrieb Mirko Barthauer <m.barthauer@xxxxxxxxxxx>:

Hi there,

have a look at the screenshot below to see what happened:

The leading yellow vehicle wants to change to go one lane to the left, but instead it stops inside an intersection and creates a big queue behind. The yellowish lane shows the edges of its route. This error is very difficult to isolate (lots of custom things in my simulation) and does happen only seldomly (at one position, for a specific seed). What I already tried:

  • record my traffic light downstream (controlled externally) and reset it to the recorded signal program >> the yellow vehicle does not stop
  • record the simulation state short before the position shown in the screenshot and load it back >> the yellow vehicle does not stop

Maybe somebody (Jakob?) has an idea either what else can be done to either get a working example or where to look: lane change parameters, lane change model (state) debugging...

Best regards
Mirko



_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top