Closed ritikmishra closed 6 years ago
i.e distanceTo < 0 is true inside PurePursuitUtils#generateSpeedUsed
distanceTo < 0
PurePursuitUtils#generateSpeedUsed
distanceTo is the distance along the path. 0 means that the path is completed. If it's negative, it should have moved on.
This is potentially caused by 2 subsequent waypoints that have the same location.
Fixed in 59751025553e6f0c3f8dd367f1286e07acc6eaad
i.e
distanceTo < 0
is true insidePurePursuitUtils#generateSpeedUsed
distanceTo is the distance along the path. 0 means that the path is completed. If it's negative, it should have moved on.