Skip to content

Commit

Permalink
Updated StuyLib to 2022
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam-Belliveau committed Jan 15, 2022
1 parent f6f0aa1 commit 8baa136
Show file tree
Hide file tree
Showing 59 changed files with 58 additions and 62 deletions.
2 changes: 1 addition & 1 deletion LICENSE_SHORTENED
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

8 changes: 2 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
buildscript {
ext.WPI_VER = "2022.1.1-beta-2"
ext.WPI_VER = "2022.1.1"
}

plugins {
Expand Down Expand Up @@ -68,11 +68,7 @@ publishing {

spotless {
java {
licenseHeader """
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */
"""
licenseHeaderFile 'LICENSE_SHORTENED'

googleJavaFormat().aosp()

Expand Down
Binary file modified docs/member-search-index.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/overview-summary.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (11.0.10) on Sat Jan 08 12:03:19 EST 2022 -->
<!-- Generated by javadoc (11.0.10) on Sat Jan 15 13:08:12 EST 2022 -->
<title>StuyLib 1.0.0 API</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript">window.location.replace('index.html')</script>
Expand Down
Binary file modified docs/package-search-index.zip
Binary file not shown.
Binary file modified docs/type-search-index.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion src/com/stuypulse/stuylib/control/BangBangController.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
2 changes: 1 addition & 1 deletion src/com/stuypulse/stuylib/control/Controller.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
2 changes: 1 addition & 1 deletion src/com/stuypulse/stuylib/control/PIDCalculator.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
2 changes: 1 addition & 1 deletion src/com/stuypulse/stuylib/control/PIDController.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
2 changes: 1 addition & 1 deletion src/com/stuypulse/stuylib/control/TBHController.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
2 changes: 1 addition & 1 deletion src/com/stuypulse/stuylib/input/Gamepad.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
2 changes: 1 addition & 1 deletion src/com/stuypulse/stuylib/input/GamepadState.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
2 changes: 1 addition & 1 deletion src/com/stuypulse/stuylib/input/WPIGamepad.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
2 changes: 1 addition & 1 deletion src/com/stuypulse/stuylib/input/gamepads/AutoGamepad.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
2 changes: 1 addition & 1 deletion src/com/stuypulse/stuylib/input/gamepads/Logitech.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
4 changes: 2 additions & 2 deletions src/com/stuypulse/stuylib/input/gamepads/PS4.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down Expand Up @@ -27,7 +27,7 @@ public PS4(Joystick joystick) {
// Name //
@Override
public String getGamepadName() {
return "Xbox Controller";
return "Playstation Controller";
}

// Left Stick //
Expand Down
2 changes: 1 addition & 1 deletion src/com/stuypulse/stuylib/input/gamepads/Xbox.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
2 changes: 1 addition & 1 deletion src/com/stuypulse/stuylib/input/keyboard/NetKeyboard.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
2 changes: 1 addition & 1 deletion src/com/stuypulse/stuylib/math/Angle.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
2 changes: 1 addition & 1 deletion src/com/stuypulse/stuylib/math/Polar2D.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
2 changes: 1 addition & 1 deletion src/com/stuypulse/stuylib/math/SLMath.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
2 changes: 1 addition & 1 deletion src/com/stuypulse/stuylib/math/Vector2D.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
2 changes: 1 addition & 1 deletion src/com/stuypulse/stuylib/network/SLNetworkTable.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
2 changes: 1 addition & 1 deletion src/com/stuypulse/stuylib/network/SmartBoolean.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
2 changes: 1 addition & 1 deletion src/com/stuypulse/stuylib/network/SmartNumber.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
2 changes: 1 addition & 1 deletion src/com/stuypulse/stuylib/network/SmartString.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
2 changes: 1 addition & 1 deletion src/com/stuypulse/stuylib/network/limelight/Limelight.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
2 changes: 1 addition & 1 deletion src/com/stuypulse/stuylib/streams/BufferedIStream.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
2 changes: 1 addition & 1 deletion src/com/stuypulse/stuylib/streams/FilteredIStream.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
2 changes: 1 addition & 1 deletion src/com/stuypulse/stuylib/streams/IStream.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
2 changes: 1 addition & 1 deletion src/com/stuypulse/stuylib/streams/PollingIStream.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
2 changes: 1 addition & 1 deletion src/com/stuypulse/stuylib/streams/filters/IFilter.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
2 changes: 1 addition & 1 deletion src/com/stuypulse/stuylib/streams/filters/RateLimit.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
2 changes: 1 addition & 1 deletion src/com/stuypulse/stuylib/util/HashBuilder.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
2 changes: 1 addition & 1 deletion src/com/stuypulse/stuylib/util/StopWatch.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
2 changes: 1 addition & 1 deletion src/com/stuypulse/stuylib/util/chart/GraphData.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
2 changes: 1 addition & 1 deletion src/com/stuypulse/stuylib/util/chart/JGraph.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
2 changes: 1 addition & 1 deletion src/com/stuypulse/stuylib/util/chart/KeyTracker.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down
2 changes: 1 addition & 1 deletion src/com/stuypulse/stuylib/util/chart/MouseTracker.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2021 StuyPulse Robotics. All rights reserved. */
/* Copyright (c) 2022 StuyPulse Robotics. All rights reserved. */
/* This work is licensed under the terms of the MIT license */
/* found in the root directory of this project. */

Expand Down

0 comments on commit 8baa136

Please sign in to comment.