]> git.taranathan.com Git - FRC2026.git/commitdiff
Add incorrectly removed/changed files back.
authorArnav495 <arnieincyberland@gmail.com>
Sat, 17 Jan 2026 22:18:19 +0000 (14:18 -0800)
committerArnav495 <arnieincyberland@gmail.com>
Sat, 17 Jan 2026 22:18:19 +0000 (14:18 -0800)
.gitattributes [new file with mode: 0644]
.github/CODEOWNERS [new file with mode: 0644]
.github/PULL_REQUEST_TEMPLATE.md [new file with mode: 0644]
.github/workflows/main.yml [new file with mode: 0644]
.gitignore
.pathplanner/settings.json [new file with mode: 0644]
README.md [new file with mode: 0644]
build.gradle
src/main/java/frc/robot/util/BuildData.java [deleted file]

diff --git a/.gitattributes b/.gitattributes
new file mode 100644 (file)
index 0000000..286213b
--- /dev/null
@@ -0,0 +1,4 @@
+*.gradle text eol=lf
+*.java text eol=lf
+*.md text eol=lf
+*.xml text eol=lf
\ No newline at end of file
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
new file mode 100644 (file)
index 0000000..80743dc
--- /dev/null
@@ -0,0 +1,2 @@
+# Make the pull reviewers code owners for every file, they will get requested for review when a PR is made
+*   @Saara21 @MaxwellTTan20 @Arnav814 @ericoj100 @mm-MS13-Mehaan
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
new file mode 100644 (file)
index 0000000..c89f33b
--- /dev/null
@@ -0,0 +1,21 @@
+<!--
+PLEASE CHECK THE PR GUIDELINES:
+ https://docs.google.com/document/d/14ZIhQRlUPK0wl5_AmM80N2D2KJUd6k_7I6isLS89YKU/edit
+These are the things we are going to be checking your PR has, if it doesn't your PR will be rejected!
+-->
+
+## Overview
+<!-- A general very short overview of the PR -->
+This PR will...
+
+
+## Documentation
+<!-- Link your approved design doc or your project documentation. We will be checking that the code fits everything in the linked file. If the PR is only meant to address part of it, note here what is not yet implemented -->
+
+
+## Tests Ran
+<!-- At a minimum, make sure the code builds and that the code works in the sim. -->
+
+
+## Additional Notes
+<!-- Anything else that will help the reviewer understand your PR -->
\ No newline at end of file
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
new file mode 100644 (file)
index 0000000..faa5948
--- /dev/null
@@ -0,0 +1,42 @@
+# This is a basic workflow to build robot code. credit: WPI
+
+name: CI
+
+# Controls when the action will run. Triggers the workflow on push or pull request
+# events but only for the main branch.
+on:
+  push:
+    branches: [ main ]
+  pull_request:
+    branches: [ main ]
+
+# A workflow run is made up of one or more jobs that can run sequentially or in parallel
+jobs:
+  # This workflow contains a single job called "build"
+  build:
+    # The type of runner that the job will run on
+    runs-on: ubuntu-latest
+
+    # This grabs the WPILib docker container
+    container: wpilib/roborio-cross-ubuntu:2023-22.04
+
+    # Steps represent a sequence of tasks that will be executed as part of the job
+    steps:
+    # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
+    - uses: actions/checkout@v3
+
+    # Declares the repository safe and not under dubious ownership.
+    - name: Add repository to git safe directories
+      run: git config --global --add safe.directory $GITHUB_WORKSPACE
+
+    # Grant execute permission for gradlew
+    - name: Grant execute permission for gradlew
+      run: chmod +x gradlew
+
+    # Call gversion to make the version file
+    - name: Create BuildData.java
+      run: ./gradlew createVersionFile
+
+    # Runs a single command using the runners shell
+    - name: Compile and run tests on robot code
+      run: ./gradlew build
index 34cbaac119749415c9ec24fed3bbe0abef61c71f..88b4e698edd96819631888ce238eae28e12b3288 100644 (file)
@@ -185,3 +185,7 @@ compile_commands.json
 
 # Eclipse generated file for annotation processors
 .factorypath
+
+# File that has git and version data
+src/main/java/frc/robot/util/BuildData.java
+
diff --git a/.pathplanner/settings.json b/.pathplanner/settings.json
new file mode 100644 (file)
index 0000000..0c64c43
--- /dev/null
@@ -0,0 +1,15 @@
+{
+  "robotWidth": 0.76,
+  "robotLength": 0.91,
+  "holonomicMode": true,
+  "pathFolders": [
+    "Final Stuff",
+    "Stuff"
+  ],
+  "autoFolders": [],
+  "defaultMaxVel": 3.0,
+  "defaultMaxAccel": 3.0,
+  "defaultMaxAngVel": 540.0,
+  "defaultMaxAngAccel": 720.0,
+  "maxModuleSpeed": 4.5
+}
\ No newline at end of file
diff --git a/README.md b/README.md
new file mode 100644 (file)
index 0000000..f478cf3
--- /dev/null
+++ b/README.md
@@ -0,0 +1,5 @@
+# FRC2026
+
+[![CI](https://github.com/iron-claw-972/FRC2026/actions/workflows/main.yml/badge.svg)](https://github.com/iron-claw-972/FRC2026/actions/workflows/main.yml)
+
+Code for the 2025-2026 FRC Season.
index 1f516b7eb0c497a7dd28b3e4c0710838e5d45f7b..cd7acf9f3acdbd0289a58ac53f209d43d9609335 100644 (file)
@@ -28,6 +28,14 @@ deploy {
                 // getTargetTypeClass is a shortcut to get the class type using a string
 
                 frcJava(getArtifactTypeClass('FRCJavaArtifact')) {
+                    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("-XX:+HeapDumpOnOutOfMemoryError")
+                    jvmArgs.add("-XX:HeapDumpPath=/home/lvuser/frc-usercode.hprof")
+                    jvmArgs.add("-Djava.rmi.server.hostname=10.9.72.2")
                 }
 
                 // Static files artifact
@@ -122,5 +130,6 @@ wpi.java.configureTestTasks(test)
 
 // Configure string concat to always inline compile
 tasks.withType(JavaCompile) {
+    options.encoding = 'UTF-8' // prevent breaks in CI
     options.compilerArgs.add '-XDstringConcat=inline'
 }
diff --git a/src/main/java/frc/robot/util/BuildData.java b/src/main/java/frc/robot/util/BuildData.java
deleted file mode 100644 (file)
index d96255b..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-package frc.robot.util;
-
-/**
- * Automatically generated file containing build version information.
- */
-public final class BuildData {
-       public static final String MAVEN_GROUP = "";
-       public static final String MAVEN_NAME = "FRC2026";
-       public static final String VERSION = "unspecified";
-       public static final int GIT_REVISION = 16;
-       public static final String GIT_SHA = "63d00c4a0f83516c34001c72932a777d4ecffe70";
-       public static final String GIT_DATE = "2026-01-17T00:05:23Z";
-       public static final String GIT_BRANCH = "2026-migration";
-       public static final String BUILD_DATE = "2026-01-17T00:51:05Z";
-       public static final long BUILD_UNIX_TIME = 1768611065393L;
-       public static final int DIRTY = 1;
-
-       private BuildData(){}
-}