I’ve been seeing the pure pursuit code and I’ve found that topic /closest_waypoint is -1 when there aren’t more waypoints, but it can give -1 in other situations.
There are some other method to check that last waypoint has been reached?
Thanks,
Javier