Package tools.PathplannerFlip.AutonFlip
Class PathplannerAutonFlip
Pathplanner Auton Flipper
Flips autons of your choice across the y coordinate axis
This class extends VarArgumentedTool and takes in a list of auton names as arguments.
It reads each .auto file, flips the paths used in the auton, and saves a new .auto file with " Flipped" appended to the original name.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringstatic final com.fasterxml.jackson.databind.node.ObjectNode -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidstatic booleanstatic voidlogPath(PathplannerAutonFlip.FLIP_STATUS status, String pathName) static voidwriteAuton(com.fasterxml.jackson.databind.node.ObjectNode autonObj, String name, String[] paths) Methods inherited from class tools.ToolClasses.VarArgumentedTool
run
-
Field Details
-
AUTON_DIR
- See Also:
-
blankPathObject
-
-
Constructor Details
-
PathplannerAutonFlip
public PathplannerAutonFlip()
-
-
Method Details
-
fileValid
-
execute
- Specified by:
executein classVarArgumentedTool<String>
-
writeAuton
public static void writeAuton(com.fasterxml.jackson.databind.node.ObjectNode autonObj, String name, String[] paths) throws IOException - Throws:
IOException
-
logPath
-