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

traci.simulation.convert2D issues #5780

sapirbm opened this issue Jun 30, 2019 · 2 comments


Copy link

commented Jun 30, 2019

i have a couple of issues with convert2D.

  1. at the very end of edges, sometimes the last 0.2meter is converted to the same x,y coordinates. (i am working with high demand for position precision), the net have been converted from opendrive using "--opposites.guess.fix-lengths true" together with a lot of other flags, could that be in charge of the mismatch?

in the image you can see the lane position (left value) and the same x,y output (mid & right values)

  1. when i try to convert between road and x.y conventions, there is a mismatch between the results of convert2D(edge, lane_pos, lane_index) and vehicle.getPosition(). mostly in favor of getPosition.

thanks a lot,


This comment has been minimized.

Copy link

commented Jun 30, 2019

Can you share your network?


This comment has been minimized.

Copy link

commented Jul 2, 2019

my example above was received at the end of edge 22.0.00_1 before a left turn

netconvert from opendrive with flags:
--output.original-names true
--opendrive.advance-stopline 0
--default.junctions.radius 0
--junctions.small-radius 0
--opendrive.internal-shapes true
--junctions.limit-turn-speed 0
--default.speed 50.0
--opposites.guess true
--opposites.guess.fix-lengths true
--precision 8
--no-warnings true

@behrisch behrisch self-assigned this Jul 2, 2019
@behrisch behrisch closed this in 4421c28 Jul 2, 2019
namdre added a commit that referenced this issue Jul 3, 2019
namdre added a commit that referenced this issue Jul 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.