Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
86 commits
Select commit Hold shift + click to select a range
8663205
fix gompeilib sync
ElliotScher May 6, 2026
dd66148
GompeiLib sync (pull) 20260506-012412
invalid-email-address May 6, 2026
b89d047
Merge pull request #271 from Team-190/gompeilib-sync-20260506-012412
ElliotScher May 6, 2026
d5a7744
push test
ElliotScher May 6, 2026
6a1e4cf
GompeiLib sync (pull) 20260506-022030
invalid-email-address May 6, 2026
b97fd5e
Merge pull request #272 from Team-190/gompeilib-sync-20260506-022030
ElliotScher May 6, 2026
9d2e7d5
remove test file
ElliotScher May 6, 2026
98d4ce7
compile uses in repo gompeilib now
ElliotScher May 6, 2026
c43d6bc
add turnover model
ElliotScher May 18, 2026
56d58ad
Merge branch 'development' into turnover-model
ElliotScher May 18, 2026
9b44d79
added follow depot 2
ananthgomattam May 26, 2026
23c3a85
finished path + commands. need to re-verify commands
ananthgomattam May 26, 2026
a9bfe46
le buttons
Aradig26 May 26, 2026
c42b7cd
autos
Aradig26 May 26, 2026
945b5d4
remove fail paths
Aradig26 May 26, 2026
cb6be5a
revert to andymark field type
Aradig26 May 26, 2026
24bbc66
Merge branch 'bc-autos' into feature-bc
Aradig26 May 26, 2026
b3adda2
remove SOTM
Aradig26 May 26, 2026
51dac42
remove SOTM
Aradig26 May 26, 2026
b9a0899
agitate now works
Aradig26 May 26, 2026
a74e51a
update score velocity and angle
Aradig26 May 26, 2026
d6d8614
fix V1 constants
Aradig26 May 26, 2026
d9a80d7
comitting what i have im so lost
ananthgomattam May 27, 2026
af3da29
fixed hold after shooting
Aradig26 May 27, 2026
48f3eba
fixed V1 buttons
Aradig26 May 27, 2026
c7756aa
auto test
ananthgomattam May 27, 2026
a64ef07
fixed v2-bc-auto for now. robot broken
ananthgomattam May 27, 2026
f2ee6de
fixed all of the v1 auto shooting and dot
ananthgomattam May 27, 2026
860b288
made it EXACTLY at the center
ananthgomattam May 27, 2026
9b2136b
fixed hood stall
ananthgomattam May 27, 2026
68367c6
invert climber
ElliotScher May 27, 2026
d3aec16
trying stuff right now
ananthgomattam May 28, 2026
2209202
added elliot fix from ytd
ananthgomattam May 28, 2026
669f58a
extra fix sorry
ananthgomattam May 28, 2026
39d4283
more fix
ananthgomattam May 28, 2026
4f8983d
changed all paths to use new pathplanner fixes and make way for follo…
ananthgomattam May 28, 2026
e799a8f
intake -10º
Aradig26 May 29, 2026
d60df90
V1 max velocity
Aradig26 May 29, 2026
518734e
Merge remote-tracking branch 'origin/v2-bc-autos' into feature-bc
Aradig26 May 29, 2026
29b522d
team number 9990 and path fast
ananthgomattam May 29, 2026
079b9a8
Update at 'Fri May 29 18:22:45 EDT 2026'
ananthgomattam May 29, 2026
52b0fef
Update at 'Fri May 29 18:27:49 EDT 2026'
ananthgomattam May 29, 2026
18d7422
Update at 'Fri May 29 18:42:28 EDT 2026'
ananthgomattam May 29, 2026
4b53b17
fixed the left and rigjt op
ananthgomattam May 29, 2026
641eae0
Update at 'Fri May 29 20:30:40 EDT 2026'
ananthgomattam May 30, 2026
7d45630
Update at 'Fri May 29 21:27:30 EDT 2026'
ananthgomattam May 30, 2026
fff0ac6
turnover changes
Aradig26 May 30, 2026
24c9c40
v2 bc auto fixes
ananthgomattam May 30, 2026
c94bac4
Update at 'Fri May 29 21:48:59 EDT 2026'
ananthgomattam May 30, 2026
499aa3e
added invertScoreLocation to all the autos.
ananthgomattam May 30, 2026
4738a06
spotless
ananthgomattam May 30, 2026
75638ef
correct branch now
ananthgomattam May 30, 2026
6c481c3
actually added op bc 2
ananthgomattam May 30, 2026
d778fb3
added new autos to autochooser
jasminepalit May 30, 2026
b30c990
Update at 'Sat May 30 15:16:13 EDT 2026'
jasminepalit May 30, 2026
ac26afa
Update at 'Sat May 30 16:33:45 EDT 2026'
jasminepalit May 30, 2026
7926299
made rollers actually spin gang.
ananthgomattam May 30, 2026
d132661
Merge branch 'event-bc-turnover' of https://github.com/Team-190/2k26-…
jasminepalit May 30, 2026
50799c4
0.55 m/s
ananthgomattam May 30, 2026
33826cd
made it slowerrrr gang.
ananthgomattam May 31, 2026
6515112
slowed down op-bc-2
ananthgomattam May 31, 2026
595074f
slowed down op and op bc
jasminepalit May 31, 2026
a2bbe13
new auto
ananthgomattam May 31, 2026
007249c
command to move top roller forwarf bottom backward
ananthgomattam May 31, 2026
e554a57
a()
Aradig26 May 31, 2026
c853f57
Merge branch 'event-bc-turnover' of https://github.com/Team-190/2k26-…
Aradig26 May 31, 2026
78759c3
Update at 'Sun May 31 11:26:44 EDT 2026'
Aradig26 May 31, 2026
1c00aac
Update at 'Sun May 31 13:31:07 EDT 2026'
ananthgomattam May 31, 2026
7a294b3
Merge branch 'event-bc-turnover' of https://github.com/Team-190/2k26-…
Aradig26 May 31, 2026
f396cea
new v1 autos (anshu pls dont shoot me im here before internship meeting)
ananthgomattam Jun 3, 2026
8be30ce
Update at 'Wed Jun 03 11:53:15 EDT 2026'
ananthgomattam Jun 3, 2026
edfada0
more tests
ElliotScher Jun 5, 2026
3c1b143
v1 will SMACK the wall on auto now
ananthgomattam Jun 5, 2026
471e666
Update at 'Fri Jun 05 19:02:41 EDT 2026'
Aradig26 Jun 5, 2026
982a503
Update at 'Fri Jun 05 19:55:47 EDT 2026'
Aradig26 Jun 5, 2026
431d7e0
made htting wall slower
ananthgomattam Jun 6, 2026
57a983c
path angle change
ananthgomattam Jun 7, 2026
2ecf446
100% coverage
ElliotScher Jun 25, 2026
8304d73
Merge pull request #273 from Team-190/turnover-model
ElliotScher Jun 25, 2026
7985830
revert team number
ElliotScher Jun 25, 2026
1a5b984
Merge pull request #274 from Team-190/event-bc-doom
ElliotScher Jun 25, 2026
d4528ab
Merge branch 'feature-bc' into event-bc-turnover
ElliotScher Jun 25, 2026
bbb6e69
Merge pull request #275 from Team-190/event-bc-turnover
ElliotScher Jun 25, 2026
16d5103
jacoco coverage print
ElliotScher Jun 25, 2026
1c2c8a4
Merge branch 'feature-bc' into gompeilibtests
ElliotScher Jun 25, 2026
054a0d6
Merge pull request #276 from Team-190/gompeilibtests
ElliotScher Jun 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/pullgompeilib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
sync:
uses: Team-190/CI-Workflows/.github/workflows/syncgompeilib.yml@main
uses: Team-190/CI-Workflows/.github/workflows/syncgompeilib.yaml@main
with:
direction: pull
secrets:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pushgompeilib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
sync:
uses: Team-190/CI-Workflows/.github/workflows/syncgompeilib.yml@main
uses: Team-190/CI-Workflows/.github/workflows/syncgompeilib.yaml@main
with:
direction: push
secrets:
Expand Down
22 changes: 0 additions & 22 deletions advantagescope_assets/Robot_Delta/config.json

