Skip to content

Commit

Permalink
MoKan Champs (#10)
Browse files Browse the repository at this point in the history
* Limelight update to mega pose2

* Spotless

* Update PrepRevAmp.java

* Amping up the Amp button

* Amp Point & Shooter Tuning

* Trap score tweaked, middle race improved, initial source race

* Lobbing & Shooting trig fixes + Lob speed interpolation

* Source side and middle split autos

Did not re-test middle race 5 note.

* Update to phoneix 6 24.3.0.

* Source 5-4 updates and added WIP madtown auto.

* wednesday changes

- cleaned up passing logic
- updated madtown auto
- updated split 3 auto
- wip split 2 auto

* Improve middle split 2 auto consistency.

* Try to make madtown auto faster.

* spotless

* Add blue subwoofer pose reset.

* Add relocalize button to CD controller

* Remove possible pathfinding on CD Controller

* post practice

* Beginning saturday.

* Update trap RPM, tested in pit.

* mokan source 5-4 blue adjust, auto 5-4 stutter

* Spotless

---------

Co-authored-by: Mallen220 <[email protected]>
Co-authored-by: Lithiuman <[email protected]>
  • Loading branch information
3 people authored Jun 18, 2024
1 parent bf0c034 commit cd80319
Show file tree
Hide file tree
Showing 104 changed files with 5,923 additions and 2,438 deletions.
14 changes: 12 additions & 2 deletions .pathplanner/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,22 @@
"GKC",
"GKC Amp",
"GKC Source",
"lame",
"Madtown",
"Middle Race",
"Middle Split 3",
"Middle Split 2",
"Source 5-4",
"Source_5-4",
"amp_side",
"lame",
"source_side",
"temp"
],
"autoFolders": [],
"autoFolders": [
"IRI",
"Madtown",
"Source 5-4"
],
"defaultMaxVel": 4.0,
"defaultMaxAccel": 3.0,
"defaultMaxAngVel": 540.0,
Expand Down
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
"Xstance"
],
"wpilib.autoStartRioLog": false,
"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",
"java.debug.settings.onBuildFailureProceed": true
}

1 change: 1 addition & 0 deletions networktables.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
92 changes: 92 additions & 0 deletions simgui-ds.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
{
"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
}
]
}
65 changes: 65 additions & 0 deletions simgui.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"HALProvider": {
"RoboRIO": {
"window": {
"visible": true
}
}
},
"NTProvider": {
"types": {
"/FMSInfo": "FMSInfo",
"/Pose": "Field2d",
"/Shuffleboard/COMMANDS/Brake Swerve": "Command",
"/Shuffleboard/COMMANDS/Coast Swerve": "Command",
"/Shuffleboard/COMMANDS/Force Zero All": "Command",
"/Shuffleboard/COMMANDS/Lob Note": "Command",
"/Shuffleboard/COMMANDS/NewShootAMpAuto": "Command",
"/Shuffleboard/COMMANDS/SetPoseRedSubStart": "Command",
"/Shuffleboard/COMMANDS/ShootAmp": "Command",
"/Shuffleboard/COMMANDS/Stop Logger": "Command",
"/Shuffleboard/COMMANDS/Unjam Shooter": "Command",
"/Shuffleboard/ELEVATOR/Brake": "Command",
"/Shuffleboard/ELEVATOR/Coast": "Command",
"/Shuffleboard/ELEVATOR/GoTo DesiredLen": "Command",
"/Shuffleboard/ELEVATOR/ZERO SUBSYSTEM": "Command",
"/Shuffleboard/INTAKE/Start": "Command",
"/Shuffleboard/INTAKE/Stop": "Command",
"/Shuffleboard/MATCH/Auto": "String Chooser",
"/Shuffleboard/MATCH/Full confidence": "Command",
"/Shuffleboard/PHOTON/Collect Note Auto": "Command",
"/Shuffleboard/PHOTON/Drive To Note": "Command",
"/Shuffleboard/PHOTON/Drive To Note Auto": "Command",
"/Shuffleboard/SHOOTER/Reverse Feeder": "Command",
"/Shuffleboard/SHOOTER/Spit Note": "Command",
"/Shuffleboard/SHOOTER/Stop Feed": "Command",
"/Shuffleboard/SHOOTER/Stop Shoot": "Command",
"/Shuffleboard/WRIST/GoTo Desired DEG": "Command",
"/Shuffleboard/WRIST/Re-Home": "Command",
"/Shuffleboard/WRIST/Set Brake": "Command",
"/Shuffleboard/WRIST/Set Coast": "Command",
"/SmartDashboard/Module 0": "Mechanism2d",
"/SmartDashboard/Module 1": "Mechanism2d",
"/SmartDashboard/Module 2": "Mechanism2d",
"/SmartDashboard/Module 3": "Mechanism2d"
}
},
"NetworkTables Info": {
"Clients": {
"open": true
},
"Connections": {
"open": true
},
"Server": {
"Publishers": {
"open": true
},
"Subscribers": {
"open": true
},
"open": true
},
"visible": true
}
}
25 changes: 25 additions & 0 deletions src/main/deploy/pathplanner/autos/Madtown Initial.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 1.4,
"y": 3.3
},
"rotation": 0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "Madtown A"
}
}
]
}
},
"folder": "Madtown",
"choreoAuto": false
}
99 changes: 99 additions & 0 deletions src/main/deploy/pathplanner/autos/Middle Race Cleanup.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 1.3731168748868172,
"y": 5.547507658600387
},
"rotation": 0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "ShootSubwooferFirstHalf"
}
},
{
"type": "parallel",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "DefaultWrist"
}
},
{
"type": "named",
"data": {
"name": "DefaultShooter"
}
},
{
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "Middle Race 1"
}
},
{
"type": "path",
"data": {
"pathName": "Middle Race 2 Success"
}
},
{
"type": "named",
"data": {
"name": "AutoCollectNote"
}
},
{
"type": "named",
"data": {
"name": "DisableWristLockDown"
}
},
{
"type": "path",
"data": {
"pathName": "Middle Race 3"
}
},
{
"type": "named",
"data": {
"name": "AutoCollectNote"
}
},
{
"type": "named",
"data": {
"name": "DisableWristLockDown"
}
},
{
"type": "named",
"data": {
"name": "AutoAimAndShoot"
}
}
]
}
}
]
}
}
]
}
},
"folder": "IRI",
"choreoAuto": false
}
Loading

0 comments on commit cd80319

Please sign in to comment.