From e633a78a641fc6ffd453e665892925f8cf4830bc Mon Sep 17 00:00:00 2001 From: Jack Jin <79951112+Rvistix@users.noreply.github.com> Date: Wed, 13 Mar 2024 19:10:43 -0400 Subject: [PATCH] Changes Complete --- .../autos/BLUE_Bottom_4_Piece.auto | 8 +-- .../pathplanner/autos/BLUE_Top_4_Piece.auto | 10 +-- .../deploy/pathplanner/autos/Drive Back.auto | 2 +- .../pathplanner/autos/Red_Bottom_4_Piece.auto | 8 +-- .../pathplanner/autos/Red_Top_4_Piece.auto | 10 +-- .../paths/BLUE_BottomNote_Sub.path | 52 -------------- .../pathplanner/paths/BLUE_Drive Out.path | 58 --------------- .../paths/BLUE_MiddleNote_Sub.path | 52 -------------- .../pathplanner/paths/BLUE_Note1_Sub.path | 52 -------------- .../pathplanner/paths/BLUE_Note2_Sub.path | 52 -------------- .../pathplanner/paths/BLUE_Note4_Sub.path | 52 -------------- .../pathplanner/paths/BLUE_Note5_Sub.path | 52 -------------- .../paths/BLUE_Sub_BottomNote.path | 70 ------------------- .../paths/BLUE_Sub_MiddleNote.path | 70 ------------------- .../pathplanner/paths/BLUE_Sub_Note1.path | 70 ------------------- .../pathplanner/paths/BLUE_Sub_Note2.path | 70 ------------------- .../pathplanner/paths/BLUE_Sub_TopNote.path | 70 ------------------- .../pathplanner/paths/BLUE_TopNote_Sub.path | 52 -------------- .../{RED_Drive Out.path => Drive Out.path} | 2 +- .../pathplanner/paths/RED_BottomNote_Sub.path | 52 -------------- .../pathplanner/paths/RED_MiddleNote_Sub.path | 52 -------------- .../pathplanner/paths/RED_Note1_Sub.path | 52 -------------- .../pathplanner/paths/RED_Note2_Sub.path | 52 -------------- .../pathplanner/paths/RED_Note4_Sub.path | 52 -------------- .../pathplanner/paths/RED_Note5_Sub.path | 52 -------------- .../{BLUE_Red_Path2.path => RED_Path2.path} | 0 .../{BLUE_Red_Path4.path => RED_Path4.path} | 0 .../pathplanner/paths/RED_Red_Path2.path | 52 -------------- .../pathplanner/paths/RED_Red_Path4.path | 52 -------------- .../pathplanner/paths/RED_Sub_BottomNote.path | 70 ------------------- .../pathplanner/paths/RED_Sub_MiddleNote.path | 70 ------------------- .../pathplanner/paths/RED_Sub_Note1.path | 70 ------------------- .../pathplanner/paths/RED_Sub_Note2.path | 70 ------------------- .../pathplanner/paths/RED_Sub_TopNote.path | 70 ------------------- .../pathplanner/paths/RED_TopNote_Sub.path | 52 -------------- .../deploy/pathplanner/paths/changeName.py | 5 ++ 36 files changed, 25 insertions(+), 1610 deletions(-) delete mode 100644 src/main/deploy/pathplanner/paths/BLUE_BottomNote_Sub.path delete mode 100644 src/main/deploy/pathplanner/paths/BLUE_Drive Out.path delete mode 100644 src/main/deploy/pathplanner/paths/BLUE_MiddleNote_Sub.path delete mode 100644 src/main/deploy/pathplanner/paths/BLUE_Note1_Sub.path delete mode 100644 src/main/deploy/pathplanner/paths/BLUE_Note2_Sub.path delete mode 100644 src/main/deploy/pathplanner/paths/BLUE_Note4_Sub.path delete mode 100644 src/main/deploy/pathplanner/paths/BLUE_Note5_Sub.path delete mode 100644 src/main/deploy/pathplanner/paths/BLUE_Sub_BottomNote.path delete mode 100644 src/main/deploy/pathplanner/paths/BLUE_Sub_MiddleNote.path delete mode 100644 src/main/deploy/pathplanner/paths/BLUE_Sub_Note1.path delete mode 100644 src/main/deploy/pathplanner/paths/BLUE_Sub_Note2.path delete mode 100644 src/main/deploy/pathplanner/paths/BLUE_Sub_TopNote.path delete mode 100644 src/main/deploy/pathplanner/paths/BLUE_TopNote_Sub.path rename src/main/deploy/pathplanner/paths/{RED_Drive Out.path => Drive Out.path} (97%) delete mode 100644 src/main/deploy/pathplanner/paths/RED_BottomNote_Sub.path delete mode 100644 src/main/deploy/pathplanner/paths/RED_MiddleNote_Sub.path delete mode 100644 src/main/deploy/pathplanner/paths/RED_Note1_Sub.path delete mode 100644 src/main/deploy/pathplanner/paths/RED_Note2_Sub.path delete mode 100644 src/main/deploy/pathplanner/paths/RED_Note4_Sub.path delete mode 100644 src/main/deploy/pathplanner/paths/RED_Note5_Sub.path rename src/main/deploy/pathplanner/paths/{BLUE_Red_Path2.path => RED_Path2.path} (100%) rename src/main/deploy/pathplanner/paths/{BLUE_Red_Path4.path => RED_Path4.path} (100%) delete mode 100644 src/main/deploy/pathplanner/paths/RED_Red_Path2.path delete mode 100644 src/main/deploy/pathplanner/paths/RED_Red_Path4.path delete mode 100644 src/main/deploy/pathplanner/paths/RED_Sub_BottomNote.path delete mode 100644 src/main/deploy/pathplanner/paths/RED_Sub_MiddleNote.path delete mode 100644 src/main/deploy/pathplanner/paths/RED_Sub_Note1.path delete mode 100644 src/main/deploy/pathplanner/paths/RED_Sub_Note2.path delete mode 100644 src/main/deploy/pathplanner/paths/RED_Sub_TopNote.path delete mode 100644 src/main/deploy/pathplanner/paths/RED_TopNote_Sub.path create mode 100644 src/main/deploy/pathplanner/paths/changeName.py diff --git a/src/main/deploy/pathplanner/autos/BLUE_Bottom_4_Piece.auto b/src/main/deploy/pathplanner/autos/BLUE_Bottom_4_Piece.auto index 3d55dc2..f232446 100644 --- a/src/main/deploy/pathplanner/autos/BLUE_Bottom_4_Piece.auto +++ b/src/main/deploy/pathplanner/autos/BLUE_Bottom_4_Piece.auto @@ -14,25 +14,25 @@ { "type": "path", "data": { - "pathName": null + "pathName": "BLUE_Path1" } }, { "type": "path", "data": { - "pathName": null + "pathName": "BLUE_Path5" } }, { "type": "path", "data": { - "pathName": null + "pathName": "BLUE_Path2" } }, { "type": "path", "data": { - "pathName": null + "pathName": "BLUE_Path3" } } ] diff --git a/src/main/deploy/pathplanner/autos/BLUE_Top_4_Piece.auto b/src/main/deploy/pathplanner/autos/BLUE_Top_4_Piece.auto index 0a69ca0..ba11ac0 100644 --- a/src/main/deploy/pathplanner/autos/BLUE_Top_4_Piece.auto +++ b/src/main/deploy/pathplanner/autos/BLUE_Top_4_Piece.auto @@ -14,31 +14,31 @@ { "type": "path", "data": { - "pathName": null + "pathName": "BLUE_3_Piece_Path_1" } }, { "type": "path", "data": { - "pathName": null + "pathName": "BLUE_3_Piece_Path_2" } }, { "type": "path", "data": { - "pathName": null + "pathName": "BLUE_3_Piece_Path_3" } }, { "type": "path", "data": { - "pathName": null + "pathName": "BLUE_3_Piece_Path_4" } }, { "type": "path", "data": { - "pathName": null + "pathName": "BLUE_3_Piece_Path_5" } } ] diff --git a/src/main/deploy/pathplanner/autos/Drive Back.auto b/src/main/deploy/pathplanner/autos/Drive Back.auto index 17dacdf..d1a0247 100644 --- a/src/main/deploy/pathplanner/autos/Drive Back.auto +++ b/src/main/deploy/pathplanner/autos/Drive Back.auto @@ -20,7 +20,7 @@ { "type": "path", "data": { - "pathName": null + "pathName": "Drive Out" } } ] diff --git a/src/main/deploy/pathplanner/autos/Red_Bottom_4_Piece.auto b/src/main/deploy/pathplanner/autos/Red_Bottom_4_Piece.auto index 2bad2b7..bb2b78c 100644 --- a/src/main/deploy/pathplanner/autos/Red_Bottom_4_Piece.auto +++ b/src/main/deploy/pathplanner/autos/Red_Bottom_4_Piece.auto @@ -14,25 +14,25 @@ { "type": "path", "data": { - "pathName": null + "pathName": "RED_Path1" } }, { "type": "path", "data": { - "pathName": null + "pathName": "RED_Path5" } }, { "type": "path", "data": { - "pathName": null + "pathName": "RED_Path2" } }, { "type": "path", "data": { - "pathName": null + "pathName": "RED_Path3" } } ] diff --git a/src/main/deploy/pathplanner/autos/Red_Top_4_Piece.auto b/src/main/deploy/pathplanner/autos/Red_Top_4_Piece.auto index 9e271bc..851ccc5 100644 --- a/src/main/deploy/pathplanner/autos/Red_Top_4_Piece.auto +++ b/src/main/deploy/pathplanner/autos/Red_Top_4_Piece.auto @@ -14,31 +14,31 @@ { "type": "path", "data": { - "pathName": null + "pathName": "RED_3_Piece_Path_1" } }, { "type": "path", "data": { - "pathName": null + "pathName": "RED_3_Piece_Path_2" } }, { "type": "path", "data": { - "pathName": null + "pathName": "RED_3_Piece_Path_3" } }, { "type": "path", "data": { - "pathName": null + "pathName": "RED_3_Piece_Path_4" } }, { "type": "path", "data": { - "pathName": null + "pathName": "RED_3_Piece_Path_5" } } ] diff --git a/src/main/deploy/pathplanner/paths/BLUE_BottomNote_Sub.path b/src/main/deploy/pathplanner/paths/BLUE_BottomNote_Sub.path deleted file mode 100644 index 3623931..0000000 --- a/src/main/deploy/pathplanner/paths/BLUE_BottomNote_Sub.path +++ /dev/null @@ -1,52 +0,0 @@ -{ - "version": 1.0, - "waypoints": [ - { - "anchor": { - "x": 2.609393106826927, - "y": 4.1046482092964185 - }, - "prevControl": null, - "nextControl": { - "x": 2.0976176303497653, - "y": 4.511979710982323 - }, - "isLocked": false, - "linkedName": "Bottom_Note" - }, - { - "anchor": { - "x": 2.5049491320356694, - "y": 3.2482076160081075 - }, - "prevControl": { - "x": 3.079390993382363, - "y": 2.7677653319630995 - }, - "nextControl": null, - "isLocked": false, - "linkedName": "Sub" - } - ], - "rotationTargets": [], - "constraintZones": [], - "eventMarkers": [], - "globalConstraints": { - "maxVelocity": 3.0, - "maxAcceleration": 3.0, - "maxAngularVelocity": 540.0, - "maxAngularAcceleration": 720.0 - }, - "goalEndState": { - "velocity": 0, - "rotation": 0, - "rotateFast": false - }, - "reversed": false, - "folder": "BLUEPATH", - "previewStartingState": { - "rotation": -40.0, - "velocity": 0 - }, - "useDefaultConstraints": true -} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/BLUE_Drive Out.path b/src/main/deploy/pathplanner/paths/BLUE_Drive Out.path deleted file mode 100644 index 9bb84e1..0000000 --- a/src/main/deploy/pathplanner/paths/BLUE_Drive Out.path +++ /dev/null @@ -1,58 +0,0 @@ -{ - "version": 1.0, - "waypoints": [ - { - "anchor": { - "x": 0.6230802761177547, - "y": 4.532093743217444 - }, - "prevControl": null, - "nextControl": { - "x": 0.8690078435791664, - "y": 2.3538781457020823 - }, - "isLocked": false, - "linkedName": null - }, - { - "anchor": { - "x": 3.023801768002964, - "y": 1.0539752891203358 - }, - "prevControl": { - "x": 2.023801768002964, - "y": 1.0539752891203358 - }, - "nextControl": null, - "isLocked": false, - "linkedName": null - } - ], - "rotationTargets": [ - { - "waypointRelativePos": 0.5, - "rotationDegrees": 0, - "rotateFast": false - } - ], - "constraintZones": [], - "eventMarkers": [], - "globalConstraints": { - "maxVelocity": 3.0, - "maxAcceleration": 3.0, - "maxAngularVelocity": 540.0, - "maxAngularAcceleration": 720.0 - }, - "goalEndState": { - "velocity": 0, - "rotation": 0, - "rotateFast": false - }, - "reversed": false, - "folder": "BLUEPATH", - "previewStartingState": { - "rotation": -57.7243556854224, - "velocity": 0 - }, - "useDefaultConstraints": true -} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/BLUE_MiddleNote_Sub.path b/src/main/deploy/pathplanner/paths/BLUE_MiddleNote_Sub.path deleted file mode 100644 index 6bccbbe..0000000 --- a/src/main/deploy/pathplanner/paths/BLUE_MiddleNote_Sub.path +++ /dev/null @@ -1,52 +0,0 @@ -{ - "version": 1.0, - "waypoints": [ - { - "anchor": { - "x": 2.602628408103792, - "y": 5.545975061415772 - }, - "prevControl": null, - "nextControl": { - "x": 1.6026284081037918, - "y": 5.545975061415772 - }, - "isLocked": false, - "linkedName": "Middle_Note" - }, - { - "anchor": { - "x": 2.5049491320356694, - "y": 3.2482076160081075 - }, - "prevControl": { - "x": 3.5049491320356703, - "y": 3.2482076160081075 - }, - "nextControl": null, - "isLocked": false, - "linkedName": "Sub" - } - ], - "rotationTargets": [], - "constraintZones": [], - "eventMarkers": [], - "globalConstraints": { - "maxVelocity": 3.0, - "maxAcceleration": 3.0, - "maxAngularVelocity": 540.0, - "maxAngularAcceleration": 720.0 - }, - "goalEndState": { - "velocity": 0, - "rotation": 0, - "rotateFast": false - }, - "reversed": false, - "folder": "BLUEPATH", - "previewStartingState": { - "rotation": 0, - "velocity": 0 - }, - "useDefaultConstraints": true -} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/BLUE_Note1_Sub.path b/src/main/deploy/pathplanner/paths/BLUE_Note1_Sub.path deleted file mode 100644 index 31b55a6..0000000 --- a/src/main/deploy/pathplanner/paths/BLUE_Note1_Sub.path +++ /dev/null @@ -1,52 +0,0 @@ -{ - "version": 1.0, - "waypoints": [ - { - "anchor": { - "x": 8.036539916496203, - "y": 7.128357032514777 - }, - "prevControl": null, - "nextControl": { - "x": 5.164330609736623, - "y": 6.282360836705591 - }, - "isLocked": false, - "linkedName": "Note1" - }, - { - "anchor": { - "x": 2.5049491320356694, - "y": 3.2482076160081075 - }, - "prevControl": { - "x": 4.95938253963022, - "y": 3.895760259713903 - }, - "nextControl": null, - "isLocked": false, - "linkedName": "Sub" - } - ], - "rotationTargets": [], - "constraintZones": [], - "eventMarkers": [], - "globalConstraints": { - "maxVelocity": 3.0, - "maxAcceleration": 3.0, - "maxAngularVelocity": 540.0, - "maxAngularAcceleration": 720.0 - }, - "goalEndState": { - "velocity": 0, - "rotation": 0, - "rotateFast": false - }, - "reversed": false, - "folder": "BLUEPATH", - "previewStartingState": { - "rotation": 0, - "velocity": 0 - }, - "useDefaultConstraints": true -} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/BLUE_Note2_Sub.path b/src/main/deploy/pathplanner/paths/BLUE_Note2_Sub.path deleted file mode 100644 index 2984d80..0000000 --- a/src/main/deploy/pathplanner/paths/BLUE_Note2_Sub.path +++ /dev/null @@ -1,52 +0,0 @@ -{ - "version": 1.0, - "waypoints": [ - { - "anchor": { - "x": 8.026801723828832, - "y": 5.472864279061892 - }, - "prevControl": null, - "nextControl": { - "x": 5.123259224631875, - "y": 6.726191976556981 - }, - "isLocked": false, - "linkedName": "Note2" - }, - { - "anchor": { - "x": 2.5049491320356694, - "y": 3.2482076160081075 - }, - "prevControl": { - "x": 3.6642772522186275, - "y": 4.083759414338167 - }, - "nextControl": null, - "isLocked": false, - "linkedName": "Sub" - } - ], - "rotationTargets": [], - "constraintZones": [], - "eventMarkers": [], - "globalConstraints": { - "maxVelocity": 3.0, - "maxAcceleration": 3.0, - "maxAngularVelocity": 540.0, - "maxAngularAcceleration": 720.0 - }, - "goalEndState": { - "velocity": 0, - "rotation": 0, - "rotateFast": false - }, - "reversed": false, - "folder": "BLUEPATH", - "previewStartingState": { - "rotation": 0, - "velocity": 0 - }, - "useDefaultConstraints": true -} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/BLUE_Note4_Sub.path b/src/main/deploy/pathplanner/paths/BLUE_Note4_Sub.path deleted file mode 100644 index d76ff9b..0000000 --- a/src/main/deploy/pathplanner/paths/BLUE_Note4_Sub.path +++ /dev/null @@ -1,52 +0,0 @@ -{ - "version": 1.0, - "waypoints": [ - { - "anchor": { - "x": 7.9882578085766855, - "y": 2.5170997924693057 - }, - "prevControl": null, - "nextControl": { - "x": 4.698272602652076, - "y": 0.39688710420677964 - }, - "isLocked": false, - "linkedName": "Note4" - }, - { - "anchor": { - "x": 2.5049491320356694, - "y": 3.2482076160081075 - }, - "prevControl": { - "x": 4.280496703487047, - "y": -0.22977674454076702 - }, - "nextControl": null, - "isLocked": false, - "linkedName": "Sub" - } - ], - "rotationTargets": [], - "constraintZones": [], - "eventMarkers": [], - "globalConstraints": { - "maxVelocity": 3.0, - "maxAcceleration": 3.0, - "maxAngularVelocity": 540.0, - "maxAngularAcceleration": 720.0 - }, - "goalEndState": { - "velocity": 0, - "rotation": 0, - "rotateFast": false - }, - "reversed": false, - "folder": "BLUEPATH", - "previewStartingState": { - "rotation": 0, - "velocity": 0 - }, - "useDefaultConstraints": true -} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/BLUE_Note5_Sub.path b/src/main/deploy/pathplanner/paths/BLUE_Note5_Sub.path deleted file mode 100644 index b6d903b..0000000 --- a/src/main/deploy/pathplanner/paths/BLUE_Note5_Sub.path +++ /dev/null @@ -1,52 +0,0 @@ -{ - "version": 1.0, - "waypoints": [ - { - "anchor": { - "x": 7.9882578085766855, - "y": 0.9504401706004426 - }, - "prevControl": null, - "nextControl": { - "x": 3.831387611884639, - "y": 1.2533276974950893 - }, - "isLocked": false, - "linkedName": "Note5" - }, - { - "anchor": { - "x": 2.5049491320356694, - "y": 3.2482076160081075 - }, - "prevControl": { - "x": 2.9018362362424477, - "y": 1.0235509529543232 - }, - "nextControl": null, - "isLocked": false, - "linkedName": "Sub" - } - ], - "rotationTargets": [], - "constraintZones": [], - "eventMarkers": [], - "globalConstraints": { - "maxVelocity": 3.0, - "maxAcceleration": 3.0, - "maxAngularVelocity": 540.0, - "maxAngularAcceleration": 720.0 - }, - "goalEndState": { - "velocity": 0, - "rotation": 0, - "rotateFast": false - }, - "reversed": false, - "folder": "BLUEPATH", - "previewStartingState": { - "rotation": 0, - "velocity": 0 - }, - "useDefaultConstraints": true -} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/BLUE_Sub_BottomNote.path b/src/main/deploy/pathplanner/paths/BLUE_Sub_BottomNote.path deleted file mode 100644 index 67d9bf2..0000000 --- a/src/main/deploy/pathplanner/paths/BLUE_Sub_BottomNote.path +++ /dev/null @@ -1,70 +0,0 @@ -{ - "version": 1.0, - "waypoints": [ - { - "anchor": { - "x": 2.5049491320356694, - "y": 3.2482076160081075 - }, - "prevControl": null, - "nextControl": { - "x": 3.1942793656579687, - "y": 3.07065285886297 - }, - "isLocked": false, - "linkedName": "Sub" - }, - { - "anchor": { - "x": 2.609393106826927, - "y": 4.1046482092964185 - }, - "prevControl": { - "x": 1.828739440442308, - "y": 4.458568326008999 - }, - "nextControl": null, - "isLocked": false, - "linkedName": "Bottom_Note" - } - ], - "rotationTargets": [], - "constraintZones": [], - "eventMarkers": [ - { - "name": "Intake", - "waypointRelativePos": 0.05, - "command": { - "type": "parallel", - "data": { - "commands": [ - { - "type": "named", - "data": { - "name": "SmartIntakeCommand" - } - } - ] - } - } - } - ], - "globalConstraints": { - "maxVelocity": 3.0, - "maxAcceleration": 3.0, - "maxAngularVelocity": 540.0, - "maxAngularAcceleration": 720.0 - }, - "goalEndState": { - "velocity": 0, - "rotation": -25.0, - "rotateFast": false - }, - "reversed": false, - "folder": "BLUEPATH", - "previewStartingState": { - "rotation": -60.0, - "velocity": 0 - }, - "useDefaultConstraints": true -} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/BLUE_Sub_MiddleNote.path b/src/main/deploy/pathplanner/paths/BLUE_Sub_MiddleNote.path deleted file mode 100644 index 1ebfc71..0000000 --- a/src/main/deploy/pathplanner/paths/BLUE_Sub_MiddleNote.path +++ /dev/null @@ -1,70 +0,0 @@ -{ - "version": 1.0, - "waypoints": [ - { - "anchor": { - "x": 2.5049491320356694, - "y": 3.2482076160081075 - }, - "prevControl": null, - "nextControl": { - "x": 3.5049491320356694, - "y": 3.2482076160081075 - }, - "isLocked": false, - "linkedName": "Sub" - }, - { - "anchor": { - "x": 2.602628408103792, - "y": 5.545975061415772 - }, - "prevControl": { - "x": 1.6026284081037918, - "y": 5.545975061415772 - }, - "nextControl": null, - "isLocked": false, - "linkedName": "Middle_Note" - } - ], - "rotationTargets": [], - "constraintZones": [], - "eventMarkers": [ - { - "name": "Intake", - "waypointRelativePos": 0.05, - "command": { - "type": "parallel", - "data": { - "commands": [ - { - "type": "named", - "data": { - "name": "SmartIntakeCommand" - } - } - ] - } - } - } - ], - "globalConstraints": { - "maxVelocity": 3.0, - "maxAcceleration": 3.0, - "maxAngularVelocity": 540.0, - "maxAngularAcceleration": 720.0 - }, - "goalEndState": { - "velocity": 0, - "rotation": 0, - "rotateFast": false - }, - "reversed": false, - "folder": "BLUEPATH", - "previewStartingState": { - "rotation": 0, - "velocity": 0 - }, - "useDefaultConstraints": true -} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/BLUE_Sub_Note1.path b/src/main/deploy/pathplanner/paths/BLUE_Sub_Note1.path deleted file mode 100644 index 6e90e99..0000000 --- a/src/main/deploy/pathplanner/paths/BLUE_Sub_Note1.path +++ /dev/null @@ -1,70 +0,0 @@ -{ - "version": 1.0, - "waypoints": [ - { - "anchor": { - "x": 2.5049491320356694, - "y": 3.2482076160081075 - }, - "prevControl": null, - "nextControl": { - "x": 5.011604527025848, - "y": 3.937537849630406 - }, - "isLocked": false, - "linkedName": "Sub" - }, - { - "anchor": { - "x": 8.036539916496203, - "y": 7.128357032514777 - }, - "prevControl": { - "x": 5.41499614923564, - "y": 6.3763604140177215 - }, - "nextControl": null, - "isLocked": false, - "linkedName": "Note1" - } - ], - "rotationTargets": [], - "constraintZones": [], - "eventMarkers": [ - { - "name": "Intake", - "waypointRelativePos": 0.5, - "command": { - "type": "parallel", - "data": { - "commands": [ - { - "type": "named", - "data": { - "name": "SmartIntakeCommand" - } - } - ] - } - } - } - ], - "globalConstraints": { - "maxVelocity": 3.0, - "maxAcceleration": 3.0, - "maxAngularVelocity": 540.0, - "maxAngularAcceleration": 720.0 - }, - "goalEndState": { - "velocity": 0, - "rotation": 0, - "rotateFast": false - }, - "reversed": false, - "folder": "BLUEPATH", - "previewStartingState": { - "rotation": 0, - "velocity": 0 - }, - "useDefaultConstraints": true -} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/BLUE_Sub_Note2.path b/src/main/deploy/pathplanner/paths/BLUE_Sub_Note2.path deleted file mode 100644 index 0c3970f..0000000 --- a/src/main/deploy/pathplanner/paths/BLUE_Sub_Note2.path +++ /dev/null @@ -1,70 +0,0 @@ -{ - "version": 1.0, - "waypoints": [ - { - "anchor": { - "x": 2.5049491320356694, - "y": 3.2482076160081075 - }, - "prevControl": null, - "nextControl": { - "x": 4.040275561461933, - "y": 4.731312058049185 - }, - "isLocked": false, - "linkedName": "Sub" - }, - { - "anchor": { - "x": 8.026801723828832, - "y": 5.472864279061892 - }, - "prevControl": { - "x": 6.9092511935571554, - "y": 6.19352770512679 - }, - "nextControl": null, - "isLocked": false, - "linkedName": "Note2" - } - ], - "rotationTargets": [], - "constraintZones": [], - "eventMarkers": [ - { - "name": "Intake", - "waypointRelativePos": 0.5, - "command": { - "type": "parallel", - "data": { - "commands": [ - { - "type": "named", - "data": { - "name": "SmartIntakeCommand" - } - } - ] - } - } - } - ], - "globalConstraints": { - "maxVelocity": 3.0, - "maxAcceleration": 3.0, - "maxAngularVelocity": 540.0, - "maxAngularAcceleration": 720.0 - }, - "goalEndState": { - "velocity": 0, - "rotation": 0, - "rotateFast": false - }, - "reversed": false, - "folder": "BLUEPATH", - "previewStartingState": { - "rotation": 0, - "velocity": 0 - }, - "useDefaultConstraints": true -} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/BLUE_Sub_TopNote.path b/src/main/deploy/pathplanner/paths/BLUE_Sub_TopNote.path deleted file mode 100644 index e2987d0..0000000 --- a/src/main/deploy/pathplanner/paths/BLUE_Sub_TopNote.path +++ /dev/null @@ -1,70 +0,0 @@ -{ - "version": 1.0, - "waypoints": [ - { - "anchor": { - "x": 2.5049491320356694, - "y": 3.2482076160081075 - }, - "prevControl": null, - "nextControl": { - "x": 3.016724608512831, - "y": 3.728649900047892 - }, - "isLocked": false, - "linkedName": "Sub" - }, - { - "anchor": { - "x": 2.849614248846819, - "y": 6.642636796723976 - }, - "prevControl": { - "x": 2.30650557993228, - "y": 6.183083307642443 - }, - "nextControl": null, - "isLocked": false, - "linkedName": "Top_Note" - } - ], - "rotationTargets": [], - "constraintZones": [], - "eventMarkers": [ - { - "name": "Intake", - "waypointRelativePos": 0.05, - "command": { - "type": "parallel", - "data": { - "commands": [ - { - "type": "named", - "data": { - "name": "SmartIntakeCommand" - } - } - ] - } - } - } - ], - "globalConstraints": { - "maxVelocity": 3.0, - "maxAcceleration": 3.0, - "maxAngularVelocity": 540.0, - "maxAngularAcceleration": 720.0 - }, - "goalEndState": { - "velocity": 0, - "rotation": 40.0, - "rotateFast": false - }, - "reversed": false, - "folder": "BLUEPATH", - "previewStartingState": { - "rotation": 0, - "velocity": 0 - }, - "useDefaultConstraints": true -} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/BLUE_TopNote_Sub.path b/src/main/deploy/pathplanner/paths/BLUE_TopNote_Sub.path deleted file mode 100644 index ca3fe3c..0000000 --- a/src/main/deploy/pathplanner/paths/BLUE_TopNote_Sub.path +++ /dev/null @@ -1,52 +0,0 @@ -{ - "version": 1.0, - "waypoints": [ - { - "anchor": { - "x": 2.849614248846819, - "y": 6.642636796723976 - }, - "prevControl": null, - "nextControl": { - "x": 2.3378387723696576, - "y": 6.203972102600694 - }, - "isLocked": false, - "linkedName": "Top_Note" - }, - { - "anchor": { - "x": 2.5049491320356694, - "y": 3.2482076160081075 - }, - "prevControl": { - "x": 2.9331694286798244, - "y": 3.6450947202148853 - }, - "nextControl": null, - "isLocked": false, - "linkedName": "Sub" - } - ], - "rotationTargets": [], - "constraintZones": [], - "eventMarkers": [], - "globalConstraints": { - "maxVelocity": 3.0, - "maxAcceleration": 3.0, - "maxAngularVelocity": 540.0, - "maxAngularAcceleration": 720.0 - }, - "goalEndState": { - "velocity": 0, - "rotation": 0, - "rotateFast": false - }, - "reversed": false, - "folder": "BLUEPATH", - "previewStartingState": { - "rotation": 40.0, - "velocity": 0 - }, - "useDefaultConstraints": true -} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/RED_Drive Out.path b/src/main/deploy/pathplanner/paths/Drive Out.path similarity index 97% rename from src/main/deploy/pathplanner/paths/RED_Drive Out.path rename to src/main/deploy/pathplanner/paths/Drive Out.path index df20529..97c1984 100644 --- a/src/main/deploy/pathplanner/paths/RED_Drive Out.path +++ b/src/main/deploy/pathplanner/paths/Drive Out.path @@ -49,7 +49,7 @@ "rotateFast": false }, "reversed": false, - "folder": "REDPATH", + "folder": "Test Paths", "previewStartingState": { "rotation": -57.7243556854224, "velocity": 0 diff --git a/src/main/deploy/pathplanner/paths/RED_BottomNote_Sub.path b/src/main/deploy/pathplanner/paths/RED_BottomNote_Sub.path deleted file mode 100644 index ffb288d..0000000 --- a/src/main/deploy/pathplanner/paths/RED_BottomNote_Sub.path +++ /dev/null @@ -1,52 +0,0 @@ -{ - "version": 1.0, - "waypoints": [ - { - "anchor": { - "x": 2.609393106826927, - "y": 4.1046482092964185 - }, - "prevControl": null, - "nextControl": { - "x": 2.0976176303497653, - "y": 4.511979710982323 - }, - "isLocked": false, - "linkedName": "Bottom_Note" - }, - { - "anchor": { - "x": 2.5049491320356694, - "y": 3.2482076160081075 - }, - "prevControl": { - "x": 3.079390993382363, - "y": 2.7677653319630995 - }, - "nextControl": null, - "isLocked": false, - "linkedName": "Sub" - } - ], - "rotationTargets": [], - "constraintZones": [], - "eventMarkers": [], - "globalConstraints": { - "maxVelocity": 3.0, - "maxAcceleration": 3.0, - "maxAngularVelocity": 540.0, - "maxAngularAcceleration": 720.0 - }, - "goalEndState": { - "velocity": 0, - "rotation": 0, - "rotateFast": false - }, - "reversed": false, - "folder": "REDPATH", - "previewStartingState": { - "rotation": -40.0, - "velocity": 0 - }, - "useDefaultConstraints": true -} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/RED_MiddleNote_Sub.path b/src/main/deploy/pathplanner/paths/RED_MiddleNote_Sub.path deleted file mode 100644 index f15d413..0000000 --- a/src/main/deploy/pathplanner/paths/RED_MiddleNote_Sub.path +++ /dev/null @@ -1,52 +0,0 @@ -{ - "version": 1.0, - "waypoints": [ - { - "anchor": { - "x": 2.602628408103792, - "y": 5.545975061415772 - }, - "prevControl": null, - "nextControl": { - "x": 1.6026284081037918, - "y": 5.545975061415772 - }, - "isLocked": false, - "linkedName": "Middle_Note" - }, - { - "anchor": { - "x": 2.5049491320356694, - "y": 3.2482076160081075 - }, - "prevControl": { - "x": 3.5049491320356703, - "y": 3.2482076160081075 - }, - "nextControl": null, - "isLocked": false, - "linkedName": "Sub" - } - ], - "rotationTargets": [], - "constraintZones": [], - "eventMarkers": [], - "globalConstraints": { - "maxVelocity": 3.0, - "maxAcceleration": 3.0, - "maxAngularVelocity": 540.0, - "maxAngularAcceleration": 720.0 - }, - "goalEndState": { - "velocity": 0, - "rotation": 0, - "rotateFast": false - }, - "reversed": false, - "folder": "REDPATH", - "previewStartingState": { - "rotation": 0, - "velocity": 0 - }, - "useDefaultConstraints": true -} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/RED_Note1_Sub.path b/src/main/deploy/pathplanner/paths/RED_Note1_Sub.path deleted file mode 100644 index c423360..0000000 --- a/src/main/deploy/pathplanner/paths/RED_Note1_Sub.path +++ /dev/null @@ -1,52 +0,0 @@ -{ - "version": 1.0, - "waypoints": [ - { - "anchor": { - "x": 8.036539916496203, - "y": 7.128357032514777 - }, - "prevControl": null, - "nextControl": { - "x": 5.164330609736623, - "y": 6.282360836705591 - }, - "isLocked": false, - "linkedName": "Note1" - }, - { - "anchor": { - "x": 2.5049491320356694, - "y": 3.2482076160081075 - }, - "prevControl": { - "x": 4.95938253963022, - "y": 3.895760259713903 - }, - "nextControl": null, - "isLocked": false, - "linkedName": "Sub" - } - ], - "rotationTargets": [], - "constraintZones": [], - "eventMarkers": [], - "globalConstraints": { - "maxVelocity": 3.0, - "maxAcceleration": 3.0, - "maxAngularVelocity": 540.0, - "maxAngularAcceleration": 720.0 - }, - "goalEndState": { - "velocity": 0, - "rotation": 0, - "rotateFast": false - }, - "reversed": false, - "folder": "REDPATH", - "previewStartingState": { - "rotation": 0, - "velocity": 0 - }, - "useDefaultConstraints": true -} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/RED_Note2_Sub.path b/src/main/deploy/pathplanner/paths/RED_Note2_Sub.path deleted file mode 100644 index c302241..0000000 --- a/src/main/deploy/pathplanner/paths/RED_Note2_Sub.path +++ /dev/null @@ -1,52 +0,0 @@ -{ - "version": 1.0, - "waypoints": [ - { - "anchor": { - "x": 8.026801723828832, - "y": 5.472864279061892 - }, - "prevControl": null, - "nextControl": { - "x": 5.123259224631875, - "y": 6.726191976556981 - }, - "isLocked": false, - "linkedName": "Note2" - }, - { - "anchor": { - "x": 2.5049491320356694, - "y": 3.2482076160081075 - }, - "prevControl": { - "x": 3.6642772522186275, - "y": 4.083759414338167 - }, - "nextControl": null, - "isLocked": false, - "linkedName": "Sub" - } - ], - "rotationTargets": [], - "constraintZones": [], - "eventMarkers": [], - "globalConstraints": { - "maxVelocity": 3.0, - "maxAcceleration": 3.0, - "maxAngularVelocity": 540.0, - "maxAngularAcceleration": 720.0 - }, - "goalEndState": { - "velocity": 0, - "rotation": 0, - "rotateFast": false - }, - "reversed": false, - "folder": "REDPATH", - "previewStartingState": { - "rotation": 0, - "velocity": 0 - }, - "useDefaultConstraints": true -} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/RED_Note4_Sub.path b/src/main/deploy/pathplanner/paths/RED_Note4_Sub.path deleted file mode 100644 index 1fcde37..0000000 --- a/src/main/deploy/pathplanner/paths/RED_Note4_Sub.path +++ /dev/null @@ -1,52 +0,0 @@ -{ - "version": 1.0, - "waypoints": [ - { - "anchor": { - "x": 7.9882578085766855, - "y": 2.5170997924693057 - }, - "prevControl": null, - "nextControl": { - "x": 4.698272602652076, - "y": 0.39688710420677964 - }, - "isLocked": false, - "linkedName": "Note4" - }, - { - "anchor": { - "x": 2.5049491320356694, - "y": 3.2482076160081075 - }, - "prevControl": { - "x": 4.280496703487047, - "y": -0.22977674454076702 - }, - "nextControl": null, - "isLocked": false, - "linkedName": "Sub" - } - ], - "rotationTargets": [], - "constraintZones": [], - "eventMarkers": [], - "globalConstraints": { - "maxVelocity": 3.0, - "maxAcceleration": 3.0, - "maxAngularVelocity": 540.0, - "maxAngularAcceleration": 720.0 - }, - "goalEndState": { - "velocity": 0, - "rotation": 0, - "rotateFast": false - }, - "reversed": false, - "folder": "REDPATH", - "previewStartingState": { - "rotation": 0, - "velocity": 0 - }, - "useDefaultConstraints": true -} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/RED_Note5_Sub.path b/src/main/deploy/pathplanner/paths/RED_Note5_Sub.path deleted file mode 100644 index e422e29..0000000 --- a/src/main/deploy/pathplanner/paths/RED_Note5_Sub.path +++ /dev/null @@ -1,52 +0,0 @@ -{ - "version": 1.0, - "waypoints": [ - { - "anchor": { - "x": 7.9882578085766855, - "y": 0.9504401706004426 - }, - "prevControl": null, - "nextControl": { - "x": 3.831387611884639, - "y": 1.2533276974950893 - }, - "isLocked": false, - "linkedName": "Note5" - }, - { - "anchor": { - "x": 2.5049491320356694, - "y": 3.2482076160081075 - }, - "prevControl": { - "x": 2.9018362362424477, - "y": 1.0235509529543232 - }, - "nextControl": null, - "isLocked": false, - "linkedName": "Sub" - } - ], - "rotationTargets": [], - "constraintZones": [], - "eventMarkers": [], - "globalConstraints": { - "maxVelocity": 3.0, - "maxAcceleration": 3.0, - "maxAngularVelocity": 540.0, - "maxAngularAcceleration": 720.0 - }, - "goalEndState": { - "velocity": 0, - "rotation": 0, - "rotateFast": false - }, - "reversed": false, - "folder": "REDPATH", - "previewStartingState": { - "rotation": 0, - "velocity": 0 - }, - "useDefaultConstraints": true -} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/BLUE_Red_Path2.path b/src/main/deploy/pathplanner/paths/RED_Path2.path similarity index 100% rename from src/main/deploy/pathplanner/paths/BLUE_Red_Path2.path rename to src/main/deploy/pathplanner/paths/RED_Path2.path diff --git a/src/main/deploy/pathplanner/paths/BLUE_Red_Path4.path b/src/main/deploy/pathplanner/paths/RED_Path4.path similarity index 100% rename from src/main/deploy/pathplanner/paths/BLUE_Red_Path4.path rename to src/main/deploy/pathplanner/paths/RED_Path4.path diff --git a/src/main/deploy/pathplanner/paths/RED_Red_Path2.path b/src/main/deploy/pathplanner/paths/RED_Red_Path2.path deleted file mode 100644 index c229711..0000000 --- a/src/main/deploy/pathplanner/paths/RED_Red_Path2.path +++ /dev/null @@ -1,52 +0,0 @@ -{ - "version": 1.0, - "waypoints": [ - { - "anchor": { - "x": 2.849614248846819, - "y": 6.642636796723976 - }, - "prevControl": null, - "nextControl": { - "x": 3.849614248846819, - "y": 6.642636796723976 - }, - "isLocked": false, - "linkedName": "Top_Note" - }, - { - "anchor": { - "x": 8.036539916496203, - "y": 7.050451491175817 - }, - "prevControl": { - "x": 7.036539916496203, - "y": 7.050451491175817 - }, - "nextControl": null, - "isLocked": false, - "linkedName": null - } - ], - "rotationTargets": [], - "constraintZones": [], - "eventMarkers": [], - "globalConstraints": { - "maxVelocity": 3.0, - "maxAcceleration": 3.0, - "maxAngularVelocity": 540.0, - "maxAngularAcceleration": 720.0 - }, - "goalEndState": { - "velocity": 0, - "rotation": 0, - "rotateFast": false - }, - "reversed": false, - "folder": "REDPATH", - "previewStartingState": { - "rotation": 0, - "velocity": 0 - }, - "useDefaultConstraints": true -} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/RED_Red_Path4.path b/src/main/deploy/pathplanner/paths/RED_Red_Path4.path deleted file mode 100644 index 2440787..0000000 --- a/src/main/deploy/pathplanner/paths/RED_Red_Path4.path +++ /dev/null @@ -1,52 +0,0 @@ -{ - "version": 1.0, - "waypoints": [ - { - "anchor": { - "x": 3.664277252218627, - "y": 6.0055285504973055 - }, - "prevControl": null, - "nextControl": { - "x": 4.854938564838963, - "y": 6.4024156547040825 - }, - "isLocked": false, - "linkedName": "TopShootPos" - }, - { - "anchor": { - "x": 7.977813411097562, - "y": 5.765307408477413 - }, - "prevControl": { - "x": 7.152706010246626, - "y": 6.057750537892933 - }, - "nextControl": null, - "isLocked": false, - "linkedName": null - } - ], - "rotationTargets": [], - "constraintZones": [], - "eventMarkers": [], - "globalConstraints": { - "maxVelocity": 3.0, - "maxAcceleration": 3.0, - "maxAngularVelocity": 540.0, - "maxAngularAcceleration": 720.0 - }, - "goalEndState": { - "velocity": 0, - "rotation": 0, - "rotateFast": false - }, - "reversed": false, - "folder": "REDPATH", - "previewStartingState": { - "rotation": 0, - "velocity": 0 - }, - "useDefaultConstraints": true -} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/RED_Sub_BottomNote.path b/src/main/deploy/pathplanner/paths/RED_Sub_BottomNote.path deleted file mode 100644 index a0c0901..0000000 --- a/src/main/deploy/pathplanner/paths/RED_Sub_BottomNote.path +++ /dev/null @@ -1,70 +0,0 @@ -{ - "version": 1.0, - "waypoints": [ - { - "anchor": { - "x": 2.5049491320356694, - "y": 3.2482076160081075 - }, - "prevControl": null, - "nextControl": { - "x": 3.1942793656579687, - "y": 3.07065285886297 - }, - "isLocked": false, - "linkedName": "Sub" - }, - { - "anchor": { - "x": 2.609393106826927, - "y": 4.1046482092964185 - }, - "prevControl": { - "x": 1.828739440442308, - "y": 4.458568326008999 - }, - "nextControl": null, - "isLocked": false, - "linkedName": "Bottom_Note" - } - ], - "rotationTargets": [], - "constraintZones": [], - "eventMarkers": [ - { - "name": "Intake", - "waypointRelativePos": 0.05, - "command": { - "type": "parallel", - "data": { - "commands": [ - { - "type": "named", - "data": { - "name": "SmartIntakeCommand" - } - } - ] - } - } - } - ], - "globalConstraints": { - "maxVelocity": 3.0, - "maxAcceleration": 3.0, - "maxAngularVelocity": 540.0, - "maxAngularAcceleration": 720.0 - }, - "goalEndState": { - "velocity": 0, - "rotation": -25.0, - "rotateFast": false - }, - "reversed": false, - "folder": "REDPATH", - "previewStartingState": { - "rotation": -60.0, - "velocity": 0 - }, - "useDefaultConstraints": true -} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/RED_Sub_MiddleNote.path b/src/main/deploy/pathplanner/paths/RED_Sub_MiddleNote.path deleted file mode 100644 index 2243d3d..0000000 --- a/src/main/deploy/pathplanner/paths/RED_Sub_MiddleNote.path +++ /dev/null @@ -1,70 +0,0 @@ -{ - "version": 1.0, - "waypoints": [ - { - "anchor": { - "x": 2.5049491320356694, - "y": 3.2482076160081075 - }, - "prevControl": null, - "nextControl": { - "x": 3.5049491320356694, - "y": 3.2482076160081075 - }, - "isLocked": false, - "linkedName": "Sub" - }, - { - "anchor": { - "x": 2.602628408103792, - "y": 5.545975061415772 - }, - "prevControl": { - "x": 1.6026284081037918, - "y": 5.545975061415772 - }, - "nextControl": null, - "isLocked": false, - "linkedName": "Middle_Note" - } - ], - "rotationTargets": [], - "constraintZones": [], - "eventMarkers": [ - { - "name": "Intake", - "waypointRelativePos": 0.05, - "command": { - "type": "parallel", - "data": { - "commands": [ - { - "type": "named", - "data": { - "name": "SmartIntakeCommand" - } - } - ] - } - } - } - ], - "globalConstraints": { - "maxVelocity": 3.0, - "maxAcceleration": 3.0, - "maxAngularVelocity": 540.0, - "maxAngularAcceleration": 720.0 - }, - "goalEndState": { - "velocity": 0, - "rotation": 0, - "rotateFast": false - }, - "reversed": false, - "folder": "REDPATH", - "previewStartingState": { - "rotation": 0, - "velocity": 0 - }, - "useDefaultConstraints": true -} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/RED_Sub_Note1.path b/src/main/deploy/pathplanner/paths/RED_Sub_Note1.path deleted file mode 100644 index f55c15c..0000000 --- a/src/main/deploy/pathplanner/paths/RED_Sub_Note1.path +++ /dev/null @@ -1,70 +0,0 @@ -{ - "version": 1.0, - "waypoints": [ - { - "anchor": { - "x": 2.5049491320356694, - "y": 3.2482076160081075 - }, - "prevControl": null, - "nextControl": { - "x": 5.011604527025848, - "y": 3.937537849630406 - }, - "isLocked": false, - "linkedName": "Sub" - }, - { - "anchor": { - "x": 8.036539916496203, - "y": 7.128357032514777 - }, - "prevControl": { - "x": 5.41499614923564, - "y": 6.3763604140177215 - }, - "nextControl": null, - "isLocked": false, - "linkedName": "Note1" - } - ], - "rotationTargets": [], - "constraintZones": [], - "eventMarkers": [ - { - "name": "Intake", - "waypointRelativePos": 0.5, - "command": { - "type": "parallel", - "data": { - "commands": [ - { - "type": "named", - "data": { - "name": "SmartIntakeCommand" - } - } - ] - } - } - } - ], - "globalConstraints": { - "maxVelocity": 3.0, - "maxAcceleration": 3.0, - "maxAngularVelocity": 540.0, - "maxAngularAcceleration": 720.0 - }, - "goalEndState": { - "velocity": 0, - "rotation": 0, - "rotateFast": false - }, - "reversed": false, - "folder": "REDPATH", - "previewStartingState": { - "rotation": 0, - "velocity": 0 - }, - "useDefaultConstraints": true -} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/RED_Sub_Note2.path b/src/main/deploy/pathplanner/paths/RED_Sub_Note2.path deleted file mode 100644 index 82eafe0..0000000 --- a/src/main/deploy/pathplanner/paths/RED_Sub_Note2.path +++ /dev/null @@ -1,70 +0,0 @@ -{ - "version": 1.0, - "waypoints": [ - { - "anchor": { - "x": 2.5049491320356694, - "y": 3.2482076160081075 - }, - "prevControl": null, - "nextControl": { - "x": 4.040275561461933, - "y": 4.731312058049185 - }, - "isLocked": false, - "linkedName": "Sub" - }, - { - "anchor": { - "x": 8.026801723828832, - "y": 5.472864279061892 - }, - "prevControl": { - "x": 6.9092511935571554, - "y": 6.19352770512679 - }, - "nextControl": null, - "isLocked": false, - "linkedName": "Note2" - } - ], - "rotationTargets": [], - "constraintZones": [], - "eventMarkers": [ - { - "name": "Intake", - "waypointRelativePos": 0.5, - "command": { - "type": "parallel", - "data": { - "commands": [ - { - "type": "named", - "data": { - "name": "SmartIntakeCommand" - } - } - ] - } - } - } - ], - "globalConstraints": { - "maxVelocity": 3.0, - "maxAcceleration": 3.0, - "maxAngularVelocity": 540.0, - "maxAngularAcceleration": 720.0 - }, - "goalEndState": { - "velocity": 0, - "rotation": 0, - "rotateFast": false - }, - "reversed": false, - "folder": "REDPATH", - "previewStartingState": { - "rotation": 0, - "velocity": 0 - }, - "useDefaultConstraints": true -} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/RED_Sub_TopNote.path b/src/main/deploy/pathplanner/paths/RED_Sub_TopNote.path deleted file mode 100644 index c3cc816..0000000 --- a/src/main/deploy/pathplanner/paths/RED_Sub_TopNote.path +++ /dev/null @@ -1,70 +0,0 @@ -{ - "version": 1.0, - "waypoints": [ - { - "anchor": { - "x": 2.5049491320356694, - "y": 3.2482076160081075 - }, - "prevControl": null, - "nextControl": { - "x": 3.016724608512831, - "y": 3.728649900047892 - }, - "isLocked": false, - "linkedName": "Sub" - }, - { - "anchor": { - "x": 2.849614248846819, - "y": 6.642636796723976 - }, - "prevControl": { - "x": 2.30650557993228, - "y": 6.183083307642443 - }, - "nextControl": null, - "isLocked": false, - "linkedName": "Top_Note" - } - ], - "rotationTargets": [], - "constraintZones": [], - "eventMarkers": [ - { - "name": "Intake", - "waypointRelativePos": 0.05, - "command": { - "type": "parallel", - "data": { - "commands": [ - { - "type": "named", - "data": { - "name": "SmartIntakeCommand" - } - } - ] - } - } - } - ], - "globalConstraints": { - "maxVelocity": 3.0, - "maxAcceleration": 3.0, - "maxAngularVelocity": 540.0, - "maxAngularAcceleration": 720.0 - }, - "goalEndState": { - "velocity": 0, - "rotation": 40.0, - "rotateFast": false - }, - "reversed": false, - "folder": "REDPATH", - "previewStartingState": { - "rotation": 0, - "velocity": 0 - }, - "useDefaultConstraints": true -} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/RED_TopNote_Sub.path b/src/main/deploy/pathplanner/paths/RED_TopNote_Sub.path deleted file mode 100644 index bfc485f..0000000 --- a/src/main/deploy/pathplanner/paths/RED_TopNote_Sub.path +++ /dev/null @@ -1,52 +0,0 @@ -{ - "version": 1.0, - "waypoints": [ - { - "anchor": { - "x": 2.849614248846819, - "y": 6.642636796723976 - }, - "prevControl": null, - "nextControl": { - "x": 2.3378387723696576, - "y": 6.203972102600694 - }, - "isLocked": false, - "linkedName": "Top_Note" - }, - { - "anchor": { - "x": 2.5049491320356694, - "y": 3.2482076160081075 - }, - "prevControl": { - "x": 2.9331694286798244, - "y": 3.6450947202148853 - }, - "nextControl": null, - "isLocked": false, - "linkedName": "Sub" - } - ], - "rotationTargets": [], - "constraintZones": [], - "eventMarkers": [], - "globalConstraints": { - "maxVelocity": 3.0, - "maxAcceleration": 3.0, - "maxAngularVelocity": 540.0, - "maxAngularAcceleration": 720.0 - }, - "goalEndState": { - "velocity": 0, - "rotation": 0, - "rotateFast": false - }, - "reversed": false, - "folder": "REDPATH", - "previewStartingState": { - "rotation": 40.0, - "velocity": 0 - }, - "useDefaultConstraints": true -} \ No newline at end of file diff --git a/src/main/deploy/pathplanner/paths/changeName.py b/src/main/deploy/pathplanner/paths/changeName.py new file mode 100644 index 0000000..44e443d --- /dev/null +++ b/src/main/deploy/pathplanner/paths/changeName.py @@ -0,0 +1,5 @@ +import os + +for f in os.listdir("."): + if "Sub" in f: + os.remove(f)