This file was deleted.

Binary file removed advantagescope_assets/Robot_Delta/model_6.glb
Binary file not shown.
142 changes: 142 additions & 0 deletions advantagescope_assets/Robot_Turnover/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
{
"name": "Turnover",
"sourceUrl": "https://frc190.onshape.com/documents/ba8a365713d40fc24cf0b54f/w/90379dd84e9a15f2f3a15787/e/f7562994bcc6d5175e8e4e30",
"disableSimplification": true,
"rotations": [
{
"axis": "x",
"degrees": 90
},
{
"axis": "z",
"degrees": 90
}
],
"position": [
0,
0,
0
],
"cameras": [],
"components": [
{
"zeroedRotations": [
{
"axis": "x",
"degrees": 90
},
{
"axis": "z",
"degrees": 90
}
],
"zeroedPosition": [
0.017463,
0.163513,
-0.371475
]
},
{
"zeroedRotations": [
{
"axis": "x",
"degrees": 90
},
{
"axis": "z",
"degrees": 90
}
],
"zeroedPosition": [
-0.043168,
0.1635125,
-0.474975
]
},
{
"zeroedRotations": [
{
"axis": "x",
"degrees": 90
},
{
"axis": "z",
"degrees": 90
}
],
"zeroedPosition": [
0.317482,
-0.090043,
-0.477114
]
},
{
"zeroedRotations": [
{
"axis": "x",
"degrees": 90
},
{
"axis": "z",
"degrees": 90
}
],
"zeroedPosition": [
0,
0,
0
]
},
{
"zeroedRotations": [
{
"axis": "x",
"degrees": 90
},
{
"axis": "z",
"degrees": 90
}
],
"zeroedPosition": [
-0.139700,
0,
-0.254000
]
},
{
"zeroedRotations": [
{
"axis": "x",
"degrees": 90
},
{
"axis": "z",
"degrees": 90
}
],
"zeroedPosition": [
0.003638,
0,
-0.335929
]
},
{
"zeroedRotations": [
{
"axis": "x",
"degrees": 90
},
{
"axis": "z",
"degrees": 90
}
],
"zeroedPosition": [
-0.292100,
0,
-0.171450
]
}
]
}
Binary file added advantagescope_assets/Robot_Turnover/model_6.glb
Binary file not shown.
134 changes: 39 additions & 95 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ plugins {
id "com.peterabeles.gversion" version "1.10"
id "io.freefair.lombok" version "8.4"
id "com.diffplug.spotless" version "6.25.0"
id "io.freefair.aspectj.post-compile-weaving" version "8.4"
id "io.freefair.aspectj.post-compile-weaving" version "8.6"
id "jacoco"
}

