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

improve node shape computer (trac #2551) #2551

Closed
behrisch opened this issue Sep 13, 2016 · 3 comments
Closed

improve node shape computer (trac #2551) #2551

behrisch opened this issue Sep 13, 2016 · 3 comments

Comments

@behrisch
Copy link
Contributor

as suggest by Yifeng Zeng, commenting out the below lines in NBNodeShapeComputer makes many junctions prettier (by making them longer)

 SUMOReal mmin = MIN2(distances[*cwi], distances[*ccwi]);
 if (mmin > 100) {
     distances[*i] = (SUMOReal) 5. + (SUMOReal) 100. - (SUMOReal)(mmin - 100); //100 + 1.5;
 }

One counterexample is in tests/netconvert/node_building/node_shape/2way_with_smoothly_merging_lane (where the junction shape breaks)

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

{
    "status": "closed", 
    "changetime": "2017-04-25T07:15:49Z", 
    "description": "as suggest by Yifeng Zeng, commenting out the below lines in NBNodeShapeComputer makes many junctions prettier (by making them longer)\n\n     SUMOReal mmin = MIN2(distances[*cwi], distances[*ccwi]);\n     if (mmin > 100) {\n         distances[*i] = (SUMOReal) 5. + (SUMOReal) 100. - (SUMOReal)(mmin - 100); //100 + 1.5;\n     }\n\nOne counterexample is in tests/netconvert/node_building/node_shape/2way_with_smoothly_merging_lane (where the junction shape breaks)", 
    "reporter": "namdre", 
    "cc": "", 
    "resolution": "fixed", 
    "_ts": "1493104549669397", 
    "component": "net building (NETGEN, NETCONVERT)", 
    "summary": "improve node shape computer", 
    "priority": "minor", 
    "keywords": "", 
    "time": "2016-09-13T11:01:20Z", 
    "milestone": "0.30.0", 
    "owner": "namdre", 
    "type": "defect"
}
@behrisch
Copy link
Contributor Author

  • @behrisch changed milestone from "0.28.0" to "0.29.0"
  • @behrisch changed owner from "" to "namdre"
  • @behrisch changed status from "new" to "assigned"

@behrisch
Copy link
Contributor Author

@behrisch
Copy link
Contributor Author

@behrisch changed milestone from "1.0.0" to "0.30.0"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants