Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overlapping internal lanes when using 'endOffset' to move the stop line position (trac #970) #970

Closed
behrisch opened this issue Jul 24, 2013 · 7 comments

Comments

@behrisch
Copy link
Contributor

commented Jul 24, 2013

Hello,
I am student at TUM working on my master thesis. I am simulating intersection traffic with different positions of the stop lines. For that purpose I use the attrbiute 'endOffset' to move the end of the lane backward/forward. I have notices that the internal lanes that connect North entrance to West, South and East are overlapping in the area from the stop line to the intersection and therefore, the vehicles driving on these internal lanes (:C_11, :C_10) are not aware of each other and they drive over each other. This happens especially because I modeled vehicle stop for couple of seconds when in turns right (North to West). The stop is made at position 0 on the lane that connects the central intersection and West. Please check the attached screenshot
[[Image()]]

Migrated from http://sumo.dlr.de/ticket/970

{
    "status": "closed", 
    "changetime": "2015-02-02T12:23:59Z", 
    "description": "Hello,\nI am student at TUM working on my master thesis. I am simulating intersection traffic with different positions of the stop lines. For that purpose I use the attrbiute 'endOffset' to move the end of the lane backward/forward. I have notices that the internal lanes that connect North entrance to West, South and East are overlapping in the area from the stop line to the intersection and therefore, the vehicles driving on these internal lanes (:C_11, :C_10) are not aware of each other and they drive over each other. This happens especially because I modeled vehicle stop for couple of seconds when in turns right (North to West). The stop is made at position 0 on the lane that connects the central intersection and West. Please check the attached screenshot\n[[Image()]] ", 
    "reporter": "atanasko", 
    "cc": "", 
    "resolution": "fixed", 
    "_ts": "1422879839126971", 
    "component": "simulation general (micro)", 
    "summary": "Overlapping internal lanes when using 'endOffset' to move the stop line position", 
    "priority": "minor", 
    "keywords": "Internal lanes, endOffset", 
    "time": "2013-07-24T10:11:54Z", 
    "milestone": "1.0.0", 
    "owner": "namdre", 
    "type": "defect"
}
@behrisch

This comment has been minimized.

Copy link
Contributor Author

commented Jul 24, 2013

@atanasko changed attachment from "" to "internal lanes and endOffset bug.jpg"

@behrisch

This comment has been minimized.

Copy link
Contributor Author

commented Jul 24, 2013

the problem cannot be avoid using the current
methodology. Avoidance of visual collisions on internal lanes from the
same edge happens only as long as one of the vehicles is still
partially on the original edge. Since in this case the internal lanes
share a long overlapping path this does not work.

Some overlap is possible even for endOffset=0 but this is a minor issue and by itself does not warrant modifications. However, the combination of large endoffset and stopping vehicles presents quite a deviation from the expected behavior so this issue should be looked at eventually.

  • @namdre changed milestone from "0.18.0" to "1.0.0"
  • @namdre changed priority from "major" to "minor"
@behrisch

This comment has been minimized.

Copy link
Contributor Author

commented Jul 24, 2013

@namdre commented:

This can be fixed by declaring these overlapping lanes as foes and computing the 'crossing point' as for other internalLaneFoes. Here the crossing point is the point after which these lanes diverge so much as to be no longer conflicting.
The difference to regular lane foes is, that vehicles may no longer drive up to the crossing point if there is a foe.

@behrisch

This comment has been minimized.

Copy link
Contributor Author

commented Jul 24, 2013

  • @namdre changed owner from "" to "namdre"
  • @namdre changed status from "new" to "accepted"
@behrisch

This comment has been minimized.

Copy link
Contributor Author

commented Jul 24, 2013

@namdre committed 69c9bad (aka r17769):
added failing test refs #970

@behrisch

This comment has been minimized.

Copy link
Contributor Author

commented Jul 24, 2013

@behrisch

This comment has been minimized.

Copy link
Contributor Author

commented Jul 24, 2013

@namdre committed 0f38387 (aka r17771):
refactoring for efficiency. only add sameSource foes if there is actually some overlap refs #970

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.