The source project of this merge request has been removed.
Both range_min and range_max should be index numbers.
Inside Function getClosestWaypointNumber, both range_min and range_max should be index number. Otherwise one less waypoint is pushed into idx_vec to search for the closest waypoint if the previous closest waypoint (passed in as an argument previous_number) is not -1.
See astuff/autoware.ai/core_planning!19 (merged) for more details.