Skip to content

Commit 2130076

Browse files
committed
Initial commit
0 parents  commit 2130076

File tree

112 files changed

+12135
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+12135
-0
lines changed

.github/workflows/gradle.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Build Project
2+
3+
on: [ push ]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
permissions:
9+
contents: read
10+
11+
steps:
12+
- uses: actions/checkout@v4
13+
14+
- name: Make gradlew executable
15+
run: chmod +x ./gradlew
16+
17+
- name: Build with Gradle Wrapper
18+
run: ./gradlew build

.gitignore

Lines changed: 192 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,192 @@
1+
# team4099 added stuff
2+
/src/main/kotlin/com/team4099/robot2025/BuildConstants.kt
3+
4+
**/*.hprof
5+
6+
# This gitignore has been specially created by the WPILib team.
7+
# If you remove items from this file, intellisense might break.
8+
9+
### C++ ###
10+
# Prerequisites
11+
*.d
12+
13+
# Compiled Object files
14+
*.slo
15+
*.lo
16+
*.o
17+
*.obj
18+
19+
# Precompiled Headers
20+
*.gch
21+
*.pch
22+
23+
# Compiled Dynamic libraries
24+
*.so
25+
*.dylib
26+
*.dll
27+
28+
# Fortran module files
29+
*.mod
30+
*.smod
31+
32+
# Compiled Static libraries
33+
*.lai
34+
*.la
35+
*.a
36+
*.lib
37+
38+
# Executables
39+
*.exe
40+
*.out
41+
*.app
42+
43+
### Java ###
44+
# Compiled class file
45+
*.class
46+
47+
# Log file
48+
*.log
49+
50+
# BlueJ files
51+
*.ctxt
52+
53+
# Mobile Tools for Java (J2ME)
54+
.mtj.tmp/
55+
56+
# Package Files #
57+
*.jar
58+
*.war
59+
*.nar
60+
*.ear
61+
*.zip
62+
*.tar.gz
63+
*.rar
64+
65+
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
66+
hs_err_pid*
67+
68+
### Linux ###
69+
*~
70+
71+
# temporary files which can be created if a process still has a handle open of a deleted file
72+
.fuse_hidden*
73+
74+
# KDE directory preferences
75+
.directory
76+
77+
# Linux trash folder which might appear on any partition or disk
78+
.Trash-*
79+
80+
# .nfs files are created when an open file is removed but is still being accessed
81+
.nfs*
82+
83+
### macOS ###
84+
# General
85+
.DS_Store
86+
.AppleDouble
87+
.LSOverride
88+
89+
# Icon must end with two \r
90+
Icon
91+
92+
# Thumbnails
93+
._*
94+
95+
# Files that might appear in the root of a volume
96+
.DocumentRevisions-V100
97+
.fseventsd
98+
.Spotlight-V100
99+
.TemporaryItems
100+
.Trashes
101+
.VolumeIcon.icns
102+
.com.apple.timemachine.donotpresent
103+
104+
# Directories potentially created on remote AFP share
105+
.AppleDB
106+
.AppleDesktop
107+
Network Trash Folder
108+
Temporary Items
109+
.apdisk
110+
111+
### VisualStudioCode ###
112+
.vscode/*
113+
!.vscode/settings.json
114+
!.vscode/tasks.json
115+
!.vscode/launch.json
116+
!.vscode/extensions.json
117+
118+
### Windows ###
119+
# Windows thumbnail cache files
120+
Thumbs.db
121+
ehthumbs.db
122+
ehthumbs_vista.db
123+
124+
# Dump file
125+
*.stackdump
126+
127+
# Folder config file
128+
[Dd]esktop.ini
129+
130+
# Recycle Bin used on file shares
131+
$RECYCLE.BIN/
132+
133+
# Windows Installer files
134+
*.cab
135+
*.msi
136+
*.msix
137+
*.msm
138+
*.msp
139+
140+
# Windows shortcuts
141+
*.lnk
142+
143+
### Gradle ###
144+
.gradle
145+
/build/
146+
147+
# Ignore Gradle GUI config
148+
gradle-app.setting
149+
150+
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
151+
!gradle-wrapper.jar
152+
153+
# Cache of project
154+
.gradletasknamecache
155+
156+
# # Work around https://youtrack.jetbrains.com/issue/IDEA-116898
157+
# gradle/wrapper/gradle-wrapper.properties
158+
159+
# # VS Code Specific Java Settings
160+
# DO NOT REMOVE .classpath and .project
161+
.classpath
162+
.project
163+
.settings/
164+
bin/
165+
166+
# IntelliJ
167+
*.iml
168+
*.ipr
169+
*.iws
170+
.idea/
171+
out/
172+
173+
# Fleet
174+
.fleet
175+
176+
# Simulation GUI and other tools window save file
177+
networktables.json
178+
simgui*.json
179+
*-window.json
180+
181+
# Simulation data log directory
182+
logs/
183+
184+
# Folder that has CTRE Phoenix Sim device config storage
185+
ctre_sim/
186+
187+
# clangd
188+
/.cache
189+
compile_commands.json
190+
191+
# Eclipse generated file for annotation processors
192+
.factorypath

.vscode/launch.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
8+
{
9+
"type": "wpilib",
10+
"name": "WPILib Desktop Debug",
11+
"request": "launch",
12+
"desktop": true,
13+
},
14+
{
15+
"type": "wpilib",
16+
"name": "WPILib roboRIO Debug",
17+
"request": "launch",
18+
"desktop": false,
19+
}
20+
]
21+
}

.vscode/settings.json

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
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": [ "-Djava.library.path=${workspaceFolder}/build/jni/release" ],
22+
"env": {
23+
"LD_LIBRARY_PATH": "${workspaceFolder}/build/jni/release" ,
24+
"DYLD_LIBRARY_PATH": "${workspaceFolder}/build/jni/release"
25+
}
26+
},
27+
],
28+
"java.test.defaultConfig": "WPIlibUnitTests",
29+
"java.import.gradle.annotationProcessing.enabled": false,
30+
"java.completion.favoriteStaticMembers": [
31+
"org.junit.Assert.*",
32+
"org.junit.Assume.*",
33+
"org.junit.jupiter.api.Assertions.*",
34+
"org.junit.jupiter.api.Assumptions.*",
35+
"org.junit.jupiter.api.DynamicContainer.*",
36+
"org.junit.jupiter.api.DynamicTest.*",
37+
"org.mockito.Mockito.*",
38+
"org.mockito.ArgumentMatchers.*",
39+
"org.mockito.Answers.*",
40+
"edu.wpi.first.units.Units.*"
41+
],
42+
"java.completion.filteredTypes": [
43+
"java.awt.*",
44+
"com.sun.*",
45+
"sun.*",
46+
"jdk.*",
47+
"org.graalvm.*",
48+
"io.micrometer.shaded.*",
49+
"java.beans.*",
50+
"java.util.Base64.*",
51+
"java.util.Timer",
52+
"java.sql.*",
53+
"javax.swing.*",
54+
"javax.management.*",
55+
"javax.smartcardio.*",
56+
"edu.wpi.first.math.proto.*",
57+
"edu.wpi.first.math.**.proto.*",
58+
"edu.wpi.first.math.**.struct.*",
59+
]
60+
}

.wpilib/wpilib_preferences.json

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

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Test Robot
2+
Team 4099's robot code for the test (spare) drivetrain.
3+
4+
# Team 4099 (The Falcons)
5+
We are a school-based _FIRST® Robotics Competition_ team from Poolesville High School, located in Poolesville, Maryland. Visit our website at [https://www.team4099.com/](https://www.team4099.com)!

WPILib-License.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
Copyright (c) 2009-2024 FIRST and other WPILib contributors
2+
All rights reserved.
3+
4+
Redistribution and use in source and binary forms, with or without
5+
modification, are permitted provided that the following conditions are met:
6+
* Redistributions of source code must retain the above copyright
7+
notice, this list of conditions and the following disclaimer.
8+
* Redistributions in binary form must reproduce the above copyright
9+
notice, this list of conditions and the following disclaimer in the
10+
documentation and/or other materials provided with the distribution.
11+
* Neither the name of FIRST, WPILib, nor the names of other WPILib
12+
contributors may be used to endorse or promote products derived from
13+
this software without specific prior written permission.
14+
15+
THIS SOFTWARE IS PROVIDED BY FIRST AND OTHER WPILIB CONTRIBUTORS "AS IS" AND
16+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17+
WARRANTIES OF MERCHANTABILITY NONINFRINGEMENT AND FITNESS FOR A PARTICULAR
18+
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL FIRST OR CONTRIBUTORS BE LIABLE FOR
19+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
20+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
21+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
22+
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
24+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

0 commit comments

Comments
 (0)