Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
165 commits
Select commit Hold shift + click to select a range
5a6ad2d
maybe it works, who konws?
therekrab Jan 22, 2026
2905216
Created error handling, and I think I'm good to run more tests.
therekrab Jan 22, 2026
0b1b4d9
it maybe works?
therekrab Jan 23, 2026
6947110
Updated climb & turret motor IDs
HeidiG2007 Jan 31, 2026
bc8a813
update with main
therekrab Feb 3, 2026
08c6100
improve names
Feb 6, 2026
1331cd7
Clean up indexer logic
therekrab Feb 7, 2026
61da571
Add javadocs
therekrab Feb 7, 2026
959370c
Apply formatting
therekrab Feb 7, 2026
894a2a1
move robot bindings into the actual robot bindings class
therekrab Feb 7, 2026
9baa3d8
add support for visualvm (but disabled)
Feb 7, 2026
be76189
enabled visualvm
Feb 7, 2026
6cf2628
Finiished Creating PID Constants finally.
Feb 7, 2026
5691efe
Add AP
Feb 7, 2026
027e13b
Autopilot seems to be working
Feb 7, 2026
f931afa
Merge branch 'turret3d' into indexer + fix clamp
therekrab Feb 9, 2026
76822df
Merge remote-tracking branch 'origin' into ClimbSubsystems
HeidiG2007 Feb 9, 2026
743db84
Working Test
Feb 10, 2026
b05b05a
Add camera configurations
therekrab Feb 11, 2026
63761b1
Made climber test
HeidiG2007 Feb 12, 2026
3067ec8
Created CameraConfig class and "implement" it
therekrab Feb 13, 2026
8b15be0
Merge branch 'turret3d' into cameras-v2
therekrab Feb 13, 2026
698a966
Potentially add moving camera!?
therekrab Feb 13, 2026
1549e8a
Add constants
therekrab Feb 13, 2026
054f4d7
Created the Led_Subsystem using interfaces
Feb 14, 2026
8e48133
the animations weren't being applied.
Feb 14, 2026
ae9fb65
Merge branch 'main' into ClimbSubsystems
therekrab Feb 14, 2026
0356513
Merge branch 'main' into led_subystem_two
Feb 14, 2026
de4b737
Merge branch 'main' into indexer
therekrab Feb 14, 2026
a4a00ab
Merge branch 'main' into indexer
therekrab Feb 14, 2026
a9b06e6
Remove comment
therekrab Feb 14, 2026
23af2e0
Merge branch 'intake_subsystem' into indexer
therekrab Feb 14, 2026
1c84076
Update turret readme
therekrab Feb 14, 2026
40f1315
start tuning stuff
therekrab Feb 16, 2026
fb3dc14
Added cam6.json to calibrated cameras
therekrab Feb 16, 2026
6875cda
Start tuning shooter.
therekrab Feb 16, 2026
264217d
start tuning stuff
therekrab Feb 16, 2026
ea6ed79
Merge branch 'intake_subsystem' of https://github.com/hackbots-3414/2…
therekrab Feb 16, 2026
323d3c8
Merge branch 'intake_subsystem' into tuning
therekrab Feb 16, 2026
fe67399
Merge branch 'main' into indexer
therekrab Feb 16, 2026
45604bd
get functionalish shooter but its slow and kills the batter...
therekrab Feb 16, 2026
5be69d5
Merge branch 'tuning' into indexer
therekrab Feb 16, 2026
a3256c1
Merge branch 'main' into characerization
therekrab Feb 16, 2026
40a26f0
Merge branch 'indexer' into characerization
therekrab Feb 16, 2026
36c77d7
holy shoooooooter
therekrab Feb 17, 2026
cb23c16
helpful
therekrab Feb 18, 2026
37ae624
Make few changes to climber
therekrab Feb 18, 2026
b787cf6
Merge branch 'indexer' into climber-merge-tmp
therekrab Feb 18, 2026
411ac74
Merge branch 'main' into cameras-v2
therekrab Feb 18, 2026
def3351
Merge branch 'indexer' into cameras-v2
therekrab Feb 18, 2026
54a13a6
Re-enable vision
therekrab Feb 18, 2026
454bbe5
Enable cameras + make fixes
therekrab Feb 18, 2026
f166a9d
Merge branch 'cameras-v2' into auto_gen
therekrab Feb 18, 2026
cb92c0e
start building autos
therekrab Feb 18, 2026
5513c14
ad stuff
therekrab Feb 19, 2026
23d900f
Add auton warning for robot not in the right spot
therekrab Feb 19, 2026
888655b
"Minor improvements"
therekrab Feb 19, 2026
2045c3d
Sai told me to commit this.
Feb 19, 2026
5836e37
fix autos
therekrab Feb 20, 2026
afc5884
Create more sophisticated testing logic + fix endgame error
Feb 20, 2026
1a4d569
merge with remote
therekrab Feb 20, 2026
ed35e90
Made sure that robot crosses the alliance zone diagonally
therekrab Feb 21, 2026
7dffd2d
Created LEDTansition Shift Changes
therekrab Feb 21, 2026
f400faf
Initial elastic layout
therekrab Feb 23, 2026
f605469
Merge branch 'led_subystem_two' into cameras-leds-merge
therekrab Feb 23, 2026
2afc4a3
Better dashboard
therekrab Feb 24, 2026
ccde15d
Add manual index button on L2
therekrab Feb 24, 2026
cdb082f
fix shooter control logic
therekrab Feb 24, 2026
f569801
changes
therekrab Feb 24, 2026
fbde55c
increase debounce time for shootReady in robotbindings
therekrab Feb 25, 2026
f153508
removed canrange 25
therekrab Feb 25, 2026
8ea6de2
deleted a comment
therekrab Feb 25, 2026
a627fde
start implementing extrapowerful recovery mode
therekrab Feb 25, 2026
24e25cb
Merge branch 'cameras-v2' of https://github.com/hackbots-3414/2026_Re…
therekrab Feb 25, 2026
2b992b1
Remove unused "unused"
therekrab Feb 25, 2026
03de57c
shooter aims now, no test for sotm
therekrab Feb 26, 2026
8ca7d29
Add shoot mode switching
therekrab Feb 26, 2026
906f091
Merge branch 'cameras-v2' into auto_gen
therekrab Feb 26, 2026
481778b
Remove debugging stuff
therekrab Feb 26, 2026
7c8a9b3
squash bugs; minor improvements
therekrab Feb 26, 2026
cc02caf
create canbus object and move canbs init into status signal util
therekrab Feb 26, 2026
aa153d1
we're good
therekrab Feb 26, 2026
53e1727
Added agitate intake command
HeidiG2007 Feb 26, 2026
74c9692
Made RunIndex also agitate the intake, fixed shooterTest
HeidiG2007 Feb 26, 2026
2a83823
only shoot when valid odom
therekrab Feb 27, 2026
31a1ade
Merge branch 'cameras-v2' of https://github.com/hackbots-3414/2026_Re…
therekrab Feb 27, 2026
e48d87e
Modified agitate so it doesn't go all the way back up and lose fuel.
HeidiG2007 Feb 27, 2026
353bdbb
Merge branch 'cameras-v2' of https://github.com/hackbots-3414/2026_Re…
HeidiG2007 Feb 27, 2026
0bf3e22
add better logging for activity calculator and cache calculated state
therekrab Feb 28, 2026
23b6f28
do stuff
therekrab Feb 28, 2026
ea10037
minor improvements but yaws arent in or pitch
therekrab Feb 28, 2026
3ab9afa
Merge branch 'cameras-v2' of https://github.com/hackbots-3414/2026_Re…
therekrab Feb 28, 2026
a7c2ac8
wip
therekrab Feb 28, 2026
3691e11
minor improvements
Mar 1, 2026
39b7432
Remove unused CANrange config in IntakeConstants
therekrab Mar 1, 2026
3b9a5f4
Fix slf4 and remove weird stuff in Robot.java
therekrab Mar 1, 2026
1a73f6c
fix vision bugs
therekrab Mar 1, 2026
dced28b
make vision better
therekrab Mar 2, 2026
caf86e0
don't let intake hold us up
therekrab Mar 2, 2026
2bf1196
make it better
therekrab Mar 2, 2026
bfb7aae
Remove unused imports
therekrab Mar 2, 2026
fc0940f
Update AP
therekrab Mar 2, 2026
3da4891
Merge branch 'cameras-v2' of https://github.com/hackbots-3414/2026_Re…
therekrab Mar 2, 2026
1ff2014
sick
therekrab Mar 3, 2026
db21fc3
Add alert for ActivityCalculator
therekrab Mar 3, 2026
c8ed431
add individual debouncers for stuffs
therekrab Mar 4, 2026
f47f0b4
Allow intake to run WHILE shooting
therekrab Mar 4, 2026
554fd50
Disable FOC on spindexer and intake
therekrab Mar 4, 2026
f336cc1
this robot keeps breaking
therekrab Mar 5, 2026
fb51e00
Partially added abolute encoder for intake
therekrab Mar 7, 2026
27c45e7
Merge branch 'cameras-v2' of https://github.com/hackbots-3414/2026_Re…
therekrab Mar 7, 2026
92e9b7d
Removed unessecary imports and finished absolute encoder
Mar 7, 2026
6385eb8
Created Controller Bindings
Mar 7, 2026
afa994f
Merge branch 'controllerBindings' into cameras-v2
Mar 7, 2026
527d5b9
Complete aim-by-turning logic I PRAY THIS IS NEVER USED :(
therekrab Mar 8, 2026
0882f77
Added potential thing to empty hopper ie shoot till no more balls for…
therekrab Mar 9, 2026
6798135
distance max limit
therekrab Mar 9, 2026
b83a019
Merge branch 'cameras-v2' of https://github.com/hackbots-3414/2026_Re…
therekrab Mar 9, 2026
9e41483
real roboting
Mar 9, 2026
200ad62
Merge branch 'cameras-v2' of https://github.com/hackbots-3414/2026_Re…
Mar 9, 2026
e1eba35
add go home and disable turret
Mar 9, 2026
48e9d3b
make changes i guess
therekrab Mar 10, 2026
ae5b3f9
some neat rumble stuff i hope works on the new controllers....
therekrab Mar 11, 2026
ea99396
Changed our Autons and made them be able to collect more balls and cr…
Mar 12, 2026
2eb4247
disabled some nt stuff to remove loop overruns and now the robot work…
therekrab Mar 12, 2026
091a1da
Merge branch 'cameras-v2' of https://github.com/hackbots-3414/2026_Re…
therekrab Mar 12, 2026
4b41a8d
add camera calibration data (should've done this like a week ago)
therekrab Mar 12, 2026
85c7478
sped up turret and its okayer now
therekrab Mar 12, 2026
6732ef6
depot auton finished
Mar 12, 2026
6d93849
Merge branch 'cameras-v2' of https://github.com/hackbots-3414/2026_Re…
Mar 12, 2026
9f83b06
Merge branch 'cameras-v2' of https://github.com/hackbots-3414/2026_Re…
therekrab Mar 12, 2026
0df1557
roll with the changes
therekrab Mar 13, 2026
1a9b985
some more changes i suppose
therekrab Mar 13, 2026
04a5f89
remove unused intaking logic
therekrab Mar 13, 2026
b1cc456
Added HubActive state, changed ShootReady solid blue to strobe
HeidiG2007 Mar 14, 2026
e63420d
pp tuned
therekrab Mar 14, 2026
e5f9ec0
Merge branch 'cameras-v2' of https://github.com/hackbots-3414/2026_Re…
therekrab Mar 14, 2026
edd81a3
one auton/path done, sai will make the rest
therekrab Mar 14, 2026
3bc07f4
Shooter troubleshooting
therekrab Mar 14, 2026
7c87fc6
Merge branch 'cameras-v2' of https://github.com/hackbots-3414/2026_Re…
therekrab Mar 14, 2026
5727729
minor improvements
therekrab Mar 14, 2026
831bbcb
All major paths cmpleted
therekrab Mar 14, 2026
86c5fe5
Merge branch 'cameras-v2' of https://github.com/hackbots-3414/2026_Re…
therekrab Mar 14, 2026
a2be544
it shoots gooder
therekrab Mar 15, 2026
76019f6
why doesnt intake intake
therekrab Mar 15, 2026
4ef730b
this isn't a lot of code changes
therekrab Mar 15, 2026
b2e6ee4
bettered
therekrab Mar 15, 2026
6db6656
add support for shot time waiting/whatever that thing was maddy wanted
therekrab Mar 15, 2026
248f551
made it better
therekrab Mar 16, 2026
185a3f7
imports
therekrab Mar 16, 2026
874f6d3
better leds
therekrab Mar 16, 2026
0993c9d
sai improves autons
Mar 16, 2026
e9f0b2d
Merge branch 'cameras-v2' of https://github.com/hackbots-3414/2026_Re…
Mar 16, 2026
a09ae9a
this is how it should be.
therekrab Mar 16, 2026
5d0187e
even better
therekrab Mar 16, 2026
b1567ae
Merge branch 'cameras-v2' of https://github.com/hackbots-3414/2026_Re…
therekrab Mar 16, 2026
ab0549d
something(s)
therekrab Mar 18, 2026
009ff74
made better
Mar 18, 2026
c62aa0e
it was the logging cable it seems... frowning emoji
therekrab Mar 19, 2026
439cb23
Merge branch 'cameras-v2' of https://github.com/hackbots-3414/2026_Re…
therekrab Mar 19, 2026
12d94c0
activate led alert for THEIR end-of-shift as well, but make it a litt…
therekrab Mar 19, 2026
01e8b2d
make right auto better (and add turret start to auto names)
therekrab Mar 19, 2026
20b7ddc
comp tomorrow ish
therekrab Mar 19, 2026
77f6850
initial comp changes
therekrab Mar 21, 2026
88248bd
huh
therekrab Mar 22, 2026
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
3 changes: 2 additions & 1 deletion CompBot/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,6 @@
"edu.wpi.first.math.**.proto.*",
"edu.wpi.first.math.**.struct.*",
],
"java.dependency.enableDependencyCheckup": false
"java.dependency.enableDependencyCheckup": false,
"java.debug.settings.onBuildFailureProceed": true
}
31 changes: 19 additions & 12 deletions CompBot/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ deploy {
// getTargetTypeClass is a shortcut to get the class type using a string

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.34.14.2")
}

