Class PathImporter
- java.lang.Object
- 
- io.github.frc5024.purepursuit.util.PathImporter
 
- 
- Direct Known Subclasses:
- PathImporter
 
 public class PathImporter extends java.lang.ObjectThe PathImporter is a tool for importing Paths from config files
- 
- 
Constructor SummaryConstructors Constructor Description PathImporter()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static RawPathjsonToPath(java.io.File jsonFile)Load a WPILib PathWeaver JSON file as a Lib5K Path
 
- 
- 
- 
Method Detail- 
jsonToPathpublic static RawPath jsonToPath(java.io.File jsonFile) throws java.io.IOException, java.io.FileNotFoundException Load a WPILib PathWeaver JSON file as a Lib5K Path- Parameters:
- jsonFile- JSON file
- Returns:
- Loaded Path object
- Throws:
- java.io.IOException- Thrown if something goes wrong parsing the file
- java.io.FileNotFoundException- Thrown if the file does not exist
 
 
- 
 
-