w/o auto functionality

telop works but auto stuff commented out
This commit is contained in:
mimigamin
2026-04-07 21:24:03 -06:00
parent 118dcee1c7
commit 9d24dbdc14
27 changed files with 28 additions and 1607 deletions
@@ -1,44 +0,0 @@
{
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Robot Rev Up"
}
},
{
"type": "parallel",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Robot Shoot"
}
},
{
"type": "path",
"data": {
"pathName": "Shoot driving across"
}
},
{
"type": "named",
"data": {
"name": "Robot Shoot Driving"
}
}
]
}
}
]
}
},
"resetOdom": true,
"folder": "Spring Break Tests",
"choreoAuto": false
}
@@ -1,67 +0,0 @@
{
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Intake Extended"
}
},
{
"type": "named",
"data": {
"name": "Robot Rev Up"
}
},
{
"type": "path",
"data": {
"pathName": "Center-Hub-Shoot"
}
},
{
"type": "named",
"data": {
"name": "Robot Shoot"
}
},
{
"type": "named",
"data": {
"name": "Intake Extended"
}
},
{
"type": "path",
"data": {
"pathName": "Center-NeutralL"
}
},
{
"type": "path",
"data": {
"pathName": "HubFarLeft-NeutralZone 1-2"
}
},
{
"type": "named",
"data": {
"name": "Intake Retracted"
}
},
{
"type": "path",
"data": {
"pathName": "HubFarLeft-NeutralZone 2-2"
}
}
]
}
},
"resetOdom": true,
"folder": "Pikes Peak Autos",
"choreoAuto": false
}
@@ -1,67 +0,0 @@
{
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Intake Extended"
}
},
{
"type": "named",
"data": {
"name": "Robot Rev Up"
}
},
{
"type": "path",
"data": {
"pathName": "Center-Hub-Shoot"
}
},
{
"type": "named",
"data": {
"name": "Robot Shoot"
}
},
{
"type": "named",
"data": {
"name": "Intake Extended"
}
},
{
"type": "path",
"data": {
"pathName": "Center-NeutralR"
}
},
{
"type": "path",
"data": {
"pathName": "HubFarRight-NeutralZone 1-2"
}
},
{
"type": "named",
"data": {
"name": "Intake Retracted"
}
},
{
"type": "path",
"data": {
"pathName": "HubFarRight-NeutralZone 2-2"
}
}
]
}
},
"resetOdom": true,
"folder": "Pikes Peak Autos",
"choreoAuto": false
}
@@ -1,56 +0,0 @@
{
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "parallel",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "HubCenter-PlayerStation"
}
},
{
"type": "named",
"data": {
"name": "Intake Extended"
}
}
]
}
},
{
"type": "wait",
"data": {
"waitTime": 2.0
}
},
{
"type": "named",
"data": {
"name": "Robot Rev Up"
}
},
{
"type": "path",
"data": {
"pathName": "CPlayerStation-CShoot"
}
},
{
"type": "named",
"data": {
"name": "Robot Shoot"
}
}
]
}
},
"resetOdom": true,
"folder": "Pikes Peak Autos",
"choreoAuto": false
}
@@ -1,62 +0,0 @@
{
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Intake Extended"
}
},
{
"type": "wait",
"data": {
"waitTime": 0.15
}
},
{
"type": "path",
"data": {
"pathName": "HubFarLeft-NeutralZone 1-2"
}
},
{
"type": "path",
"data": {
"pathName": "HubFarLeft-NeutralZone 2-2"
}
},
{
"type": "parallel",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "HubFarRight-Shoot"
}
},
{
"type": "named",
"data": {
"name": "Robot Rev Up"
}
}
]
}
},
{
"type": "named",
"data": {
"name": "Robot Shoot"
}
}
]
}
},
"resetOdom": true,
"folder": "Pikes Peak Autos",
"choreoAuto": false
}
@@ -1,62 +0,0 @@
{
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Intake Extended"
}
},
{
"type": "wait",
"data": {
"waitTime": 1.5
}
},
{
"type": "path",
"data": {
"pathName": "Copy of HubFarRight-NeutralZone 1-2"
}
},
{
"type": "path",
"data": {
"pathName": "HubFarRight-NeutralZone 2-2"
}
},
{
"type": "parallel",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "HubFarLeft-Shoot"
}
},
{
"type": "named",
"data": {
"name": "Robot Rev Up"
}
}
]
}
},
{
"type": "named",
"data": {
"name": "Robot Shoot"
}
}
]
}
},
"resetOdom": true,
"folder": "Pikes Peak Autos",
"choreoAuto": false
}
@@ -1,37 +0,0 @@
{
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Intake Extended"
}
},
{
"type": "named",
"data": {
"name": "Robot Rev Up"
}
},
{
"type": "path",
"data": {
"pathName": "HubLeft-Shoot"
}
},
{
"type": "named",
"data": {
"name": "Robot Shoot"
}
}
]
}
},
"resetOdom": true,
"folder": "Pikes Peak Autos",
"choreoAuto": false
}
@@ -1,37 +0,0 @@
{
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Intake Extended"
}
},
{
"type": "named",
"data": {
"name": "Robot Rev Up"
}
},
{
"type": "path",
"data": {
"pathName": "HubRight-Shoot"
}
},
{
"type": "named",
"data": {
"name": "Robot Shoot"
}
}
]
}
},
"resetOdom": true,
"folder": "Pikes Peak Autos",
"choreoAuto": false
}
@@ -1,80 +0,0 @@
{
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "parallel",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "HubRight-PlayerStation"
}
},
{
"type": "named",
"data": {
"name": "Intake Extended"
}
}
]
}
},
{
"type": "wait",
"data": {
"waitTime": 2.0
}
},
{
"type": "named",
"data": {
"name": "Robot Rev Up"
}
},
{
"type": "path",
"data": {
"pathName": "PlayerStation-Shoot"
}
},
{
"type": "named",
"data": {
"name": "Robot Shoot"
}
},
{
"type": "named",
"data": {
"name": "Intake Extended"
}
},
{
"type": "path",
"data": {
"pathName": "ReadyPush"
}
},
{
"type": "path",
"data": {
"pathName": "HubFarRight-NeutralZone 1-2"
}
},
{
"type": "path",
"data": {
"pathName": "HubFarRight-NeutralZone 2-2"
}
}
]
}
},
"resetOdom": true,
"folder": "Pikes Peak Autos",
"choreoAuto": false
}
@@ -1,56 +0,0 @@
{
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "parallel",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "HubRight-PlayerStation"
}
},
{
"type": "named",
"data": {
"name": "Intake Extended"
}
}
]
}
},
{
"type": "wait",
"data": {
"waitTime": 2.0
}
},
{
"type": "named",
"data": {
"name": "Robot Rev Up"
}
},
{
"type": "path",
"data": {
"pathName": "PlayerStation-Shoot"
}
},
{
"type": "named",
"data": {
"name": "Robot Shoot"
}
}
]
}
},
"resetOdom": true,
"folder": "Pikes Peak Autos",
"choreoAuto": false
}
@@ -1,55 +0,0 @@
{
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Intake Extended"
}
},
{
"type": "named",
"data": {
"name": "Intake Reference"
}
},
{
"type": "path",
"data": {
"pathName": "LeftTrench-Neutral-Shoot"
}
},
{
"type": "named",
"data": {
"name": "Robot Rev Up"
}
},
{
"type": "named",
"data": {
"name": "BumpOffsetBackward"
}
},
{
"type": "path",
"data": {
"pathName": "LeftRamp-Shoot"
}
},
{
"type": "named",
"data": {
"name": "Robot Shoot"
}
}
]
}
},
"resetOdom": true,
"folder": null,
"choreoAuto": false
}
@@ -1,43 +0,0 @@
{
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Intake Extended"
}
},
{
"type": "path",
"data": {
"pathName": "Bump test"
}
},
{
"type": "named",
"data": {
"name": "BumpOffsetForward"
}
},
{
"type": "path",
"data": {
"pathName": "BumpToCenter"
}
},
{
"type": "path",
"data": {
"pathName": "HubFarLeft-NeutralZone 2-2"
}
}
]
}
},
"resetOdom": true,
"folder": "Spring Break Tests",
"choreoAuto": false
}
@@ -1,43 +0,0 @@
{
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Climber Extended"
}
},
{
"type": "wait",
"data": {
"waitTime": 0.2
}
},
{
"type": "path",
"data": {
"pathName": "LeftTower"
}
},
{
"type": "wait",
"data": {
"waitTime": 0.2
}
},
{
"type": "named",
"data": {
"name": "Climber Retracted"
}
}
]
}
},
"resetOdom": true,
"folder": "Spring Break Tests",
"choreoAuto": false
}
@@ -1,43 +0,0 @@
{
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Climber Extended"
}
},
{
"type": "wait",
"data": {
"waitTime": 0.2
}
},
{
"type": "path",
"data": {
"pathName": "RightTower"
}
},
{
"type": "wait",
"data": {
"waitTime": 0.2
}
},
{
"type": "named",
"data": {
"name": "Climber Retracted"
}
}
]
}
},
"resetOdom": true,
"folder": "Spring Break Tests",
"choreoAuto": false
}
@@ -1,123 +0,0 @@
{
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "parallel",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "LeftBump"
}
},
{
"type": "named",
"data": {
"name": "Intake Extended"
}
}
]
}
},
{
"type": "named",
"data": {
"name": "BumpOffsetForward"
}
},
{
"type": "path",
"data": {
"pathName": "LeftBump-Neutral-Shoot"
}
},
{
"type": "named",
"data": {
"name": "Robot Rev Up"
}
},
{
"type": "named",
"data": {
"name": "BumpOffsetBackward"
}
},
{
"type": "path",
"data": {
"pathName": "LeftRamp-Shoot"
}
},
{
"type": "named",
"data": {
"name": "Robot Shoot"
}
},
{
"type": "parallel",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "LeftBump2"
}
},
{
"type": "named",
"data": {
"name": "Intake Extended"
}
}
]
}
},
{
"type": "named",
"data": {
"name": "BumpOffsetForward"
}
},
{
"type": "path",
"data": {
"pathName": "LeftBump2-Neutral2-Shoot2"
}
},
{
"type": "named",
"data": {
"name": "BumpOffsetBackward"
}
},
{
"type": "named",
"data": {
"name": "Robot Rev Up"
}
},
{
"type": "path",
"data": {
"pathName": "LeftRamp-Shoot"
}
},
{
"type": "named",
"data": {
"name": "Robot Shoot"
}
}
]
}
},
"resetOdom": true,
"folder": null,
"choreoAuto": false
}
@@ -1,68 +0,0 @@
{
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "parallel",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "LeftBump"
}
},
{
"type": "named",
"data": {
"name": "Intake Extended"
}
}
]
}
},
{
"type": "named",
"data": {
"name": "BumpOffsetForward"
}
},
{
"type": "path",
"data": {
"pathName": "LeftBump-Neutral-Shoot"
}
},
{
"type": "named",
"data": {
"name": "Robot Rev Up"
}
},
{
"type": "named",
"data": {
"name": "BumpOffsetBackward"
}
},
{
"type": "path",
"data": {
"pathName": "LeftRamp-Shoot"
}
},
{
"type": "named",
"data": {
"name": "Robot Shoot"
}
}
]
}
},
"resetOdom": true,
"folder": null,
"choreoAuto": false
}
@@ -1,37 +0,0 @@
{
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Intake Extended"
}
},
{
"type": "named",
"data": {
"name": "Robot Rev Up"
}
},
{
"type": "path",
"data": {
"pathName": "Center-Hub-Shoot"
}
},
{
"type": "named",
"data": {
"name": "Robot Shoot"
}
}
]
}
},
"resetOdom": true,
"folder": "Pikes Peak Autos",
"choreoAuto": false
}
@@ -1,123 +0,0 @@
{
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "parallel",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "RightBump"
}
},
{
"type": "named",
"data": {
"name": "Intake Extended"
}
}
]
}
},
{
"type": "named",
"data": {
"name": "BumpOffsetForward"
}
},
{
"type": "path",
"data": {
"pathName": "RightBump-Neutral-Shoot"
}
},
{
"type": "named",
"data": {
"name": "Robot Rev Up"
}
},
{
"type": "named",
"data": {
"name": "BumpOffsetBackward"
}
},
{
"type": "path",
"data": {
"pathName": "RightRamp-Shoot"
}
},
{
"type": "named",
"data": {
"name": "Robot Shoot"
}
},
{
"type": "parallel",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "RightBump2"
}
},
{
"type": "named",
"data": {
"name": "Intake Extended"
}
}
]
}
},
{
"type": "named",
"data": {
"name": "BumpOffsetForward"
}
},
{
"type": "path",
"data": {
"pathName": "RightBump2-Neutral2-Shoot2"
}
},
{
"type": "named",
"data": {
"name": "BumpOffsetBackward"
}
},
{
"type": "named",
"data": {
"name": "Robot Rev Up"
}
},
{
"type": "path",
"data": {
"pathName": "RightRamp-Shoot"
}
},
{
"type": "named",
"data": {
"name": "Robot Shoot"
}
}
]
}
},
"resetOdom": true,
"folder": null,
"choreoAuto": false
}
@@ -1,68 +0,0 @@
{
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "parallel",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "RightBump"
}
},
{
"type": "named",
"data": {
"name": "Intake Extended"
}
}
]
}
},
{
"type": "named",
"data": {
"name": "BumpOffsetForward"
}
},
{
"type": "path",
"data": {
"pathName": "RightBump-Neutral-Shoot"
}
},
{
"type": "named",
"data": {
"name": "Robot Rev Up"
}
},
{
"type": "named",
"data": {
"name": "BumpOffsetBackward"
}
},
{
"type": "path",
"data": {
"pathName": "RightRamp-Shoot"
}
},
{
"type": "named",
"data": {
"name": "Robot Shoot"
}
}
]
}
},
"resetOdom": true,
"folder": null,
"choreoAuto": false
}
@@ -1,156 +0,0 @@
{
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Intake Extended"
}
},
{
"type": "named",
"data": {
"name": "Intake Reference"
}
},
{
"type": "parallel",
"data": {
"commands": [
{
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "RightTrench-Neutral-Shoot"
}
},
{
"type": "path",
"data": {
"pathName": "RightRamp-Shoot"
}
},
{
"type": "named",
"data": {
"name": "BumpOffsetBackward"
}
}
]
}
},
{
"type": "sequential",
"data": {
"commands": [
{
"type": "wait",
"data": {
"waitTime": 4.35
}
},
{
"type": "named",
"data": {
"name": "Robot Rev Up"
}
},
{
"type": "wait",
"data": {
"waitTime": 1.5
}
},
{
"type": "parallel",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Robot Shoot Driving"
}
},
{
"type": "named",
"data": {
"name": "Robot Shoot"
}
}
]
}
}
]
}
},
{
"type": "sequential",
"data": {
"commands": [
{
"type": "wait",
"data": {
"waitTime": 1.5
}
},
{
"type": "named",
"data": {
"name": "Labubu Growl"
}
}
]
}
}
]
}
},
{
"type": "named",
"data": {
"name": "Intake Extended"
}
},
{
"type": "path",
"data": {
"pathName": "ShotRightR-PlayerStation"
}
},
{
"type": "wait",
"data": {
"waitTime": 2.0
}
},
{
"type": "named",
"data": {
"name": "Robot Rev Up"
}
},
{
"type": "path",
"data": {
"pathName": "PlayerStation-Shoot"
}
},
{
"type": "named",
"data": {
"name": "Robot Shoot"
}
}
]
}
},
"resetOdom": true,
"folder": null,
"choreoAuto": false
}
@@ -1,55 +0,0 @@
{
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Intake Extended"
}
},
{
"type": "named",
"data": {
"name": "Intake Reference"
}
},
{
"type": "path",
"data": {
"pathName": "RightTrench-Neutral-Shoot"
}
},
{
"type": "named",
"data": {
"name": "Robot Rev Up"
}
},
{
"type": "named",
"data": {
"name": "BumpOffsetBackward"
}
},
{
"type": "path",
"data": {
"pathName": "RightRamp-Shoot"
}
},
{
"type": "named",
"data": {
"name": "Robot Shoot"
}
}
]
}
},
"resetOdom": true,
"folder": null,
"choreoAuto": false
}
@@ -1,137 +0,0 @@
{
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Intake Extended"
}
},
{
"type": "named",
"data": {
"name": "Intake Reference"
}
},
{
"type": "parallel",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "RightTrench-Neutral-Trench-Shoot"
}
},
{
"type": "sequential",
"data": {
"commands": [
{
"type": "wait",
"data": {
"waitTime": 13.1
}
},
{
"type": "named",
"data": {
"name": "Robot Rev Up"
}
},
{
"type": "wait",
"data": {
"waitTime": 1.5
}
},
{
"type": "parallel",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Robot Shoot Driving"
}
},
{
"type": "named",
"data": {
"name": "Robot Shoot"
}
}
]
}
}
]
}
},
{
"type": "sequential",
"data": {
"commands": [
{
"type": "wait",
"data": {
"waitTime": 1.5
}
},
{
"type": "named",
"data": {
"name": "Labubu Growl"
}
}
]
}
}
]
}
},
{
"type": "named",
"data": {
"name": "Intake Extended"
}
},
{
"type": "path",
"data": {
"pathName": "ShotRightT-PlayerStation"
}
},
{
"type": "wait",
"data": {
"waitTime": 2.0
}
},
{
"type": "named",
"data": {
"name": "Robot Rev Up"
}
},
{
"type": "path",
"data": {
"pathName": "PlayerStation-Shoot"
}
},
{
"type": "named",
"data": {
"name": "Robot Shoot"
}
}
]
}
},
"resetOdom": true,
"folder": null,
"choreoAuto": false
}
@@ -1,19 +0,0 @@
{
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "Stupidauto"
}
}
]
}
},
"resetOdom": true,
"folder": null,
"choreoAuto": false
}
@@ -1,43 +0,0 @@
{
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Intake Extended"
}
},
{
"type": "named",
"data": {
"name": "Intake Reference"
}
},
{
"type": "path",
"data": {
"pathName": "RightTrench-FirstSwipe"
}
},
{
"type": "named",
"data": {
"name": "Robot Rev Up"
}
},
{
"type": "named",
"data": {
"name": "Robot Shoot"
}
}
]
}
},
"resetOdom": true,
"folder": null,
"choreoAuto": false
}
+7 -5
View File
@@ -82,7 +82,6 @@ public class Robot extends LoggedRobot {
// and running subsystem periodic() methods. This must be called from the robot's periodic // and running subsystem periodic() methods. This must be called from the robot's periodic
// block in order for anything in the Command-based framework to work. // block in order for anything in the Command-based framework to work.
CommandScheduler.getInstance().run(); CommandScheduler.getInstance().run();
} }
/** /**
* This function is called once each time the robot enters Disabled mode. * This function is called once each time the robot enters Disabled mode.
@@ -251,10 +250,13 @@ public class Robot extends LoggedRobot {
// Set up data receivers & replay source // Set up data receivers & replay source
switch (SimConstants.currentMode) { switch (SimConstants.currentMode) {
case REAL: case REAL:
// Running on a real robot, log to a USB stick ("/U/logs") try {
Logger.addDataReceiver(new WPILOGWriter()); Logger.addDataReceiver(new WPILOGWriter());
Logger.addDataReceiver(new NT4Publisher()); } catch (Exception e) {
break; System.out.println("[AdvantageKit] Failed to open log file, skipping USB logging: " + e.getMessage());
}
Logger.addDataReceiver(new NT4Publisher());
break;
case SIM: case SIM:
// Running a physics simulator, log to NT // Running a physics simulator, log to NT
+15 -15
View File
@@ -138,7 +138,8 @@ public class RobotContainer {
private Command RobotRev = new SequentialCommandGroup( private Command RobotRev = new SequentialCommandGroup(
new InstantCommand(() -> m_robotShooter.spinUpShooting(), m_robotShooter), new InstantCommand(() -> m_robotShooter.spinUpShooting(), m_robotShooter),
IntakeExtended, new InstantCommand(() -> m_robotIntake.setMode(IntakeMode.RectractTorque), m_robotIntake)
,
new InstantCommand(() -> m_robotIntake.setMode(IntakeMode.ExpelBalls), m_robotIntake) new InstantCommand(() -> m_robotIntake.setMode(IntakeMode.ExpelBalls), m_robotIntake)
// new InstantCommand(() -> m_robotIntake.setMode(IntakeMode.Idle), m_robotIntake) // new InstantCommand(() -> m_robotIntake.setMode(IntakeMode.Idle), m_robotIntake)
); );
@@ -165,7 +166,7 @@ public class RobotContainer {
new InstantCommand(() -> m_robotIntake.setMode(IntakeMode.Idle), m_robotIntake), new InstantCommand(() -> m_robotIntake.setMode(IntakeMode.Idle), m_robotIntake),
new InstantCommand(()-> m_robotShooter.allowShooting(), m_robotShooter), new InstantCommand(()-> m_robotShooter.allowShooting(), m_robotShooter),
new WaitCommand(3), new WaitCommand(3),
IntakeRetracted, new InstantCommand(() -> m_robotIntake.setMode(IntakeMode.RectractTorque), m_robotIntake),
new WaitCommand(4.5), new WaitCommand(4.5),
new InstantCommand(() -> m_robotShooter.denyShooting(), m_robotShooter), new InstantCommand(() -> m_robotShooter.denyShooting(), m_robotShooter),
new InstantCommand(()->m_robotShooter.spinUpIdle(), m_robotShooter) new InstantCommand(()->m_robotShooter.spinUpIdle(), m_robotShooter)
@@ -191,19 +192,19 @@ public class RobotContainer {
m_robotShooter.io.updateGains(); m_robotShooter.io.updateGains();
}, true); }, true);
NamedCommands.registerCommand("Robot Rev Up", RobotRev); // NamedCommands.registerCommand("Robot Rev Up", RobotRev);
NamedCommands.registerCommand("Intake Retracted", IntakeRetracted); // NamedCommands.registerCommand("Intake Retracted", IntakeRetracted);
NamedCommands.registerCommand("Robot Shoot", RobotShoot); // NamedCommands.registerCommand("Robot Shoot", RobotShoot);
// NamedCommands.registerCommand("Lidar Intake", LidarIntake); // NamedCommands.registerCommand("Lidar Intake", LidarIntake);
NamedCommands.registerCommand("Intake Extended", IntakeExtended); // NamedCommands.registerCommand("Intake Extended", IntakeExtended);
NamedCommands.registerCommand("Labubu Growl", LabubuGrowl); // NamedCommands.registerCommand("Labubu Growl", LabubuGrowl);
NamedCommands.registerCommand("Robot Shoot Driving", RobotShootDriving); // NamedCommands.registerCommand("Robot Shoot Driving", RobotShootDriving);
NamedCommands.registerCommand("Intake Reference", WaitIntakeReference); // NamedCommands.registerCommand("Intake Reference", WaitIntakeReference);
NamedCommands.registerCommand("WaitShooter", new WaitUntilCommand(m_robotShooter::isShooterUpToSpeed)); // NamedCommands.registerCommand("WaitShooter", new WaitUntilCommand(m_robotShooter::isShooterUpToSpeed));
NamedCommands.registerCommand("AllowShooting", new InstantCommand(() -> m_robotShooter.allowShooting(), m_robotShooter)); // NamedCommands.registerCommand("AllowShooting", new InstantCommand(() -> m_robotShooter.allowShooting(), m_robotShooter));
NamedCommands.registerCommand("DenyShooting", new InstantCommand(() -> m_robotShooter.denyShooting(), m_robotShooter)); // NamedCommands.registerCommand("DenyShooting", new InstantCommand(() -> m_robotShooter.denyShooting(), m_robotShooter));
NamedCommands.registerCommand("SpinUpShooting", new InstantCommand(() -> m_robotShooter.spinUpShooting(), m_robotShooter)); // NamedCommands.registerCommand("SpinUpShooting", new InstantCommand(() -> m_robotShooter.spinUpShooting(), m_robotShooter));
NamedCommands.registerCommand("SpinUpIdle", new InstantCommand(() -> m_robotShooter.spinUpIdle(), m_robotShooter)); // NamedCommands.registerCommand("SpinUpIdle", new InstantCommand(() -> m_robotShooter.spinUpIdle(), m_robotShooter));
NamedCommands.registerCommand("BumpOffsetForward", new InstantCommand(() -> { NamedCommands.registerCommand("BumpOffsetForward", new InstantCommand(() -> {
if (TimesNegativeOne.isRed) { if (TimesNegativeOne.isRed) {
@@ -361,7 +362,6 @@ public class RobotContainer {
//set shooter ready (rev) with left trigger hold //set shooter ready (rev) with left trigger hold
new Trigger(() -> getDeadbandedOperatorController().getLeftTriggerAxis() >= 0.5) new Trigger(() -> getDeadbandedOperatorController().getLeftTriggerAxis() >= 0.5)
.onTrue(new InstantCommand(() -> { .onTrue(new InstantCommand(() -> {
m_robotIntake.setMode(IntakeMode.Idle);
m_robotShooter.spinUpShooting(); m_robotShooter.spinUpShooting();
})) }))
.onFalse(new InstantCommand(() -> { .onFalse(new InstantCommand(() -> {
@@ -7,12 +7,12 @@ public final class BuildConstants {
public static final String MAVEN_GROUP = ""; public static final String MAVEN_GROUP = "";
public static final String MAVEN_NAME = "2026KPopRobotHunters"; public static final String MAVEN_NAME = "2026KPopRobotHunters";
public static final String VERSION = "unspecified"; public static final String VERSION = "unspecified";
public static final int GIT_REVISION = 221; public static final int GIT_REVISION = 222;
public static final String GIT_SHA = "1636a054ed1e688234fe329b76f567d6af08081f"; public static final String GIT_SHA = "118dcee1c7dca32d23fa40f275d9ba433046fcf4";
public static final String GIT_DATE = "2026-04-06 22:44:17 MDT"; public static final String GIT_DATE = "2026-04-07 20:37:26 MDT";
public static final String GIT_BRANCH = "New-Intake"; public static final String GIT_BRANCH = "GetRidOfError";
public static final String BUILD_DATE = "2026-04-07 20:27:10 MDT"; public static final String BUILD_DATE = "2026-04-07 21:22:57 MDT";
public static final long BUILD_UNIX_TIME = 1775615230294L; public static final long BUILD_UNIX_TIME = 1775618577390L;
public static final int DIRTY = 1; public static final int DIRTY = 1;
private BuildConstants(){} private BuildConstants(){}