// Static files artifact
Expand All @@ -54,9 +61,9 @@ wpi.java.debugJni = false
// Set this to true to enable desktop support.
def includeDesktopSupport = true

configurations {
mockitoAgent
}
// configurations {
// mockitoAgent
// }

// Defining my dependencies. In this case, WPILib (+ friends), and vendor libraries.
// Also defines JUnit 5.
Expand All @@ -65,6 +72,10 @@ dependencies {
implementation wpi.java.deps.wpilib()
implementation wpi.java.vendor.java()

// adding logging support, latest for slf4j and logback (they work together)
implementation "org.slf4j:slf4j-api:2.0.1"
implementation "ch.qos.logback:logback-classic:1.4.14"

roborioDebug wpi.java.deps.wpilibJniDebug(wpi.platforms.roborio)
roborioDebug wpi.java.vendor.jniDebug(wpi.platforms.roborio)

Expand All @@ -81,22 +92,18 @@ dependencies {

testImplementation 'org.junit.jupiter:junit-jupiter:5.10.1'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
testImplementation 'org.mockito:mockito-core:5.+'
// testImplementation 'org.mockito:mockito-core:5.+'

mockitoAgent('org.mockito:mockito-core:5.+') {
transitive = false
}

// adding logging support, latest for slf4j and logback (they work together)
implementation "org.slf4j:slf4j-api:2.0.1"
implementation "ch.qos.logback:logback-classic:1.4.14"
// mockitoAgent('org.mockito:mockito-core:5.+') {
// transitive = false
// }

}

test {
useJUnitPlatform()
systemProperty 'junit.jupiter.extensions.autodetection.enabled', 'true'
jvmArgs += "-javaagent:${configurations.mockitoAgent.asPath}"
// jvmArgs += "-javaagent:${configurations.mockitoAgent.asPath}"
}

// Simulation configuration (e.g. environment variables).
Expand Down
46 changes: 35 additions & 11 deletions CompBot/simgui-ds.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,52 @@
{
"Keyboard 0 Settings": {
"window": {
"visible": true
}
},
"System Joysticks": {
"window": {
"enabled": false
}
},
"keyboardJoysticks": [
{
"axisConfig": [
{
"decKey": 87,
"incKey": 83
"decKey": 83,
"incKey": 87
},
{
"decKey": 65,
"incKey": 68
},
{
"decayRate": 0.0,
"keyRate": 0.009999999776482582
"decKey": 68,
"incKey": 65
},
{
"decKey": 93,
"incKey": 91
},
{
"decayRate": 0.8999999761581421,
"keyRate": 0.10000000149011612
}
],
"axisCount": 4,
"buttonCount": 4,
"buttonCount": 15,
"buttonKeys": [
49,
50,
51,
52,
53,
54,
55,
56,
57,
48,
90,
88,
67,
86
86,
66
],
"povConfig": [
{
Expand All @@ -39,7 +60,7 @@
"key90": 326
}
],
"povCount": 1
"povCount": 0
},
{
"axisConfig": [
Expand Down Expand Up @@ -94,6 +115,9 @@
"robotJoysticks": [
{
"guid": "Keyboard0"
},
{
"guid": "030000004c050000e60c000000000000"
}
],
"useEnableDisableHotkeys": true
Expand Down
8 changes: 8 additions & 0 deletions CompBot/src/main/deploy/depot.autogen
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Seed Left
(Cross Left + Surf Left) * Intake

Aim * (Return Left + (Depot ? Intake) + 5)
((Return Left + Cross Left + Surf Left) * Intake )

#Climb Ready + Tower
#Climb
5 changes: 5 additions & 0 deletions CompBot/src/main/deploy/depotNeutral.autogen
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Seed Left
Aim * (Depot * Intake )
Aim & 5
(Cross Left + Surf Left) * Intake
Aim * (Return Left + 5)
3 changes: 0 additions & 3 deletions CompBot/src/main/deploy/example.txt

This file was deleted.

6 changes: 6 additions & 0 deletions CompBot/src/main/deploy/feedLeft.autogen
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Seed Left
(Cross Left + Surf Left) * Intake
Shoot * 10
Aim * (Return Left + 5 )
#(Climb Ready + Tower)
#Climb
6 changes: 6 additions & 0 deletions CompBot/src/main/deploy/feedRight.autogen
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Seed Right
(Cross Right + Surf Right) * Intake
Shoot * 10
Aim * (Return Right + 5)
#( Climb Ready + Tower)
#Climb
8 changes: 8 additions & 0 deletions CompBot/src/main/deploy/hyperLeft.autogen
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Seed Left
(Cross Left + Surf Left) * Intake
Aim * (Return Left + 5)
(Cross Left Closer + Surf Left Close + Surf Left Second + Surf Up Left) * Intake
Aim * (Return Left Angle + 5)

#(Climb Ready + Tower)
#Climb
7 changes: 7 additions & 0 deletions CompBot/src/main/deploy/hyperRight.autogen
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Seed Right
(Cross Right + Surf Right) * Intake
Aim * (Return Right + 5)
(Cross Right Closer + Surf Right Close + Surf Right Second + Surf Up Right) * Intake
Aim * (Return Right Angle + 5)
#(Climb Ready + Tower)
#Climb
2 changes: 2 additions & 0 deletions CompBot/src/main/deploy/left.autogen
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
(Cross Left + Surf Left * Intake)
Return Left & Aim
4 changes: 4 additions & 0 deletions CompBot/src/main/deploy/outpost.autogen
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Seed Right
Outpost
Aim * (5)
#(Climb Ready + Climb + Tower)
50 changes: 50 additions & 0 deletions CompBot/src/main/deploy/pathplanner/autos/Double Left (T 0.5).auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "Left"
}
},
{
"type": "race",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Aim"
}
},
{
"type": "wait",
"data": {
"waitTime": 10.0
}
}
]
}
},
{
"type": "path",
"data": {
"pathName": "Left Cleanup"
}
},
{
"type": "named",
"data": {
"name": "Aim"
}
}
]
}
},
"resetOdom": false,
"folder": null,
"choreoAuto": false
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "Right"
}
},
{
"type": "race",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Aim"
}
},
{
"type": "wait",
"data": {
"waitTime": 10.0
}
}
]
}
},
{
"type": "path",
"data": {
"pathName": "Right Cleanup"
}
},
{
"type": "named",
"data": {
"name": "Aim"
}
}
]
}
},
"resetOdom": false,
"folder": null,
"choreoAuto": false
}
50 changes: 50 additions & 0 deletions CompBot/src/main/deploy/pathplanner/autos/Far Double Left.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "Far Left"
}
},
{
"type": "race",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Aim"
}
},
{
"type": "wait",
"data": {
"waitTime": 6.0
}
}
]
}
},
{
"type": "path",
"data": {
"pathName": "Left Cleanup"
}
},
{
"type": "named",
"data": {
"name": "Aim"
}
}
]
}
},
"resetOdom": false,
"folder": null,
"choreoAuto": false
}
Loading
Loading