Skip to content
This repository has been archived by the owner on Jan 18, 2025. It is now read-only.

Epilogue logging, new LED patterns, and simulated Drivetrain. #2

Open
wants to merge 24 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
eb5bb34
switched to constructor instead of robotInit
Oct 27, 2024
b3310e3
simplified SwerveModuleIOSim for now.
Oct 27, 2024
9a78f42
fleshed out DrivetrainSim
Oct 27, 2024
81a7653
rewrote vision into single subsystem, with struct logging for custom …
Oct 28, 2024
acd5ca6
renamed RobotContainer to simply "Container". Made members of DriverD…
Oct 29, 2024
63a7a53
rewrote PwmLEDs to new built-in pattern & ran pathplanner GUI to add …
Oct 30, 2024
a9f3f56
fixed some issues that were causing simulation to fail prematurely
Oct 30, 2024
100ad6d
added faster LED updating to Robot.java via addPeriodic for thread sa…
Nov 1, 2024
bdc8a99
better logging for drivetrain simulation
Nov 3, 2024
f9952e9
fixed issue with LimelightInputsStruct which was causing field data o…
Nov 4, 2024
2247dc8
trying to resolve issue with LimelightInputs showing 11 items in arra…
Nov 4, 2024
f7b9521
final commit before submitting bug. moved some classes to consolidate…
Nov 4, 2024
7211c65
fixed scheme issue in LimelightInputsStruct. added dummy data and a l…
Nov 4, 2024
3dada05
used static unpackDoubleArray function instead of manually unpacking …
Nov 4, 2024
c1b0a40
better naming in LimelightPose constructors
Nov 4, 2024
bf7dc05
got simulation tracking drivetrain, modules, chassis speeds, and gyro…
Nov 6, 2024
17f298a
fixed LEDs not switching patterns
Nov 6, 2024
b375121
made a cooler autonomous LED pattern
Nov 7, 2024
866ad9c
linux execute permission added to gradlew
zeroClearAmerican Nov 9, 2024
80577bd
added auto-formatter and formatted drive files
zeroClearAmerican Nov 19, 2024
7cf4e1d
revised deprecated feedforward function
zeroClearAmerican Nov 19, 2024
70a715c
Merge ShooterSubsystem IOC impl (#5)
zeroClearAmerican Nov 25, 2024
50f0391
climb IO to drivetain branch request (#6)
ArtsNCrafters Dec 17, 2024
c086df9
Merging intake_io to drivetrain_sim (#7)
EthanElite Dec 17, 2024
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
1 change: 1 addition & 0 deletions .prettierrc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
printWidth: 120
13 changes: 12 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,16 @@
}
},
],
"java.test.defaultConfig": "WPIlibUnitTests"
"java.test.defaultConfig": "WPIlibUnitTests",
"java.format.settings.url": "formatter.xml",
"[java]": {
"editor.formatOnSave": true,
"editor.formatOnPaste": true,
"editor.codeActionsOnSave": [
"editor.action.formatDocument",
],
"editor.detectIndentation": false,
"editor.tabSize": 2
},
"java.import.gradle.annotationProcessing.enabled": false
}
338 changes: 338 additions & 0 deletions formatter.xml

Large diffs are not rendered by default.

Empty file modified gradlew
100644 → 100755
Empty file.
98 changes: 98 additions & 0 deletions simgui-ds.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
{
"keyboardJoysticks": [
{
"axisConfig": [
{
"decKey": 65,
"incKey": 68
},
{
"decKey": 87,
"incKey": 83
},
{
"decKey": 69,
"decayRate": 0.0,
"incKey": 82,
"keyRate": 0.009999999776482582
}
],
"axisCount": 3,
"buttonCount": 4,
"buttonKeys": [
90,
88,
67,
86
],
"povConfig": [
{
"key0": 328,
"key135": 323,
"key180": 322,
"key225": 321,
"key270": 324,
"key315": 327,
"key45": 329,
"key90": 326
}
],
"povCount": 1
},
{
"axisConfig": [
{
"decKey": 74,
"incKey": 76
},
{
"decKey": 73,
"incKey": 75
}
],
"axisCount": 2,
"buttonCount": 4,
"buttonKeys": [
77,
44,
46,
47
],
"povCount": 0
},
{
"axisConfig": [
{
"decKey": 263,
"incKey": 262
},
{
"decKey": 265,
"incKey": 264
}
],
"axisCount": 2,
"buttonCount": 6,
"buttonKeys": [
260,
268,
266,
261,
269,
267
],
"povCount": 0
},
{
"axisCount": 0,
"buttonCount": 0,
"povCount": 0
}
],
"robotJoysticks": [
{
"guid": "78696e70757401000000000000000000",
"useGamepad": true
}
]
}
10 changes: 2 additions & 8 deletions src/main/deploy/pathplanner/autos/SpAmp -2N- S-A1.auto
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 0.82,
"y": 6.48
},
"rotation": 60.0
},
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
Expand Down Expand Up @@ -50,6 +43,7 @@
]
}
},
"resetOdom": true,
"folder": "Amp-Side",
"choreoAuto": false
}
10 changes: 2 additions & 8 deletions src/main/deploy/pathplanner/autos/SpAmp -3N- S-A1-M1.auto
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 0.82,
"y": 6.48
},
"rotation": 60.0
},
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
Expand Down Expand Up @@ -80,6 +73,7 @@
]
}
},
"resetOdom": true,
"folder": "Amp-Side",
"choreoAuto": false
}
10 changes: 2 additions & 8 deletions src/main/deploy/pathplanner/autos/SpCenter -2N- S-A2.auto
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 1.3,
"y": 5.5
},
"rotation": 0.0
},
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
Expand Down Expand Up @@ -56,6 +49,7 @@
]
}
},
"resetOdom": true,
"folder": "Center",
"choreoAuto": false
}
10 changes: 2 additions & 8 deletions src/main/deploy/pathplanner/autos/SpCenter -3N- S-A2-A1.auto
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 1.3,
"y": 5.5
},
"rotation": 0.0
},
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
Expand Down Expand Up @@ -86,6 +79,7 @@
]
}
},
"resetOdom": true,
"folder": "Center",
"choreoAuto": false
}
10 changes: 2 additions & 8 deletions src/main/deploy/pathplanner/autos/SpCenter -3N- S-A2-M2.auto
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 1.3,
"y": 5.5
},
"rotation": 0.0
},
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
Expand Down Expand Up @@ -86,6 +79,7 @@
]
}
},
"resetOdom": true,
"folder": "Center",
"choreoAuto": false
}
10 changes: 2 additions & 8 deletions src/main/deploy/pathplanner/autos/SpCenter -3N- S-A3-A2.auto
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 1.3,
"y": 5.5
},
"rotation": 0.0
},
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
Expand Down Expand Up @@ -86,6 +79,7 @@
]
}
},
"resetOdom": true,
"folder": "Center",
"choreoAuto": false
}
10 changes: 2 additions & 8 deletions src/main/deploy/pathplanner/autos/SpCenter -4N- S-A3-A2-A1.auto
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 1.3,
"y": 5.5
},
"rotation": 0.0
},
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
Expand Down Expand Up @@ -116,6 +109,7 @@
]
}
},
"resetOdom": true,
"folder": "Center",
"choreoAuto": false
}
10 changes: 2 additions & 8 deletions src/main/deploy/pathplanner/autos/SpCenter-A2-M3.auto
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 1.2997503472484422,
"y": 5.5
},
"rotation": 0
},
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
Expand Down Expand Up @@ -80,6 +73,7 @@
]
}
},
"resetOdom": true,
"folder": "Center",
"choreoAuto": false
}
10 changes: 2 additions & 8 deletions src/main/deploy/pathplanner/autos/SpSource -1N- S-M5.Grab.auto
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 0.8,
"y": 4.6
},
"rotation": -60.0
},
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
Expand Down Expand Up @@ -44,6 +37,7 @@
]
}
},
"resetOdom": true,
"folder": "Source-Side",
"choreoAuto": false
}
10 changes: 2 additions & 8 deletions src/main/deploy/pathplanner/autos/SpSource -2N- S-A3.auto
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 0.8,
"y": 4.6
},
"rotation": -60.0
},
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
Expand Down Expand Up @@ -50,6 +43,7 @@
]
}
},
"resetOdom": true,
"folder": "Source-Side",
"choreoAuto": false
}
10 changes: 2 additions & 8 deletions src/main/deploy/pathplanner/autos/SpSource -2N- S-M4.auto
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 0.8,
"y": 4.6
},
"rotation": -60.0
},
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
Expand Down Expand Up @@ -50,6 +43,7 @@
]
}
},
"resetOdom": true,
"folder": "Source-Side",
"choreoAuto": false
}
10 changes: 2 additions & 8 deletions src/main/deploy/pathplanner/autos/SpSource -3N- S-A3-M4.auto
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 0.8,
"y": 4.6
},
"rotation": -60.0
},
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
Expand Down Expand Up @@ -80,6 +73,7 @@
]
}
},
"resetOdom": true,
"folder": "Source-Side",
"choreoAuto": false
}
Loading