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

core: pathfinding: tracks/waypoints aren't included when they are at the edge of the last track #6068

Closed
eckter opened this issue Dec 7, 2023 · 0 comments · Fixed by #6071
Assignees
Labels
area:core Work on Core Service kind:bug Something isn't working severity:major Major severity bug

Comments

@eckter
Copy link
Contributor

eckter commented Dec 7, 2023

What happened?

When running a pathfinding with the end waypoint at offset=0, the last track isn't included in the result. The last waypoint is placed on the previous track and isn't identified as the operational point.

What did you expect to happen?

The track path should include a 0-length track range covering exactly the waypoint. The operational point placed there should be identified.

How can we reproduce it (as minimally and precisely as possible)?

Find an operational point with an offset=0 and use it as last waypoint for a path

What operating system, browser and environment are you using?

  • Env: Local

OSRD version (top right corner Account button > Informations)

fb39845

@eckter eckter added the kind:bug Something isn't working label Dec 7, 2023
@eckter eckter self-assigned this Dec 7, 2023
@eckter eckter added severity:major Major severity bug area:core Work on Core Service labels Dec 7, 2023
@eckter eckter changed the title core: pathfinding: tracks/waypoints aren't included when they are at the end of the path core: pathfinding: tracks/waypoints aren't included when they are at the edge of the last track Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:core Work on Core Service kind:bug Something isn't working severity:major Major severity bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant