Skip to content
This repository has been archived by the owner on Jan 27, 2025. It is now read-only.

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
EtherexStudios committed May 14, 2024
1 parent 7d15625 commit 582ecd4
Show file tree
Hide file tree
Showing 31 changed files with 91 additions and 1 deletion.
Binary file modified .gradle/8.5/checksums/checksums.lock
Binary file not shown.
Binary file added .gradle/8.5/checksums/md5-checksums.bin
Binary file not shown.
Binary file added .gradle/8.5/checksums/sha1-checksums.bin
Binary file not shown.
Binary file modified .gradle/8.5/dependencies-accessors/dependencies-accessors.lock
Binary file not shown.
Empty file.
Binary file added .gradle/8.5/executionHistory/executionHistory.bin
Binary file not shown.
Binary file added .gradle/8.5/executionHistory/executionHistory.lock
Binary file not shown.
Binary file added .gradle/8.5/fileChanges/last-build.bin
Binary file not shown.
Binary file added .gradle/8.5/fileHashes/fileHashes.bin
Binary file not shown.
Binary file modified .gradle/8.5/fileHashes/fileHashes.lock
Binary file not shown.
Binary file added .gradle/8.5/fileHashes/resourceHashesCache.bin
Binary file not shown.
Empty file added .gradle/8.5/gc.properties
Empty file.
Binary file modified .gradle/buildOutputCleanup/buildOutputCleanup.lock
Binary file not shown.
Binary file added .gradle/buildOutputCleanup/outputFiles.bin
Binary file not shown.
Binary file added .gradle/file-system.probe
Binary file not shown.
Empty file added .gradle/vcs-1/gc.properties
Empty file.
6 changes: 6 additions & 0 deletions .wpilib/wpilib_preferences.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"currentLanguage": "none",
"enableCppIntellisense": false,
"projectYear": "none",
"teamNumber": 2638
}
26 changes: 25 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id "java"
id "edu.wpi.first.GradleRIO" version "2024.1.1"
id "edu.wpi.first.GradleRIO" version "2024.3.2"
}

java {
Expand Down Expand Up @@ -69,6 +69,9 @@ dependencies {

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

def akitJson = new groovy.json.JsonSlurper().parseText(new File(projectDir.getAbsolutePath() + "/vendordeps/AdvantageKit.json").text)
annotationProcessor "org.littletonrobotics.akit.junction:junction-autolog:$akitJson.version"
}

test {
Expand Down Expand Up @@ -99,3 +102,24 @@ wpi.java.configureTestTasks(test)
tasks.withType(JavaCompile) {
options.compilerArgs.add '-XDstringConcat=inline'
}

repositories {
maven {
url = uri("https://maven.pkg.github.com/Mechanical-Advantage/AdvantageKit")
credentials {
username = "Mechanical-Advantage-Bot"
password = "\u0067\u0068\u0070\u005f\u006e\u0056\u0051\u006a\u0055\u004f\u004c\u0061\u0079\u0066\u006e\u0078\u006e\u0037\u0051\u0049\u0054\u0042\u0032\u004c\u004a\u006d\u0055\u0070\u0073\u0031\u006d\u0037\u004c\u005a\u0030\u0076\u0062\u0070\u0063\u0051"
}
}
mavenLocal()
}

configurations.all {
exclude group: "edu.wpi.first.wpilibj"
}

task(checkAkitInstall, dependsOn: "classes", type: JavaExec) {
mainClass = "org.littletonrobotics.junction.CheckInstall"
classpath = sourceSets.main.runtimeClasspath
}
compileJava.finalizedBy checkAkitInstall
Binary file not shown.
Binary file added build/classes/java/main/frc/robot/Constants.class
Binary file not shown.
Binary file added build/classes/java/main/frc/robot/Main.class
Binary file not shown.
Binary file added build/classes/java/main/frc/robot/Robot.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
3 changes: 3 additions & 0 deletions src/main/java/frc/robot/subsystems/Shooter/Pivot.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
public class PivotSubsystem extends SubsystemBase {

}
12 changes: 12 additions & 0 deletions src/main/java/frc/robot/subsystems/Shooter/PivotIO.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import org.littletonrobotics.junction.AutoLog;

public interface PivotIO {
@AutoLog
public static class PivotIOInputs {
public double currentAmps;
public doub
}

public default void setVoltage(double voltage) {}

}
3 changes: 3 additions & 0 deletions src/main/java/frc/robot/subsystems/Shooter/PivotIONeo.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
public class PivotIONeo {

}
42 changes: 42 additions & 0 deletions vendordeps/AdvantageKit.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"fileName": "AdvantageKit.json",
"name": "AdvantageKit",
"version": "3.2.0",
"uuid": "d820cc26-74e3-11ec-90d6-0242ac120003",
"frcYear": "2024",
"mavenUrls": [],
"jsonUrl": "https://github.com/Mechanical-Advantage/AdvantageKit/releases/latest/download/AdvantageKit.json",
"javaDependencies": [
{
"groupId": "org.littletonrobotics.akit.junction",
"artifactId": "wpilib-shim",
"version": "3.2.0"
},
{
"groupId": "org.littletonrobotics.akit.junction",
"artifactId": "junction-core",
"version": "3.2.0"
},
{
"groupId": "org.littletonrobotics.akit.conduit",
"artifactId": "conduit-api",
"version": "3.2.0"
}
],
"jniDependencies": [
{
"groupId": "org.littletonrobotics.akit.conduit",
"artifactId": "conduit-wpilibio",
"version": "3.2.0",
"skipInvalidPlatforms": false,
"isJar": false,
"validPlatforms": [
"linuxathena",
"windowsx86-64",
"linuxx86-64",
"osxuniversal"
]
}
],
"cppDependencies": []
}

0 comments on commit 582ecd4

Please sign in to comment.