Skip to content

Commit cf8536b

Browse files
committed
Added Constants File and added basic skeleton for subsystem
1 parent 136406c commit cf8536b

37 files changed

Lines changed: 4753 additions & 4481 deletions

.github/workflows/build.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
name: Build
2-
3-
on:
4-
push:
5-
pull_request:
6-
7-
jobs:
8-
build:
9-
name: Build
10-
runs-on: ubuntu-latest
11-
container: wpilib/roborio-cross-ubuntu:2024-22.04
12-
steps:
13-
- name: Checkout repository
14-
uses: actions/checkout@v4
15-
- name: Grant execute permission
16-
run: chmod +x gradlew
17-
- name: Build robot code
18-
run: ./gradlew build
1+
name: Build
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
build:
9+
name: Build
10+
runs-on: ubuntu-latest
11+
container: wpilib/roborio-cross-ubuntu:2024-22.04
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v4
15+
- name: Grant execute permission
16+
run: chmod +x gradlew
17+
- name: Build robot code
18+
run: ./gradlew build

.vscode/extensions.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
{
2-
"recommendations": [
3-
"richardwillis.vscode-spotless-gradle"
4-
]
5-
}
1+
{
2+
"recommendations": [
3+
"richardwillis.vscode-spotless-gradle"
4+
]
5+
}

.vscode/launch.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
{
2-
"version": "0.2.0",
3-
"configurations": [
4-
{
5-
"type": "wpilib",
6-
"name": "WPILib Desktop Debug",
7-
"request": "launch",
8-
"desktop": true
9-
},
10-
{
11-
"type": "wpilib",
12-
"name": "WPILib roboRIO Debug",
13-
"request": "launch",
14-
"desktop": false
15-
}
16-
]
17-
}
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"type": "wpilib",
6+
"name": "WPILib Desktop Debug",
7+
"request": "launch",
8+
"desktop": true
9+
},
10+
{
11+
"type": "wpilib",
12+
"name": "WPILib roboRIO Debug",
13+
"request": "launch",
14+
"desktop": false
15+
}
16+
]
17+
}

.vscode/settings.json

Lines changed: 72 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -1,72 +1,72 @@
1-
{
2-
"java.configuration.updateBuildConfiguration": "automatic",
3-
"java.server.launchMode": "Standard",
4-
"files.exclude": {
5-
"**/.git": true,
6-
"**/.svn": true,
7-
"**/.hg": true,
8-
"**/CVS": true,
9-
"**/.DS_Store": true,
10-
"bin/": true,
11-
"**/.classpath": true,
12-
"**/.project": true,
13-
"**/.settings": true,
14-
"**/.factorypath": true,
15-
"**/*~": true
16-
},
17-
"java.test.config": [
18-
{
19-
"name": "WPIlibUnitTests",
20-
"workingDirectory": "${workspaceFolder}/build/jni/release",
21-
"vmargs": [
22-
"-Djava.library.path=${workspaceFolder}/build/jni/release"
23-
],
24-
"env": {
25-
"LD_LIBRARY_PATH": "${workspaceFolder}/build/jni/release",
26-
"DYLD_LIBRARY_PATH": "${workspaceFolder}/build/jni/release"
27-
}
28-
},
29-
null
30-
],
31-
"java.test.defaultConfig": "WPIlibUnitTests",
32-
"spotlessGradle.format.enable": true,
33-
"spotlessGradle.diagnostics.enable": false,
34-
"java.import.gradle.annotationProcessing.enabled": false,
35-
"java.completion.favoriteStaticMembers": [
36-
"org.junit.Assert.*",
37-
"org.junit.Assume.*",
38-
"org.junit.jupiter.api.Assertions.*",
39-
"org.junit.jupiter.api.Assumptions.*",
40-
"org.junit.jupiter.api.DynamicContainer.*",
41-
"org.junit.jupiter.api.DynamicTest.*",
42-
"org.mockito.Mockito.*",
43-
"org.mockito.ArgumentMatchers.*",
44-
"org.mockito.Answers.*",
45-
"edu.wpi.first.units.Units.*"
46-
],
47-
"java.completion.filteredTypes": [
48-
"java.awt.*",
49-
"com.sun.*",
50-
"sun.*",
51-
"jdk.*",
52-
"org.graalvm.*",
53-
"io.micrometer.shaded.*",
54-
"java.beans.*",
55-
"java.util.Base64.*",
56-
"java.util.Timer",
57-
"java.sql.*",
58-
"javax.swing.*",
59-
"javax.management.*",
60-
"javax.smartcardio.*",
61-
"edu.wpi.first.math.proto.*",
62-
"edu.wpi.first.math.**.proto.*",
63-
"edu.wpi.first.math.**.struct.*"
64-
],
65-
"editor.defaultFormatter": "richardwillis.vscode-spotless-gradle",
66-
"[json]": {
67-
"editor.defaultFormatter": "richardwillis.vscode-spotless-gradle"
68-
},
69-
"[java]": {
70-
"editor.defaultFormatter": "richardwillis.vscode-spotless-gradle"
71-
}
72-
}
1+
{
2+
"java.configuration.updateBuildConfiguration": "automatic",
3+
"java.server.launchMode": "Standard",
4+
"files.exclude": {
5+
"**/.git": true,
6+
"**/.svn": true,
7+
"**/.hg": true,
8+
"**/CVS": true,
9+
"**/.DS_Store": true,
10+
"bin/": true,
11+
"**/.classpath": true,
12+
"**/.project": true,
13+
"**/.settings": true,
14+
"**/.factorypath": true,
15+
"**/*~": true
16+
},
17+
"java.test.config": [
18+
{
19+
"name": "WPIlibUnitTests",
20+
"workingDirectory": "${workspaceFolder}/build/jni/release",
21+
"vmargs": [
22+
"-Djava.library.path=${workspaceFolder}/build/jni/release"
23+
],
24+
"env": {
25+
"LD_LIBRARY_PATH": "${workspaceFolder}/build/jni/release",
26+
"DYLD_LIBRARY_PATH": "${workspaceFolder}/build/jni/release"
27+
}
28+
},
29+
null
30+
],
31+
"java.test.defaultConfig": "WPIlibUnitTests",
32+
"spotlessGradle.format.enable": true,
33+
"spotlessGradle.diagnostics.enable": false,
34+
"java.import.gradle.annotationProcessing.enabled": false,
35+
"java.completion.favoriteStaticMembers": [
36+
"org.junit.Assert.*",
37+
"org.junit.Assume.*",
38+
"org.junit.jupiter.api.Assertions.*",
39+
"org.junit.jupiter.api.Assumptions.*",
40+
"org.junit.jupiter.api.DynamicContainer.*",
41+
"org.junit.jupiter.api.DynamicTest.*",
42+
"org.mockito.Mockito.*",
43+
"org.mockito.ArgumentMatchers.*",
44+
"org.mockito.Answers.*",
45+
"edu.wpi.first.units.Units.*"
46+
],
47+
"java.completion.filteredTypes": [
48+
"java.awt.*",
49+
"com.sun.*",
50+
"sun.*",
51+
"jdk.*",
52+
"org.graalvm.*",
53+
"io.micrometer.shaded.*",
54+
"java.beans.*",
55+
"java.util.Base64.*",
56+
"java.util.Timer",
57+
"java.sql.*",
58+
"javax.swing.*",
59+
"javax.management.*",
60+
"javax.smartcardio.*",
61+
"edu.wpi.first.math.proto.*",
62+
"edu.wpi.first.math.**.proto.*",
63+
"edu.wpi.first.math.**.struct.*"
64+
],
65+
"editor.defaultFormatter": "richardwillis.vscode-spotless-gradle",
66+
"[json]": {
67+
"editor.defaultFormatter": "richardwillis.vscode-spotless-gradle"
68+
},
69+
"[java]": {
70+
"editor.defaultFormatter": "richardwillis.vscode-spotless-gradle"
71+
}
72+
}

.wpilib/wpilib_preferences.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
{
2-
"enableCppIntellisense": false,
3-
"currentLanguage": "java",
4-
"projectYear": "2025",
5-
"teamNumber": 1425
1+
{
2+
"enableCppIntellisense": false,
3+
"currentLanguage": "java",
4+
"projectYear": "2025",
5+
"teamNumber": 1425
66
}

0 commit comments

Comments
 (0)