eclipse-sumo / sumo

Eclipse SUMO is an open source, highly portable, microscopic and continuous traffic simulation package designed to handle large networks. It allows for intermodal simulation including pedestrians and comes with a large set of tools for scenario creation.
https://eclipse.dev/sumo
Eclipse Public License 2.0
2.58k stars 1.44k forks source link

option --check-lane-foes.all does not propperly affect internal junctions (trac #2614) #2614

Open behrisch opened 8 years ago

behrisch commented 8 years ago

vehicles that turn left via an internal junction still yield for right-turning vehicles that target different lanes. This leads to problems in right-turn-on-red scenarios if the right turning vehicles are allowed during the lef-turn phase.

The reason is that in NBEdge::buildInnerEdges, the vector tmpFoeIncomingLanes is filled using forbids() without regard to lane-foes

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

{
    "status": "new", 
    "changetime": "2016-10-26T07:51:25Z", 
    "description": "vehicles that turn left via an internal junction still yield for right-turning vehicles that target different lanes. This leads to problems in right-turn-on-red scenarios if the right turning vehicles are allowed during the lef-turn phase.\n\nThe reason is that in NBEdge::buildInnerEdges, the vector tmpFoeIncomingLanes is filled using forbids() without regard to lane-foes", 
    "reporter": "namdre", 
    "cc": "", 
    "resolution": "", 
    "_ts": "1477468285389170", 
    "component": "net building (NETGEN, NETCONVERT)", 
    "summary": "option --check-lane-foes.all does not propperly affect internal junctions", 
    "priority": "major", 
    "keywords": "", 
    "time": "2016-10-26T07:41:28Z", 
    "milestone": "1.0.0", 
    "owner": "", 
    "type": "defect"
}
behrisch commented 8 years ago

@namdre changed description from:

vehicles that turn left via an internal junction still yield for right-turning vehicles that target different lanes. The is that in NBEdge::buildInnerEdges, the vector tmpFoeIncomingLanes is filled using forbids() without regard to lane-foes

to:

vehicles that turn left via an internal junction still yield for right-turning vehicles that target different lanes. This leads to problems in right-turn-on-red scenarios if the right turning vehicles are allowed during the lef-turn phase. The is that in NBEdge::buildInnerEdges, the vector tmpFoeIncomingLanes is filled using forbids() without regard to lane-foes

behrisch commented 8 years ago

@namdre changed description from:

vehicles that turn left via an internal junction still yield for right-turning vehicles that target different lanes. This leads to problems in right-turn-on-red scenarios if the right turning vehicles are allowed during the lef-turn phase. The is that in NBEdge::buildInnerEdges, the vector tmpFoeIncomingLanes is filled using forbids() without regard to lane-foes

to:

vehicles that turn left via an internal junction still yield for right-turning vehicles that target different lanes. This leads to problems in right-turn-on-red scenarios if the right turning vehicles are allowed during the lef-turn phase.

The reason is that in NBEdge::buildInnerEdges, the vector tmpFoeIncomingLanes is filled using forbids() without regard to lane-foes