Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
elvizer committed Apr 1, 2024
2 parents 1bacbe8 + 9ba33a7 commit 384c944
Show file tree
Hide file tree
Showing 90 changed files with 3,612 additions and 901 deletions.
15 changes: 10 additions & 5 deletions .pathplanner/settings.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
{
"robotWidth": 0.8,
"robotLength": 0.8,
"robotWidth": 0.82,
"robotLength": 0.82,
"holonomicMode": true,
"pathFolders": [
"Starting Paths"
],
"autoFolders": [],
"defaultMaxVel": 3.0,
"autoFolders": [
"bottom",
"center",
"MAIN",
"top"
],
"defaultMaxVel": 4.0,
"defaultMaxAccel": 3.0,
"defaultMaxAngVel": 180.0,
"defaultMaxAngVel": 360.0,
"defaultMaxAngAccel": 360.0,
"maxModuleSpeed": 4.67
}
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@
},
],
"java.test.defaultConfig": "WPIlibUnitTests",
"java.jdt.ls.vmargs": "-XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx2G -Xms100m -Xlog:disable"
"java.jdt.ls.vmargs": "-XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx2G -Xms100m -Xlog:disable",
"editor.tabSize": 2
}
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id "java"
id "edu.wpi.first.GradleRIO" version "2024.3.1"
id "edu.wpi.first.GradleRIO" version "2024.3.2"
// id 'com.diffplug.spotless' version '6.25.0'
}

Expand Down
2 changes: 1 addition & 1 deletion elastic-layout.json

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions simgui.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
"NTProvider": {
"types": {
"/FMSInfo": "FMSInfo",
"/SmartDashboard/ACTUATOR PID": "PIDController",
"/SmartDashboard/AUTON CHOOSER": "String Chooser",
"/SmartDashboard/ELEVATOR PID": "PIDController",
"/SmartDashboard/FIELD": "Field2d",
"/SmartDashboard/Gyro": "Gyro",
"/SmartDashboard/PIDController[1]": "PIDController",
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/autos/1 Piece Auton.auto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
]
}
},
"folder": null,
"folder": "center",
"choreoAuto": false
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
{
"type": "path",
"data": {
"pathName": "REAL AUTON OUT"
"pathName": "c get bot c"
}
},
{
"type": "path",
"data": {
"pathName": "REAL AUTON IN"
"pathName": "c shoot bot c"
}
},
{
Expand All @@ -38,6 +38,6 @@
]
}
},
"folder": null,
"folder": "center",
"choreoAuto": false
}
43 changes: 43 additions & 0 deletions src/main/deploy/pathplanner/autos/2 Piece Auton Line (Bottom).auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 1.308995050422533,
"y": 5.509843091758257
},
"rotation": 180.0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "shoot"
}
},
{
"type": "path",
"data": {
"pathName": "c get bot c"
}
},
{
"type": "named",
"data": {
"name": "actuateInFast"
}
},
{
"type": "named",
"data": {
"name": "shoot"
}
}
]
}
},
"folder": "MAIN",
"choreoAuto": false
}
43 changes: 43 additions & 0 deletions src/main/deploy/pathplanner/autos/2 Piece Auton Line (Center).auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 1.308995050422533,
"y": 5.509843091758257
},
"rotation": 180.0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "shoot"
}
},
{
"type": "path",
"data": {
"pathName": "c get mid c"
}
},
{
"type": "named",
"data": {
"name": "actuateIn"
}
},
{
"type": "named",
"data": {
"name": "shoot"
}
}
]
}
},
"folder": "MAIN",
"choreoAuto": false
}
43 changes: 43 additions & 0 deletions src/main/deploy/pathplanner/autos/2 Piece Auton S.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 1.31,
"y": 5.51
},
"rotation": 180.0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "shoot"
}
},
{
"type": "path",
"data": {
"pathName": "c get bot s"
}
},
{
"type": "path",
"data": {
"pathName": "c shoot bot s"
}
},
{
"type": "named",
"data": {
"name": "shoot"
}
}
]
}
},
"folder": "center",
"choreoAuto": false
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
{
"type": "path",
"data": {
"pathName": "REAL AUTON OUT"
"pathName": "c get mid c"
}
},
{
"type": "path",
"data": {
"pathName": "REAL AUTON IN"
"pathName": "c shoot mid c"
}
},
{
Expand All @@ -38,13 +38,13 @@
{
"type": "path",
"data": {
"pathName": "get mid"
"pathName": "c get bot c"
}
},
{
"type": "path",
"data": {
"pathName": "shoot mid"
"pathName": "c shoot bot c"
}
},
{
Expand All @@ -56,6 +56,6 @@
]
}
},
"folder": null,
"folder": "center",
"choreoAuto": false
}
61 changes: 61 additions & 0 deletions src/main/deploy/pathplanner/autos/3 Piece Auton Line C.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 1.308995050422533,
"y": 5.509843091758257
},
"rotation": 180.0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "shoot"
}
},
{
"type": "path",
"data": {
"pathName": "c get mid c"
}
},
{
"type": "named",
"data": {
"name": "actuateInFast"
}
},
{
"type": "named",
"data": {
"name": "shoot"
}
},
{
"type": "path",
"data": {
"pathName": "l get top c"
}
},
{
"type": "named",
"data": {
"name": "actuateInFast"
}
},
{
"type": "named",
"data": {
"name": "shoot"
}
}
]
}
},
"folder": "MAIN",
"choreoAuto": false
}
61 changes: 61 additions & 0 deletions src/main/deploy/pathplanner/autos/3 Piece Auton Line S.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 1.308995050422533,
"y": 5.509843091758257
},
"rotation": 180.0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "shoot"
}
},
{
"type": "path",
"data": {
"pathName": "c get mid c"
}
},
{
"type": "named",
"data": {
"name": "actuateInFast"
}
},
{
"type": "named",
"data": {
"name": "shoot"
}
},
{
"type": "path",
"data": {
"pathName": "l get top s"
}
},
{
"type": "named",
"data": {
"name": "actuateInFast"
}
},
{
"type": "named",
"data": {
"name": "shoot"
}
}
]
}
},
"folder": "MAIN",
"choreoAuto": false
}
Loading

0 comments on commit 384c944

Please sign in to comment.