Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add even better autos for VAFAL #161

Merged
merged 12 commits into from
Mar 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import java.text.SimpleDateFormat

plugins {
id "java"
id "edu.wpi.first.GradleRIO" version "2024.3.1"
id "edu.wpi.first.GradleRIO" version "2024.3.2"
id "com.peterabeles.gversion" version "1.10"
id "com.diffplug.spotless" version "6.24.0"
id 'org.ajoberstar.grgit' version "5.2.1"
Expand Down
25 changes: 25 additions & 0 deletions src/main/deploy/pathplanner/autos/S1-C1-C2-C3.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 0.7669041752815247,
"y": 6.6683197021484375
},
"rotation": -120.0002806121996
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "5-Note Far"
}
}
]
}
},
"folder": null,
"choreoAuto": true
}
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/autos/S1-W1-C1-C2.auto
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
{
"type": "wait",
"data": {
"waitTime": 0.75
"waitTime": 0.8
}
},
{
Expand Down
97 changes: 97 additions & 0 deletions src/main/deploy/pathplanner/autos/S2-C1-C2-C3.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 1.441414260288271,
"y": 5.463073824179848
},
"rotation": 180.0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Shoot Scoring"
}
},
{
"type": "path",
"data": {
"pathName": "S2-C1"
}
},
{
"type": "named",
"data": {
"name": "Aim Scoring"
}
},
{
"type": "path",
"data": {
"pathName": "C1-E1"
}
},
{
"type": "named",
"data": {
"name": "Shoot Scoring"
}
},
{
"type": "path",
"data": {
"pathName": "E1-C2"
}
},
{
"type": "named",
"data": {
"name": "Aim Scoring"
}
},
{
"type": "path",
"data": {
"pathName": "C2-E1"
}
},
{
"type": "named",
"data": {
"name": "Shoot Scoring"
}
},
{
"type": "named",
"data": {
"name": "Disable Auto-Align"
}
},
{
"type": "path",
"data": {
"pathName": "E1-C3"
}
},
{
"type": "named",
"data": {
"name": "Enable Auto-Align"
}
},
{
"type": "path",
"data": {
"pathName": "C3-E1"
}
}
]
}
},
"folder": null,
"choreoAuto": false
}
55 changes: 55 additions & 0 deletions src/main/deploy/pathplanner/autos/S2-C1-C2-Special.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 1.441414260288271,
"y": 5.463073824179848
},
"rotation": 180.0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "wait",
"data": {
"waitTime": 0.8
}
},
{
"type": "path",
"data": {
"pathName": "S2-C1"
}
},
{
"type": "path",
"data": {
"pathName": "C1-E1"
}
},
{
"type": "wait",
"data": {
"waitTime": 0.2
}
},
{
"type": "path",
"data": {
"pathName": "E1-C2"
}
},
{
"type": "path",
"data": {
"pathName": "C2-E1"
}
}
]
}
},
"folder": null,
"choreoAuto": false
}
73 changes: 73 additions & 0 deletions src/main/deploy/pathplanner/autos/S2-C1-C2.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 1.441414260288271,
"y": 5.463073824179848
},
"rotation": 180.0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "wait",
"data": {
"waitTime": 0.4
}
},
{
"type": "named",
"data": {
"name": "Disable Auto-Align"
}
},
{
"type": "path",
"data": {
"pathName": "S2-C1"
}
},
{
"type": "named",
"data": {
"name": "Enable Auto-Align"
}
},
{
"type": "path",
"data": {
"pathName": "C1-E1"
}
},
{
"type": "named",
"data": {
"name": "Disable Auto-Align"
}
},
{
"type": "path",
"data": {
"pathName": "E1-C2"
}
},
{
"type": "named",
"data": {
"name": "Enable Auto-Align"
}
},
{
"type": "path",
"data": {
"pathName": "C2-E1"
}
}
]
}
},
"folder": null,
"choreoAuto": false
}
85 changes: 85 additions & 0 deletions src/main/deploy/pathplanner/autos/S2-W3-W2-W1-C1.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 1.441414260288271,
"y": 5.463073824179848
},
"rotation": 180.0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Shoot Scoring"
}
},
{
"type": "wait",
"data": {
"waitTime": 1.0
}
},
{
"type": "path",
"data": {
"pathName": "S2-W3"
}
},
{
"type": "wait",
"data": {
"waitTime": 0.3
}
},
{
"type": "path",
"data": {
"pathName": "W3-W2"
}
},
{
"type": "wait",
"data": {
"waitTime": 0.3
}
},
{
"type": "path",
"data": {
"pathName": "W2-W1"
}
},
{
"type": "path",
"data": {
"pathName": "W1-C1"
}
},
{
"type": "named",
"data": {
"name": "Aim Scoring"
}
},
{
"type": "path",
"data": {
"pathName": "C1-E1"
}
},
{
"type": "named",
"data": {
"name": "Shoot Scoring"
}
}
]
}
},
"folder": null,
"choreoAuto": false
}
Loading
Loading