ext {
Expand Down Expand Up @@ -111,65 +112,11 @@ deploy {
}
}

def getGompeiVersionFromSource() {
def configFile = file("src/main/java/frc/robot/RobotConfig.java")
if (!configFile.exists()) {
logger.warn("WARNING: No RobotConfig.java class found, falling back to latest GompeiLib package")
return "2026+"
} else {
logger.info("INFO: RobotConfig.java class found")
}

def content = configFile.text

def robotMatcher = content =~ /ROBOT\s*=\s*RobotType\.(\w+);/
if (robotMatcher.find()) {
def activeRobot = robotMatcher.group(1)

def versionMatcher = content =~ /${activeRobot}\("([^"]+)"\)/
if (versionMatcher.find()) {
return versionMatcher.group(1)
}
}
return "0.0.0-SNAPSHOT"
}

def GLibRepoPath = ""

repositories {

def gprUser = project.findProperty("gpr.user")
def gprKey = project.findProperty("gpr.key")

if (!useLocalGompeiLib && gprUser != null && gprKey != null) {
// Use GitHub Packages if credentials exist
exclusiveContent {
forRepository {
maven {
name = "GompeiLibGitHubPackages"
url = uri("https://maven.pkg.github.com/Team-190/GompeiLib")
credentials {
username = gprUser
password = gprKey
}
}
}
filter {
includeGroup "edu.wpi.team190"
}
}
def gompeiLibVersion = getGompeiVersionFromSource()
GLibRepoPath = "edu.wpi.team190:gompeilib:${gompeiLibVersion}"
} else {
logger.warn("WARNING: Using local GompeiLib build.")

mavenLocal()
GLibRepoPath = "edu.wpi.team190:gompeilib:0.0.0-SNAPSHOT"
}
mavenCentral()
}

// Grab the roboRIO comment via SSH

import com.jcraft.jsch.JSch
import edu.wpi.first.gradlerio.GradleRIOPlugin
import groovy.json.JsonSlurper
Expand Down Expand Up @@ -328,12 +275,12 @@ dependencies {
implementation 'org.jgrapht:jgrapht-core:1.5.1'
implementation 'org.jgrapht:jgrapht-io:1.5.1'


implementation GLibRepoPath
// This is required for the @Tracer annotations to work at runtime
implementation 'org.aspectj:aspectjrt:1.9.21'
implementation 'org.aspectj:aspectjtools:1.9.21'
aspect GLibRepoPath

implementation project(':gompeilib')
aspect project(':gompeilib')

roborioRelease wpi.java.deps.wpilibJniRelease(wpi.platforms.roborio)
roborioRelease wpi.java.vendor.jniRelease(wpi.platforms.roborio)
Expand All @@ -353,9 +300,42 @@ dependencies {
annotationProcessor "org.littletonrobotics.akit:akit-autolog:$akitJson.version"
}

jacoco {
toolVersion = "0.8.10"
}

test {
useJUnitPlatform()
systemProperty 'junit.jupiter.extensions.autodetection.enabled', 'true'
finalizedBy jacocoTestReport
}

jacocoTestReport {
dependsOn test
reports {
xml.required = true
html.required = true
}
doLast {
def reportFile = file("${buildDir}/reports/jacoco/test/jacocoTestReport.xml")
if (reportFile.exists()) {
def parser = new groovy.xml.XmlParser(false, false)
parser.setFeature("http://apache.org/xml/features/disallow-doctype-decl", false)
parser.setFeature("http://xml.org/sax/features/validation", false)
parser.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false)
def xml = parser.parse(reportFile)
println "\n=== JaCoCo Coverage Summary for root project ==="
xml.counter.each { counter ->
def type = counter.attribute('type')
def missed = counter.attribute('missed').toInteger()
def covered = counter.attribute('covered').toInteger()
def total = missed + covered
def percentage = total > 0 ? (covered * 100.0 / total) : 0.0
printf("%-12s: %.2f%% (%d/%d)%n", type, percentage, covered, total)
}
println "================================================\n"
}
}
}

// Simulation configuration (e.g. environment variables).
Expand Down Expand Up @@ -476,39 +456,3 @@ spotless {
endWithNewline()
}
}

tasks.register('appendBuildVersion') {
doLast {
def src = useLocalGompeiLib
? "GompeiLib:local"
: ((project.hasProperty("gpr.user") && project.hasProperty("gpr.key"))
? "GompeiLib:github-packages"
: "GompeiLib:jitpack")

def dep = configurations.detachedConfiguration(
dependencies.create(GLibRepoPath)
).resolvedConfiguration.firstLevelModuleDependencies.find {
it.moduleName == "gompeilib"
}

def ver = dep?.moduleVersion ?: "unknown"
"${src}:${ver}"
def outFile = file("src/main/java/frc/robot/BuildConstants.java")
if (!outFile.exists()) throw new GradleException("BuildConstants.java not found. Run gversion first.")

def contents = outFile.text

// Replace existing VERSION field if present, otherwise append before last brace
if (contents =~ /public static final String VERSION\s*=\s*".*";/) {
contents = contents.replaceFirst(/public static final String VERSION\s*=\s*".*";/,
"public static final String VERSION = \"${src}:${ver}\";")
} else {
contents = contents.replaceFirst(/\}\s*$/, " public static final String VERSION = \"${src}:${ver}\";\n}")
}

outFile.text = contents
println "VERSION field set to ${src}:${ver}"
}
}

createVersionFile.finalizedBy appendBuildVersion
Loading
Loading