Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
104 commits
Select commit Hold shift + click to select a range
b4a0f57
Updated AdvantageKit and WhatTime. Added distance to hub method to Dr…
ThaliaMyers Feb 26, 2026
3f90d5e
Made more changes to shooter subsystem. idk
ThaliaMyers Feb 26, 2026
3e4f7b2
Removed debug commands from driver joysticks. Added them to debug joy…
ThaliaMyers Feb 26, 2026
645e6bf
More small updates to stuff
ThaliaMyers Feb 26, 2026
75ea30f
Added a bunch of autos because why not.
ThaliaMyers Feb 26, 2026
35221cd
More auto updates
Feb 26, 2026
7dd0f70
More adjustments for STD devs for vision. Updates to paths.
Feb 27, 2026
82294b4
stuff idk
Feb 27, 2026
867e778
AHHHHHHHHHHHH idk. Tried to get a motor to work
Feb 28, 2026
82fbb37
Updated WhatTime to v2026.1.16-beta.5
ThaliaMyers Feb 28, 2026
488e3e1
Updated TunerConstants.java for the MK4n swerve modules on the new ro…
Mar 2, 2026
0aa8a5c
Updates to intake and shooter system to make them have correct limits
Mar 2, 2026
1835302
I swear to god, mechanisms better finish their stuff on time or I wil…
ThaliaMyers Mar 2, 2026
e54f117
Updated position values. Updated WhatTime. Updated joysticks. Did a f…
Mar 4, 2026
861b2b7
Did stuff. I don't care anymore.
Mar 4, 2026
de13bf3
did things. I'm going crazy
ThaliaMyers Mar 4, 2026
7d669ca
Updated paths. Updated WhatTime. Made joystick changes. Added zeroing…
ThaliaMyers Mar 4, 2026
870fddc
Flywheel fixes
ThaliaMyers Mar 4, 2026
b4bef31
Good enough?
ThaliaMyers Mar 5, 2026
e247bad
Added constants and stuff
ThaliaMyers Mar 5, 2026
aed67b9
trigger and joystick controls
ThaliaMyers Mar 5, 2026
f579082
Updated paths a bit. Updated joystick controls to include control for…
Mar 5, 2026
ac85026
Fix build to support hyprland arch (bc im cool and use arch and hyprl…
Tullysaurus Mar 5, 2026
3a4807a
Change shooter input method
Tullysaurus Mar 5, 2026
546f2ea
Decrease shooter speed
Mar 5, 2026
2d994fb
Add intake button
Mar 5, 2026
6f5d23a
Decreased acceleration rate. Change speed for feed motor in intake
Mar 5, 2026
a55a1df
Update autos
Mar 5, 2026
52ffbc8
improvements
Mar 6, 2026
026523c
Some subsystem improvements I guess
ThaliaMyers Mar 6, 2026
9b2d15d
Update driver joystick to run shooter (only at fullspeed currently), …
Tullysaurus Mar 6, 2026
17aff06
Remove unused namedcommand
Tullysaurus Mar 6, 2026
6ae8ab2
Small changes to shooter
Tullysaurus Mar 7, 2026
a2fae29
Move from deprecated MotorWrapper to Motor and MotorGroup
Tullysaurus Mar 7, 2026
5fe22bd
Update to latest WhatTime
Tullysaurus Mar 7, 2026
20ed786
Rework inputs
Tullysaurus Mar 7, 2026
e23425f
Make right debug joystick control shooter pitch
Tullysaurus Mar 7, 2026
b9b13e5
Begin implementing rpm calculations
Tullysaurus Mar 7, 2026
87a374b
Remove unused import
Tullysaurus Mar 7, 2026
8467f22
Add shooter calculations
Tullysaurus Mar 7, 2026
cc91fe8
Updates to logging. Changed WhatTime version. Removed unused code.
ThaliaMyers Mar 11, 2026
ced371b
Organized some code. Removed more unused stuff. Added feeder subsyste…
ThaliaMyers Mar 11, 2026
e783ccc
Updated feeder subsystem to use FeederStates enum. Sets the speeds in…
ThaliaMyers Mar 14, 2026
e508b2e
Minor changes to add feeder subsystem to joysticks and stuff.
ThaliaMyers Mar 16, 2026
88d3e96
More joystick adjustments
ThaliaMyers Mar 16, 2026
e67db57
Added current limits to more motors. Added current logging to Network…
ThaliaMyers Mar 17, 2026
e822ff2
Added better logging for motor current/voltage for swerve modules.
ThaliaMyers Mar 17, 2026
92059eb
Added code to debug joystick for testing. Added automatic bed agitati…
ThaliaMyers Mar 17, 2026
6ed8edf
Minor changes
Mar 17, 2026
d807059
changes
Mar 17, 2026
b752860
updated some values. fixed brake.
ThaliaMyers Mar 17, 2026
3f4f158
changes
Mar 17, 2026
7afda35
stuff
ThaliaMyers Mar 17, 2026
0cf1214
changes
ThaliaMyers Mar 17, 2026
4c43922
Added shooter acceleration
ThaliaMyers Mar 17, 2026
c3c1ddc
things
ThaliaMyers Mar 17, 2026
c27c2f9
crying
Mar 17, 2026
4485862
s
ThaliaMyers Mar 17, 2026
3723b8a
sdfgdsfg
ThaliaMyers Mar 17, 2026
b4cc61d
asdfasdf
ThaliaMyers Mar 17, 2026
98de02d
maybe fixed brake issues
ThaliaMyers Mar 17, 2026
bd1b693
asdfsafd
ThaliaMyers Mar 17, 2026
30d0aae
maybe fixed stuff
ThaliaMyers Mar 17, 2026
ac56c05
aasdf
ThaliaMyers Mar 17, 2026
90cca78
Changes
Mar 17, 2026
78e10ef
aiufh
ThaliaMyers Mar 17, 2026
d6152bc
ugh
ThaliaMyers Mar 17, 2026
f948b54
asdfasdf
ThaliaMyers Mar 17, 2026
ccc02c6
things
Mar 17, 2026
dfe769b
asdfsadfsadfsadf
Mar 17, 2026
b4fe740
fixes to intake
ThaliaMyers Mar 17, 2026
ff3618f
luyhresres
Mar 17, 2026
0da33fc
asdfsadfsfdasadf
Mar 17, 2026
a6ad7d7
asdfasdfasdfasdf
ThaliaMyers Mar 17, 2026
a9635fc
did stuff
ThaliaMyers Mar 17, 2026
605f81c
more things
ThaliaMyers Mar 17, 2026
f254272
asdfasdfasdfdasf
ThaliaMyers Mar 17, 2026
246fbb3
changes to intake stuff
ThaliaMyers Mar 18, 2026
ce6d6a2
changed angle intake to talonfx
ThaliaMyers Mar 18, 2026
c8a5ddd
asdfasdfasdfdfsa
ThaliaMyers Mar 18, 2026
5f16284
changes to intake wheels
ThaliaMyers Mar 18, 2026
a578c97
did things
ThaliaMyers Mar 18, 2026
18569ab
Got intake up and down working.
Mar 18, 2026
ff42fc2
things
ThaliaMyers Mar 18, 2026
38b7aad
Removed bed agitation. More adjustments
ThaliaMyers Mar 18, 2026
3c8ccf0
changes
Mar 18, 2026
6c9d9ac
Updated autonomous routine for neutral zone. Removed old autos. Added…
ThaliaMyers Mar 19, 2026
9c59769
More path updates. Started working on controllers.
ThaliaMyers Mar 19, 2026
b4e2d59
stuff
Mar 19, 2026
29fc910
Merge branch 'Whattime-refactor' of https://github.com/robohornets/ro…
Mar 19, 2026
9cca8de
Adjusted shooter stuff.
Mar 19, 2026
10763c1
Changes to named commands and operator joystick.
ThaliaMyers Mar 19, 2026
3d3ba47
Merge branch 'Whattime-refactor' of https://github.com/robohornets/ro…
ThaliaMyers Mar 19, 2026
3e226e9
Minor auto changes. Moved speed and pitch control from debug joystick…
ThaliaMyers Mar 19, 2026
8ca7749
controls
ThaliaMyers Mar 19, 2026
87be734
changes
Mar 19, 2026
eefc42b
Remove caedmon's reimplementation of the whattime motor because nobod…
Tullysaurus Mar 19, 2026
ddac149
Add min and max to intake motor
Tullysaurus Mar 19, 2026
2f7959d
Update intake commands from runOnce to run
Tullysaurus Mar 19, 2026
d3c4e05
did things
Mar 19, 2026
209b1ee
Enable intake angle motor
Tullysaurus Mar 19, 2026
2a612d1
Fix shooter motors
Tullysaurus Mar 19, 2026
f4ba87c
Fixx debug joysticks
Tullysaurus Mar 19, 2026
20c1fca
Changes to controls and shooter stuff
Mar 20, 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
26 changes: 24 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,35 @@
"name": "Main",
"request": "launch",
"mainClass": "frc.robot.Main",
"projectName": "roomba"
"projectName": "roomba",
"env": {
"GLFW_PLATFORM": "x11",
"LIBGL_ALWAYS_SOFTWARE": "1",
"LIBGL_DRI3_DISABLE": "1",
"__GLX_VENDOR_LIBRARY_NAME": "mesa",
"MESA_LOADER_DRIVER_OVERRIDE": "llvmpipe",
"GALLIUM_DRIVER": "llvmpipe",
"HALSIM_EXTENSIONS": "${workspaceFolder}/build/jni/release/libhalsim_gui.so",
"LD_LIBRARY_PATH": "${workspaceFolder}/build/jni/release",
"DYLD_LIBRARY_PATH": "${workspaceFolder}/build/jni/release"
}
},
{
"type": "wpilib",
"name": "WPILib Desktop Debug",
"request": "launch",
"desktop": true
"desktop": true,
"env": {
"GLFW_PLATFORM": "x11",
"LIBGL_ALWAYS_SOFTWARE": "1",
"LIBGL_DRI3_DISABLE": "1",
"__GLX_VENDOR_LIBRARY_NAME": "mesa",
"MESA_LOADER_DRIVER_OVERRIDE": "llvmpipe",
"GALLIUM_DRIVER": "llvmpipe",
"HALSIM_EXTENSIONS": "${workspaceFolder}/build/jni/release/libhalsim_gui.so",
"LD_LIBRARY_PATH": "${workspaceFolder}/build/jni/release",
"DYLD_LIBRARY_PATH": "${workspaceFolder}/build/jni/release"
}
},
{
"type": "wpilib",
Expand Down
5 changes: 4 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
],
"java.test.defaultConfig": "WPIlibUnitTests",
"java.import.gradle.annotationProcessing.enabled": false,
"wpilib.skipSelectSimulateExtension": true,
"wpilib.selectDefaultSimulateExtension": true,
"java.completion.favoriteStaticMembers": [
"org.junit.Assert.*",
"org.junit.Assume.*",
Expand Down Expand Up @@ -57,5 +59,6 @@
"edu.wpi.first.math.**.proto.*",
"edu.wpi.first.math.**.struct.*",
],
"java.dependency.enableDependencyCheckup": false
"java.dependency.enableDependencyCheckup": false,
"java.jdt.ls.vmargs": "-XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx4G -Xms100m -Xlog:disable"
}
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,13 @@ git fetch --prune && git branch -vv | grep ': gone]' | awk '{print $1}' | xargs
![GitHub Release](https://img.shields.io/github/v/release/robohornets/WhatTime)

[https://github.com/robohornets/WhatTime](https://github.com/robohornets/WhatTime)

# QuestNav
![GitHub Release](https://img.shields.io/github/v/release/QuestNav/QuestNav)

[https://github.com/QuestNav/QuestNav/releases](https://github.com/QuestNav/QuestNav/releases)

# AdvantageKit
![GitHub Release](https://img.shields.io/github/v/release/Mechanical-Advantage/AdvantageKit)

[https://github.com/Mechanical-Advantage/AdvantageKit/releases](https://github.com/Mechanical-Advantage/AdvantageKit/releases)
102 changes: 101 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,106 @@ test {
wpi.sim.addGui().defaultEnabled = true
wpi.sim.addDriverstation()

def simSoftwareGl = (project.findProperty("simSoftwareGl") ?: System.getenv("SIM_SOFTWARE_GL"))?.toString()?.toBoolean()
def simGlxVendor = (project.findProperty("simGlxVendor") ?: System.getenv("SIM_GLX_VENDOR"))?.toString()
def waylandSession = System.getenv("WAYLAND_DISPLAY") != null

tasks.withType(JavaExec).configureEach {
if (!name.startsWith("simulate")) {
return
}

doFirst {
// Hyprland/Wayland sessions are more reliable when GLFW targets Xwayland.
if (waylandSession && !environment.containsKey("GLFW_PLATFORM")) {
environment("GLFW_PLATFORM", "x11")
}

if (simSoftwareGl) {
environment("LIBGL_ALWAYS_SOFTWARE", "1")
}

environment("LIBGL_DRI3_DISABLE", "1")
environment("__GLX_VENDOR_LIBRARY_NAME", "mesa")
environment("MESA_LOADER_DRIVER_OVERRIDE", "llvmpipe")
environment("GALLIUM_DRIVER", "llvmpipe")

if (simGlxVendor) {
environment("__GLX_VENDOR_LIBRARY_NAME", simGlxVendor)
}

// Remove empty path entries (e.g. trailing ':') that can break extension loading.
def rawExtensions = (environment["HALSIM_EXTENSIONS"] ?: System.getenv("HALSIM_EXTENSIONS") ?: "").toString()
def cleanedExtensions = rawExtensions.split(":").findAll { !it.trim().isEmpty() }.join(":")
if (rawExtensions != cleanedExtensions) {
environment("HALSIM_EXTENSIONS", cleanedExtensions)
}
}
}

def patchWpilibJavaSimJson = { File jsonFile ->
if (!jsonFile.exists()) {
return
}

def parsed = new groovy.json.JsonSlurper().parseText(jsonFile.text)
if (!(parsed instanceof List)) {
return
}

parsed.each { entry ->
if (!(entry instanceof Map)) {
return
}

if (!(entry.environment instanceof Map)) {
entry.environment = [:]
}

// Force X11-backed GLFW on Hyprland/Wayland.
if (waylandSession) {
entry.environment["GLFW_PLATFORM"] = "x11"
}

// Software rendering avoids broken GLX context creation on this Hyprland setup.
entry.environment["LIBGL_ALWAYS_SOFTWARE"] = "1"
entry.environment["LIBGL_DRI3_DISABLE"] = "1"
entry.environment["__GLX_VENDOR_LIBRARY_NAME"] = "mesa"
entry.environment["MESA_LOADER_DRIVER_OVERRIDE"] = "llvmpipe"
entry.environment["GALLIUM_DRIVER"] = "llvmpipe"

if (simGlxVendor) {
entry.environment["__GLX_VENDOR_LIBRARY_NAME"] = simGlxVendor
}

def enabledExtensions = []
if (entry.extensions instanceof List) {
enabledExtensions = entry.extensions
.findAll { it instanceof Map && it.defaultEnabled && it.libName }
.collect { it.libName.toString() }
}

if (!enabledExtensions.isEmpty()) {
// Override WPILib extension launcher value to avoid trailing path delimiters.
entry.environment["HALSIM_EXTENSIONS"] = enabledExtensions.join(":")
}
}

jsonFile.text = groovy.json.JsonOutput.prettyPrint(groovy.json.JsonOutput.toJson(parsed)) + System.lineSeparator()
}

tasks.matching { it.name == "simulateExternalJavaRelease" }.configureEach {
doLast {
patchWpilibJavaSimJson(file("$buildDir/sim/release_java.json"))
}
}

tasks.matching { it.name == "simulateExternalJavaDebug" }.configureEach {
doLast {
patchWpilibJavaSimJson(file("$buildDir/sim/debug_java.json"))
}
}

// Setting up my Jar File. In this case, adding all libraries into the main jar ('fat jar')
// in order to make them all available at runtime. Also adding the manifest so WPILib
// knows where to look for our Robot Class.
Expand Down Expand Up @@ -119,4 +219,4 @@ gversion {
dateFormat = "yyyy-MM-dd HH:mm:ss z"
timeZone = "America/Chicago"
indent = " "
}
}
3 changes: 2 additions & 1 deletion simgui-ds.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,5 +102,6 @@
{
"guid": "Keyboard2"
}
]
],
"zeroDisconnectedJoysticks": false
}
62 changes: 62 additions & 0 deletions src/main/deploy/pathplanner/autos/Neutral Auto 1.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "IntakeDown"
}
},
{
"type": "path",
"data": {
"pathName": "Neutral Auto 1 - Part 1"
}
},
{
"type": "path",
"data": {
"pathName": "Neutral Auto 1 - Part 2"
}
},
{
"type": "path",
"data": {
"pathName": null
}
},
{
"type": "parallel",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "ShootAutoFuel"
}
},
{
"type": "named",
"data": {
"name": "AgitateAutoFuel"
}
},
{
"type": "named",
"data": {
"name": "RunAllFeederIn"
}
}
]
}
}
]
}
},
"resetOdom": true,
"folder": null,
"choreoAuto": false
}
12 changes: 12 additions & 0 deletions src/main/deploy/pathplanner/autos/Neutral Auto 2.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
"commands": []
}
},
"resetOdom": true,
"folder": null,
"choreoAuto": false
}
25 changes: 0 additions & 25 deletions src/main/deploy/pathplanner/autos/Tests.auto

This file was deleted.

54 changes: 0 additions & 54 deletions src/main/deploy/pathplanner/paths/HDH - Part 2.path

This file was deleted.

Loading
Loading