-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Alternative implementation of loop transitions (#11)
* refactor: move repeated code to function * Alternative implementation of loop transitions Instead of finding a transition in the recorded polygon's points, look at the equally spaced points created from the polygon. This fixes issues with sparse polygons (caused by map editing or with automatic point recording disabled). For dense polygons, which anyway have one point for every 10 cm, the result should be very similar as before. * Fix orientation of the last point in each loop
- Loading branch information
Showing
1 changed file
with
105 additions
and
197 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters