Skip to content

Commit

Permalink
I swear I already fixed this (#742)
Browse files Browse the repository at this point in the history
  • Loading branch information
mjansen4857 authored Sep 25, 2024
1 parent de25109 commit 20d4791
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ private List<PathPoint> createPath() {
points.get(0).waypointRelativePos = 0.0;

double pos = targetIncrement;
while (pos <= numSegments) {
while (pos < numSegments) {
Translation2d position = samplePath(pos);

double distance = points.get(points.size() - 1).position.getDistance(position);
Expand Down

0 comments on commit 20d4791

Please sign in to comment.