Class PathUtil

java.lang.Object
com.stuypulse.robot.util.PathUtil

public class PathUtil extends Object
  • Constructor Details

    • PathUtil

      public PathUtil()
  • Method Details

    • loadPaths

      public static com.pathplanner.lib.path.PathPlannerPath[] loadPaths(String... names)
      PATH LOADING
    • load

      public static com.pathplanner.lib.path.PathPlannerPath load(String name)
    • getPathFileNames

      public static List<String> getPathFileNames()
      PATH FILENAME CORRECTION
    • findClosestMatch

      public static String findClosestMatch(List<String> paths, String input)
    • countChars

      public static HashMap<Character,Integer> countChars(char[] chars)
    • compareNameProximity

      public static double compareNameProximity(HashMap<Character,Integer> list1, HashMap<Character,Integer> list2)