Skip to content

Conversation

@Emilv2
Copy link
Contributor

@Emilv2 Emilv2 commented Mar 21, 2025

I noticed lap times and distances changed quite a bit when simplifying the path, this PR tries to change that.

It looks like the code already simplifies by segment, I tried to make it so that every lap is a segment. I quickly tested it and it seems to work, but it's possible I overlooked some things.

Keep the first and last location of a lap so lap times and distances
are preserved when the path is simplified.
@Emilv2
Copy link
Contributor Author

Emilv2 commented May 31, 2025

No comments?

@gerhardol
Copy link
Collaborator

I do not use the simplifier myself, have not considered the implications.
The PR was in draft, so I was kind of waiting for it to be updated. Can you rebase after the code was reformatted?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants