Skip to content

Commit

Permalink
Autos (more of them) (#276)
Browse files Browse the repository at this point in the history
* tested

* PreloadOnly Shooting Logic matches WingOnly

* Taxi + Preload at S4 and Just Taxi at S5

* make paths

* night night

* Centerline tested and working

* create autos for centerline down

* new wheel diameter

* trap full send

* right before infill

* ngithg night :D im tiredsddd

* QUAL 47!!!!!!

* ripped shang-chi's eyes out :(

* lower presets and auto game piece detection

* After our FIRST Playoff
  • Loading branch information
ACat701 authored Mar 26, 2024
1 parent b33f57c commit f7a345f
Show file tree
Hide file tree
Showing 72 changed files with 3,908 additions and 502 deletions.
3 changes: 2 additions & 1 deletion .pathplanner/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"robotLength": 0.8762995267982555,
"holonomicMode": true,
"pathFolders": [
"Centerline",
"Centerline Down",
"Centerline Up",
"Wing Down",
"Wing Up"
],
Expand Down
9 changes: 9 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,15 @@ deploy {

frcJava(getArtifactTypeClass('FRCJavaArtifact')) {
}
// frcJava(getArtifactTypeClass('FRCJavaArtifact')) {
// // Enable VisualVM connection
// jvmArgs.add("-Dcom.sun.management.jmxremote=true")
// jvmArgs.add("-Dcom.sun.management.jmxremote.port=1198")
// jvmArgs.add("-Dcom.sun.management.jmxremote.local.only=false")
// jvmArgs.add("-Dcom.sun.management.jmxremote.ssl=false")
// jvmArgs.add("-Dcom.sun.management.jmxremote.authenticate=false")
// jvmArgs.add("-Djava.rmi.server.hostname=10.32.55.2")
// }

// Static files artifact
frcStaticFileDeploy(getArtifactTypeClass('FileTreeArtifact')) {
Expand Down
25 changes: 25 additions & 0 deletions src/main/deploy/pathplanner/autos/D C1UntilC5.1.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 7.8,
"y": 7.47
},
"rotation": 180.0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "D C1UntilC5.1"
}
}
]
}
},
"folder": "Centerline Down",
"choreoAuto": false
}
25 changes: 25 additions & 0 deletions src/main/deploy/pathplanner/autos/D C1UntilC5.2.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 7.8,
"y": 5.79
},
"rotation": 180.0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "D C1UntilC5.2"
}
}
]
}
},
"folder": "Centerline Down",
"choreoAuto": false
}
31 changes: 31 additions & 0 deletions src/main/deploy/pathplanner/autos/D C1UntilC5.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 7.8,
"y": 7.47
},
"rotation": 180.0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "D C1UntilC5.1"
}
},
{
"type": "path",
"data": {
"pathName": "D C1UntilC5.2"
}
}
]
}
},
"folder": "Centerline Down",
"choreoAuto": false
}
25 changes: 25 additions & 0 deletions src/main/deploy/pathplanner/autos/D C1sUntilC5s.1.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 7.8,
"y": 7.47
},
"rotation": 180.0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "D C1sUntilC5s.1"
}
}
]
}
},
"folder": "Centerline Down",
"choreoAuto": false
}
25 changes: 25 additions & 0 deletions src/main/deploy/pathplanner/autos/D C1sUntilC5s.2.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 3.9,
"y": 5.55
},
"rotation": 180.0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "D C1sUntilC5s.2"
}
}
]
}
},
"folder": "Centerline Down",
"choreoAuto": false
}
25 changes: 25 additions & 0 deletions src/main/deploy/pathplanner/autos/D C1sUntilC5s.3.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 7.8,
"y": 5.79
},
"rotation": 180.0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "D C1sUntilC5s.3"
}
}
]
}
},
"folder": "Centerline Down",
"choreoAuto": false
}
25 changes: 25 additions & 0 deletions src/main/deploy/pathplanner/autos/D C1sUntilC5s.4.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 3.9,
"y": 5.55
},
"rotation": 180.0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "D C1sUntilC5s.4"
}
}
]
}
},
"folder": "Centerline Down",
"choreoAuto": false
}
49 changes: 49 additions & 0 deletions src/main/deploy/pathplanner/autos/D C1sUntilC5s.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 1.45,
"y": 6.26
},
"rotation": 180.0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "D PsC1"
}
},
{
"type": "path",
"data": {
"pathName": "D C1sUntilC5s.1"
}
},
{
"type": "path",
"data": {
"pathName": "D C1sUntilC5s.2"
}
},
{
"type": "path",
"data": {
"pathName": "D C1sUntilC5s.3"
}
},
{
"type": "path",
"data": {
"pathName": "D C1sUntilC5s.4"
}
}
]
}
},
"folder": "Centerline Down",
"choreoAuto": false
}
8 changes: 4 additions & 4 deletions src/main/deploy/pathplanner/autos/D PsC1.auto
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"version": 1.0,
"startingPose": {
"position": {
"x": 1.446,
"y": 6.263
"x": 1.45,
"y": 6.26
},
"rotation": -179.99998015215715
"rotation": 180.0
},
"command": {
"type": "sequential",
Expand All @@ -21,5 +21,5 @@
}
},
"folder": "Centerline Down",
"choreoAuto": true
"choreoAuto": false
}
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/autos/PsW3sW2sW1s.2.auto
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"version": 1.0,
"startingPose": {
"position": {
"x": 2.18,
"x": 2.29,
"y": 4.1
},
"rotation": 180.0
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/autos/PsW3sW2sW1s.3.auto
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"startingPose": {
"position": {
"x": 2.53,
"y": 5.22
"y": 5.3
},
"rotation": -135.0
},
Expand Down
25 changes: 25 additions & 0 deletions src/main/deploy/pathplanner/autos/S4Taxi.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 1.44,
"y": 3.36
},
"rotation": 180.0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "S4Taxi"
}
}
]
}
},
"folder": null,
"choreoAuto": false
}
25 changes: 25 additions & 0 deletions src/main/deploy/pathplanner/autos/S5Taxi.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 1.438,
"y": 2.0593301773071278
},
"rotation": 180.0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "S5Taxi"
}
}
]
}
},
"folder": null,
"choreoAuto": false
}
25 changes: 25 additions & 0 deletions src/main/deploy/pathplanner/autos/U C5UntilC1.1.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 7.9,
"y": 0.74
},
"rotation": 180.0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "U C5UntilC1.1"
}
}
]
}
},
"folder": "Centerline Up",
"choreoAuto": false
}
Loading

0 comments on commit f7a345f

Please sign in to comment.