Skip to content
This repository was archived by the owner on May 8, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
b7d56e3
Merge pull request #1 from Team135BlackKnights/main
team135 Feb 16, 2022
e6676c1
Commit out unavaiable subsystems
team135 Feb 16, 2022
efcb860
Merge branch 'main' into Live
team135 Feb 16, 2022
f4c85c0
Update runShooter.java
team135 Feb 16, 2022
1d0292a
angleHood
team135 Feb 19, 2022
e8e6fbe
Update RobotMap
Ttemeles Feb 19, 2022
b2ffbda
Merge branch 'Live' of https://github.com/Team135BlackKnights/135-Rap…
Ttemeles Feb 19, 2022
75ddebd
Pushing Gavin's changes
team135 Feb 21, 2022
073f2fd
Fixed Aiming Inilization
team135 Feb 22, 2022
84ba722
Created new subystem for Turret
Ttemeles Feb 22, 2022
9f4a8bf
Turret Fix Start
team135 Feb 25, 2022
06b52fa
Drive Fix
team135 Feb 25, 2022
dac737e
Updating to work
team135 Mar 2, 2022
5dc0fe5
matsuri here
team135 Mar 4, 2022
76157c7
made things work
team135 Mar 5, 2022
280e4f5
AutoCalabration
team135 Mar 7, 2022
2b792fb
Stoped Sleaping
team135 Mar 9, 2022
8da23f3
Added Green Wheels
team135 Mar 9, 2022
da0fef3
updated auto
Ttemeles Mar 10, 2022
d8da3b7
Color Sensing + Auto Hood Speed/Angle
team135 Mar 11, 2022
d56aba5
Merge branch 'Live' of https://github.com/Team135BlackKnights/135-Rap…
team135 Mar 11, 2022
05e16ae
Updated Auto yet again
Ttemeles Mar 11, 2022
a2d4dd3
Merge branch 'Live' of https://github.com/Team135BlackKnights/135-Rap…
Ttemeles Mar 11, 2022
ceaf28d
Updated Container
Ttemeles Mar 11, 2022
280193a
Updated encoder drive
Ttemeles Mar 12, 2022
24c42b6
Run Shooter Distance to Ranges
team135 Mar 12, 2022
9a86050
Merge branch 'Live' of https://github.com/Team135BlackKnights/135-Rap…
team135 Mar 12, 2022
1214dff
Update Auto
Ttemeles Mar 12, 2022
3f10d34
Merge branch 'Live' of https://github.com/Team135BlackKnights/135-Rap…
Ttemeles Mar 12, 2022
1163f0c
change calabration,
team135 Mar 12, 2022
f0b0885
Crunch Time Work
team135 Mar 16, 2022
82cc7dd
Comp Changes
team135 Mar 19, 2022
a9cdc26
Turny Changes
team135 Mar 22, 2022
fa1246b
Update Turret.java
team135 Mar 22, 2022
1012ea2
Update RobotMap.java
team135 Mar 22, 2022
4bf0f87
Fixed From Merge
team135 Mar 22, 2022
6f16fe4
Fixed Merge Problems 2
team135 Mar 22, 2022
bb13faf
Changed Driver Controls
Ttemeles Mar 22, 2022
05c96ed
Finish Mege + Com Fixes
team135 Mar 23, 2022
a21c69e
Merge branch 'Live' of https://github.com/Team135BlackKnights/135-Rap…
team135 Mar 23, 2022
e1388a4
Auto Limelight Shooting
team135 Mar 23, 2022
f0a51a8
Pre Comp Fixes
team135 Mar 24, 2022
be0b8be
cOMP
team135 Mar 25, 2022
5e2834e
Final Comp Changes
team135 Mar 28, 2022
89762d7
Created Improved Aiming
team135 Mar 28, 2022
5e8cd6a
Formatting
team135 Mar 28, 2022
c36a74c
Fixed ImprovedAiming + Updated Shooting Values
team135 Mar 30, 2022
1a2b4aa
Matsuri Here
Ttemeles Mar 30, 2022
83b519b
Created runShooterAuto and added comments
Ttemeles Mar 31, 2022
1bcbfed
Fix Drive/Intake/ Improve Distance
team135 Mar 31, 2022
30e585a
Merge branch 'Live' of https://github.com/Team135BlackKnights/135-Rap…
team135 Mar 31, 2022
67a65cb
Changes from Gavin 3/31/22
team135 Apr 1, 2022
0d24b5c
Changed PID and Feedforward for Shooter
team135 Apr 1, 2022
e94285b
Improved Shooter Aiming
team135 Apr 12, 2022
abeb5bf
Andrew Changes
team135 Apr 13, 2022
b2f53ee
Shooter Tuneing
team135 Apr 13, 2022
4c0ed7e
Final Pre Com Changes + Auto
team135 Apr 14, 2022
e2c1755
Update ImprovedAiming.java
team135 Apr 15, 2022
0bf98be
All Comp Changes
team135 Apr 18, 2022
9601d69
Added test Hood Central Shooter
team135 Jun 1, 2022
519df7c
arcadedrive
Ag3nt-9 Sep 29, 2022
cd7387c
reject arcadeDrive, return to tankDrive
Ag3nt-9 Oct 3, 2022
1a77850
Driver Box X controls
Ag3nt-9 Oct 5, 2022
b61de71
Manip Box X controls
JexPurx Oct 5, 2022
9bfebfc
Fixed Box X tank drive
team135 Oct 5, 2022
1700598
Merge branch 'box-x-2-electric-boogaloo' of https://github.com/Team13…
team135 Oct 5, 2022
60990fe
Fixed Manip Box X controls
team135 Oct 5, 2022
6b69d7c
Final Box X
team135 Oct 13, 2022
ccad759
Small Fixes
JexPurx Oct 13, 2022
ffc46bd
a
team135 Oct 19, 2022
1635952
Merge branch 'box-x-2-electric-boogaloo' of https://github.com/Team13…
team135 Oct 19, 2022
8a5cfb9
Update tankDrive.java
team135 Oct 19, 2022
2f0a0cf
Imported into 2023
runeismyname Jan 17, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,24 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [

{
"type": "java",
"name": "Launch Main",
"request": "launch",
"mainClass": "frc.robot.Main",
"projectName": "135-RapidReact"
},
{
"type": "wpilib",
"name": "WPILib Desktop Debug",
"request": "launch",
"desktop": true,
"desktop": true
},
{
"type": "wpilib",
"name": "WPILib roboRIO Debug",
"request": "launch",
"desktop": false,
"desktop": false
}
]
}
162 changes: 162 additions & 0 deletions 135-RapidReact-Imported/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,162 @@
# This gitignore has been specially created by the WPILib team.
# If you remove items from this file, intellisense might break.

### C++ ###
# Prerequisites
*.d

# Compiled Object files
*.slo
*.lo
*.o
*.obj

# Precompiled Headers
*.gch
*.pch

# Compiled Dynamic libraries
*.so
*.dylib
*.dll

# Fortran module files
*.mod
*.smod

# Compiled Static libraries
*.lai
*.la
*.a
*.lib

# Executables
*.exe
*.out
*.app

### Java ###
# Compiled class file
*.class

# Log file
*.log

# BlueJ files
*.ctxt

# Mobile Tools for Java (J2ME)
.mtj.tmp/

# Package Files #
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

### Linux ###
*~

# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*

# KDE directory preferences
.directory

# Linux trash folder which might appear on any partition or disk
.Trash-*

# .nfs files are created when an open file is removed but is still being accessed
.nfs*

### macOS ###
# General
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

### VisualStudioCode ###
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json

### Windows ###
# Windows thumbnail cache files
Thumbs.db
ehthumbs.db
ehthumbs_vista.db

# Dump file
*.stackdump

# Folder config file
[Dd]esktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msix
*.msm
*.msp

# Windows shortcuts
*.lnk

### Gradle ###
.gradle
/build/

# Ignore Gradle GUI config
gradle-app.setting

# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
!gradle-wrapper.jar

# Cache of project
.gradletasknamecache

# # Work around https://youtrack.jetbrains.com/issue/IDEA-116898
# gradle/wrapper/gradle-wrapper.properties

# # VS Code Specific Java Settings
# DO NOT REMOVE .classpath and .project
.classpath
.project
.settings/
bin/

# Simulation GUI and other tools window save file
*-window.json
21 changes: 21 additions & 0 deletions 135-RapidReact-Imported/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [

{
"type": "wpilib",
"name": "WPILib Desktop Debug",
"request": "launch",
"desktop": true,
},
{
"type": "wpilib",
"name": "WPILib roboRIO Debug",
"request": "launch",
"desktop": false,
}
]
}
29 changes: 29 additions & 0 deletions 135-RapidReact-Imported/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"java.configuration.updateBuildConfiguration": "automatic",
"java.server.launchMode": "Standard",
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"bin/": true,
"**/.classpath": true,
"**/.project": true,
"**/.settings": true,
"**/.factorypath": true,
"**/*~": true
},
"java.test.config": [
{
"name": "WPIlibUnitTests",
"workingDirectory": "${workspaceFolder}/build/jni/release",
"vmargs": [ "-Djava.library.path=${workspaceFolder}/build/jni/release" ],
"env": {
"LD_LIBRARY_PATH": "${workspaceFolder}/build/jni/release" ,
"DYLD_LIBRARY_PATH": "${workspaceFolder}/build/jni/release"
}
},
],
"java.test.defaultConfig": "WPIlibUnitTests"
}
6 changes: 6 additions & 0 deletions 135-RapidReact-Imported/.wpilib/wpilib_preferences.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"enableCppIntellisense": false,
"currentLanguage": "java",
"projectYear": "2023",
"teamNumber": 135
}
24 changes: 24 additions & 0 deletions 135-RapidReact-Imported/WPILib-License.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
Copyright (c) 2009-2021 FIRST and other WPILib contributors
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of FIRST, WPILib, nor the names of other WPILib
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY FIRST AND OTHER WPILIB CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY NONINFRINGEMENT AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL FIRST OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
99 changes: 99 additions & 0 deletions 135-RapidReact-Imported/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
plugins {
id "java"
id "edu.wpi.first.GradleRIO" version "2023.1.1"
}

sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11

def ROBOT_MAIN_CLASS = "frc.robot.Main"

// Define my targets (RoboRIO) and artifacts (deployable files)
// This is added by GradleRIO's backing project DeployUtils.
deploy {
targets {
roborio(getTargetTypeClass('RoboRIO')) {
// Team number is loaded either from the .wpilib/wpilib_preferences.json
// or from command line. If not found an exception will be thrown.
// You can use getTeamOrDefault(team) instead of getTeamNumber if you
// want to store a team number in this file.
team = project.frc.getTeamNumber()
debug = project.frc.getDebugOrDefault(false)

artifacts {
// First part is artifact name, 2nd is artifact type
// getTargetTypeClass is a shortcut to get the class type using a string

frcJava(getArtifactTypeClass('FRCJavaArtifact')) {
}

// Static files artifact
frcStaticFileDeploy(getArtifactTypeClass('FileTreeArtifact')) {
files = project.fileTree('src/main/deploy')
directory = '/home/lvuser/deploy'
}
}
}
}
}

def deployArtifact = deploy.targets.roborio.artifacts.frcJava

// Set to true to use debug for JNI.
wpi.java.debugJni = false

// Set this to true to enable desktop support.
def includeDesktopSupport = false

// Defining my dependencies. In this case, WPILib (+ friends), and vendor libraries.
// Also defines JUnit 5.
dependencies {
implementation wpi.java.deps.wpilib()
implementation wpi.java.vendor.java()

roborioDebug wpi.java.deps.wpilibJniDebug(wpi.platforms.roborio)
roborioDebug wpi.java.vendor.jniDebug(wpi.platforms.roborio)

roborioRelease wpi.java.deps.wpilibJniRelease(wpi.platforms.roborio)
roborioRelease wpi.java.vendor.jniRelease(wpi.platforms.roborio)

nativeDebug wpi.java.deps.wpilibJniDebug(wpi.platforms.desktop)
nativeDebug wpi.java.vendor.jniDebug(wpi.platforms.desktop)
simulationDebug wpi.sim.enableDebug()

nativeRelease wpi.java.deps.wpilibJniRelease(wpi.platforms.desktop)
nativeRelease wpi.java.vendor.jniRelease(wpi.platforms.desktop)
simulationRelease wpi.sim.enableRelease()

testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.8.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
}

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

// Simulation configuration (e.g. environment variables).
wpi.sim.addGui().defaultEnabled = true
wpi.sim.addDriverstation()

// Setting up my Jar File. In this case, adding all libraries into the main jar ('fat jar')
// in order to make them all available at runtime. Also adding the manifest so WPILib
// knows where to look for our Robot Class.
jar {
from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
manifest edu.wpi.first.gradlerio.GradleRIOPlugin.javaManifest(ROBOT_MAIN_CLASS)
duplicatesStrategy = DuplicatesStrategy.INCLUDE
}

// Configure jar and deploy tasks
deployArtifact.jarTask = jar
wpi.java.configureExecutableTasks(jar)
wpi.java.configureTestTasks(test)

// Configure string concat to always inline compile
tasks.withType(JavaCompile) {
options.compilerArgs.add '-XDstringConcat=inline'
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=permwrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=permwrapper/dists
Loading