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

Calculation of s-t coordinates using t-axis definition #645

Open
weissdavid opened this issue Jun 28, 2022 · 1 comment
Open

Calculation of s-t coordinates using t-axis definition #645

weissdavid opened this issue Jun 28, 2022 · 1 comment
Labels
Harmonisation The Group in the ASAM development project working on harmonisation with other standards.
Milestone

Comments

@weissdavid
Copy link
Contributor

Describe the feature

The current definition of s-t coordinates relative to a reference line has two issues on the corners (multiple points with same coordinates on the outside, discontinuity on the inside). I would like to suggest a modification of the calculation that solves this problems and gives s-t coordinates that are closer to OpenDRIVE.

Describe the solution you would like

For each ReferenceLinePoint a new field defining the t-axis (i.e. all points with the same s coordinate) is introduced. Points outside the reference line or then projected onto the reference line not orthogonally (as in the current definition) but by drawing the straight line of the point to the intersection of the t-axes of the appropriate section (see sketch). s and t coordinate are then calculated as in the current definition (s is the s coordinate of the projection point, t is the euclidean distance to the projection point).
ReferenceLineSuggestion

Describe the backwards compatibility

If the t-axis is not defined, one could instead use the angle bisector for the same calculation.

Additional context

For a possible implementation of this calculation see
Proposal calculation s t.docx

@jdsika jdsika added the Harmonisation The Group in the ASAM development project working on harmonisation with other standards. label Oct 12, 2022
@jdsika jdsika added this to the V4.0.0 milestone Oct 12, 2022
@ReinhardBiegelIntech
Copy link
Contributor

Looks like this is already addressed in v3.6.0 via #651?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Harmonisation The Group in the ASAM development project working on harmonisation with other standards.
Projects
None yet
Development

No branches or pull requests

3 participants