#183 Intersection lanes for right turns cause abrupt about-face


Hi. Thanks for making such a great package, have been using it for almost 2 years and have been impressed.

I am using V0.11.1. I just started using the intersection lanes, and have found what seems to be an oddity. I am attaching a .zip file containing a small scenario that illustrates the problem. It seems that a vehicle making a right turn can end up going into the intersection then doubling back on itself to make the turn. This happens in the two intersections in the example. If I remove one node and it's edges from the network, the turns are created correctly in both cases.

In the attachment are two sets of nodes and edges XML files (good and bad), and some .png files showing the paths made by sumo-netconvert. I am under somewhat of a time crunch, and would be willing to help debug/recode this to work properly. If you don't have time to look into this in the near term, could point me to the .cpp files involved in making the intersection lanes? Thanks for any help.

Also, I was wondering if there was any way to run the sumo simulator at less than a 1 second granularity. I thought about putting numbers into my trip file for vehicles that are based on 1/20 second (my goal), but realize that there are probably vehicle dynamics checks (speed during cornering, etc) that this will violate. I thought I saw a request for this on your website, but unfortunately I could not read the language. Would you please let me know if this is possible, and if not, thoughts on where the code would need to be changed to make this available. I thought that I might be able to take the approach of simulating at the 1sec rate then interpolating the positions, but this requires knowing all the lanes involved in the path, including internal ones. I know this is possible, but thought the better approach would be to upgrade the simulator.

Anything you can provide to help would be appreciated. I would be happy to send in any code changes I make for your review and possible inclusion in your code base.

Again, thanks for creating and making available such a fine product!

Joe Garbarino


  • Joseph Garbarino

    Examples of good and bad intersection paths

  • Junghans

    Junghans - 2010-05-07
    • status: open --> closed

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks