Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
153 changes: 0 additions & 153 deletions .github/workflows/dashboard.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/robot-code.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Robot Code
on: [pull_request, push]
on: push

env:
NODE_VERSION: 20
Expand Down
27 changes: 17 additions & 10 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,27 +64,29 @@
"**/*~": true
},
"cSpell.words": [
"ADIS",
"Accl",
"Accum",
"ADIS",
"Autoset",
"Backports",
"Bezier",
"Botpose",
"Brushless",
"CANcoder",
"CTRE",
"Canandcolor",
"Canandgyro",
"Canandmag",
"Canbus",
"CANcoder",
"CANdi",
"Checkstyle",
"Choreo",
"ChoreoLib",
"Cnfg",
"DTheta",
"CTRE",
"Deadband",
"Deadbands",
"Deadzone",
"Debouncer",
"Decel",
"DeltAng",
"DeltVel",
Expand All @@ -97,46 +99,50 @@
"Discretize",
"Discretizing",
"Doppel",
"DTheta",
"Dunkin",
"EEPROM",
"Expdelta",
"Falsi",
"Feedforward",
"Fullscreen",
"GRRDashboard",
"GSON",
"Gradlew",
"Grav",
"GRRDashboard",
"GSON",
"Holonomic",
"Intaking",
"Integ",
"Interpolatable",
"Itor",
"JoystickProfiles",
"Kalman",
"Keepalive",
"Lerp",
"Motorcontrol",
"Msgpack",
"Mult",
"Multiturn",
"NTURI",
"NetworkTables",
"NTURI",
"Odometry",
"Overcurrent",
"PIDF",
"Powerup",
"Protobuf",
"Pubuid",
"Quasistatic",
"REVPH",
"REVRobotics",
"Ratelimit",
"Ratelimited",
"Ratelimiter",
"Ratelimits",
"Rawtypes",
"ReduxLib",
"Reefscape",
"Regula",
"RevLib",
"REVPH",
"REVRobotics",
"RoboRIO",
"Sendables",
"Setpoint",
Expand All @@ -153,12 +159,13 @@
"Topicsonly",
"Traj",
"Tunables",
"URCL",
"Unannounce",
"Unjams",
"Unsub",
"Unsubscriber",
"Unsubscribers",
"Unused",
"URCL",
"Vbat",
"Vmax",
"WPIBlue",
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2024 Team 340
Copyright (c) 2025 Team 340

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
17 changes: 14 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
id "java"
id "edu.wpi.first.GradleRIO" version "2025.2.1"
id "com.diffplug.spotless" version "6.25.0"
id "edu.wpi.first.GradleRIO" version "2025.3.2"
id "com.diffplug.spotless" version "7.0.2"
}

java {
Expand All @@ -27,7 +27,16 @@ deploy {
// First part is artifact name, 2nd is artifact type
// getTargetTypeClass is a shortcut to get the class type using a string

// Configure the JVM to optimize GC
// This should be removed if using a RoboRIO 1
frcJava(getArtifactTypeClass('FRCJavaArtifact')) {
jvmArgs.add("-XX:+UnlockExperimentalVMOptions")
jvmArgs.add("-Xmx100M")
jvmArgs.add("-Xms100M")
jvmArgs.add("-XX:GCTimeRatio=5")
jvmArgs.add("-XX:+UseSerialGC")
jvmArgs.add("-XX:MaxGCPauseMillis=50")
jvmArgs.add("-XX:+AlwaysPreTouch")
}

// Static files artifact
Expand Down Expand Up @@ -72,6 +81,8 @@ dependencies {

testImplementation 'org.junit.jupiter:junit-jupiter:5.10.1'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'

implementation 'com.google.code.gson:gson:2.11.0'
}

// Code formatting via spotless
Expand All @@ -86,7 +97,7 @@ spotless {
endWithNewline()
removeUnusedImports()
trimTrailingWhitespace()
prettier(['prettier': '3.4.2', 'prettier-plugin-java': '2.6.5'])
prettier(['prettier': '3.5.3', 'prettier-plugin-java': '2.6.7'])
.config([
'parser': 'java',
'plugins': ['prettier-plugin-java'],
Expand Down
6 changes: 0 additions & 6 deletions dashboard/.gitignore

This file was deleted.

7 changes: 0 additions & 7 deletions dashboard/.prettierrc

This file was deleted.

Loading