From cd094e7c0d0c6479051d273131e0f398c78ba0fd Mon Sep 17 00:00:00 2001 From: cuttestkittensrule Date: Sat, 18 Oct 2025 22:50:36 -0700 Subject: [PATCH 1/2] Add copyright comments in java files --- .../main/groovy/java-common-conventions.gradle | 2 ++ java-copyright-header.txt | 15 +++++++++++++++ .../com/team2813/lib2813/control/ControlMode.java | 15 +++++++++++++++ .../lib2813/control/DeviceInformation.java | 15 +++++++++++++++ .../com/team2813/lib2813/control/Encoder.java | 15 +++++++++++++++ .../com/team2813/lib2813/control/InvertType.java | 15 +++++++++++++++ .../java/com/team2813/lib2813/control/Motor.java | 15 +++++++++++++++ .../com/team2813/lib2813/control/PIDMotor.java | 15 +++++++++++++++ .../lib2813/control/encoders/CancoderWrapper.java | 15 +++++++++++++++ .../lib2813/control/imu/Pigeon2Wrapper.java | 15 +++++++++++++++ .../lib2813/control/motors/SparkMaxWrapper.java | 15 +++++++++++++++ .../lib2813/control/motors/TalonFXWrapper.java | 15 +++++++++++++++ .../preferences/PersistedConfiguration.java | 15 +++++++++++++++ .../lib2813/subsystems/MotorSubsystem.java | 15 +++++++++++++++ .../subsystems/ParameterizedIntakeSubsystem.java | 15 +++++++++++++++ .../lib2813/subsystems/lightshow/Lightshow.java | 15 +++++++++++++++ .../subsystems/lightshow/QueueLightshow.java | 15 +++++++++++++++ .../lib2813/subsystems/lightshow/State.java | 15 +++++++++++++++ .../com/team2813/lib2813/util/BuildConstants.java | 15 +++++++++++++++ .../lib2813/util/BuildConstantsPublisher.java | 15 +++++++++++++++ .../lib2813/util/BuildConstantsRecord.java | 15 +++++++++++++++ .../com/team2813/lib2813/util/ConfigUtils.java | 15 +++++++++++++++ .../com/team2813/lib2813/util/ControlUtils.java | 15 +++++++++++++++ .../team2813/lib2813/util/InputValidation.java | 15 +++++++++++++++ .../com/team2813/lib2813/util/IntTriFunction.java | 15 +++++++++++++++ .../lib2813/util/InvalidCanIdException.java | 15 +++++++++++++++ .../com/team2813/lib2813/util/RobotFactory.java | 15 +++++++++++++++ .../team2813/lib2813/util/ShuffleboardTabs.java | 15 +++++++++++++++ .../java/com/team2813/lib2813/util/Units2813.java | 15 +++++++++++++++ .../team2813/lib2813/control/InvertTypeTest.java | 15 +++++++++++++++ .../lib2813/control/motors/TalonFXEqualsTest.java | 15 +++++++++++++++ .../lib2813/preferences/IsolatedPreferences.java | 15 +++++++++++++++ .../preferences/PersistedConfigurationTest.java | 15 +++++++++++++++ .../ParameterizedIntakeSubsystemTest.java | 15 +++++++++++++++ .../lib2813/util/BuildConstantsPublisherTest.java | 15 +++++++++++++++ .../team2813/lib2813/util/ControlUtilsTest.java | 15 +++++++++++++++ .../lib2813/util/FakeShuffleboardTabs.java | 15 +++++++++++++++ .../lib2813/util/InputValidationTest.java | 15 +++++++++++++++ .../lib2813/limelight/AprilTagMapPoseHelper.java | 15 +++++++++++++++ .../lib2813/limelight/BotPoseEstimate.java | 15 +++++++++++++++ .../lib2813/limelight/DataCollection.java | 15 +++++++++++++++ .../team2813/lib2813/limelight/JSONHelper.java | 15 +++++++++++++++ .../com/team2813/lib2813/limelight/Limelight.java | 15 +++++++++++++++ .../lib2813/limelight/LimelightClient.java | 15 +++++++++++++++ .../lib2813/limelight/LimelightHelpers.java | 15 ++++++++++++++- .../lib2813/limelight/LocationalData.java | 15 +++++++++++++++ .../lib2813/limelight/NetworkTablesLimelight.java | 15 +++++++++++++++ .../com/team2813/lib2813/limelight/Optionals.java | 15 +++++++++++++++ .../team2813/lib2813/limelight/RestLimelight.java | 15 +++++++++++++++ .../lib2813/limelight/StubLocationalData.java | 15 +++++++++++++++ .../lib2813/limelight/apriltag_map/Fiducial.java | 15 +++++++++++++++ .../limelight/apriltag_map/FiducialRetriever.java | 15 +++++++++++++++ .../lib2813/limelight/apriltag_map/FieldMap.java | 15 +++++++++++++++ .../team2813/lib2813/limelight/FakeLimelight.java | 15 +++++++++++++++ .../limelight/LegacyRestLimelightTest.java | 15 +++++++++++++++ .../lib2813/limelight/LimelightTestCase.java | 15 +++++++++++++++ .../limelight/NetworkTablesLimelightTest.java | 15 +++++++++++++++ .../lib2813/limelight/RestLimelightTest.java | 15 +++++++++++++++ .../com/team2813/lib2813/testing/FakeMotor.java | 15 +++++++++++++++ .../team2813/lib2813/testing/FakePIDMotor.java | 15 +++++++++++++++ .../testing/junit/jupiter/CommandTester.java | 15 +++++++++++++++ .../jupiter/IsolatedNetworkTablesExtension.java | 15 +++++++++++++++ .../lib2813/testing/junit/jupiter/StoreKey.java | 15 +++++++++++++++ .../testing/junit/jupiter/WPILibExtension.java | 15 +++++++++++++++ .../lib2813/testing/truth/Pose2dSubject.java | 15 +++++++++++++++ .../lib2813/testing/truth/Pose3dSubject.java | 15 +++++++++++++++ .../lib2813/testing/truth/Rotation2dSubject.java | 15 +++++++++++++++ .../lib2813/testing/truth/Rotation3dSubject.java | 15 +++++++++++++++ .../lib2813/testing/truth/TolerantComparison.java | 15 +++++++++++++++ .../testing/truth/Translation2dSubject.java | 15 +++++++++++++++ .../testing/truth/Translation3dSubject.java | 15 +++++++++++++++ .../junit/jupiter/ExtensionAssertions.java | 15 +++++++++++++++ .../IsolatedNetworkTablesExtensionTest.java | 15 +++++++++++++++ .../junit/jupiter/WPILibExtensionTest.java | 15 +++++++++++++++ .../lib2813/vision/PhotonVisionPosePublisher.java | 15 +++++++++++++++ .../vision/TimestampedStructPublisher.java | 15 +++++++++++++++ .../team2813/lib2813/vision/TimestampedValue.java | 15 +++++++++++++++ .../lib2813/vision/VisionNetworkTables.java | 15 +++++++++++++++ .../vision/TimestampedStructPublisherTest.java | 15 +++++++++++++++ 79 files changed, 1171 insertions(+), 1 deletion(-) create mode 100644 java-copyright-header.txt diff --git a/buildSrc/src/main/groovy/java-common-conventions.gradle b/buildSrc/src/main/groovy/java-common-conventions.gradle index 6c0dab93..a0b1ba8e 100644 --- a/buildSrc/src/main/groovy/java-common-conventions.gradle +++ b/buildSrc/src/main/groovy/java-common-conventions.gradle @@ -104,6 +104,8 @@ spotless { googleJavaFormat('1.24.0').reflowLongStrings() formatAnnotations() // fix formatting of type annotations + + licenseHeaderFile("../java-copyright-header.txt") } } diff --git a/java-copyright-header.txt b/java-copyright-header.txt new file mode 100644 index 00000000..69de917c --- /dev/null +++ b/java-copyright-header.txt @@ -0,0 +1,15 @@ +/* +Copyright $YEAR Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ diff --git a/lib/src/main/java/com/team2813/lib2813/control/ControlMode.java b/lib/src/main/java/com/team2813/lib2813/control/ControlMode.java index 4bbc194c..4dd6eda8 100644 --- a/lib/src/main/java/com/team2813/lib2813/control/ControlMode.java +++ b/lib/src/main/java/com/team2813/lib2813/control/ControlMode.java @@ -1,3 +1,18 @@ +/* +Copyright 2023-2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.control; public enum ControlMode { diff --git a/lib/src/main/java/com/team2813/lib2813/control/DeviceInformation.java b/lib/src/main/java/com/team2813/lib2813/control/DeviceInformation.java index cf760617..8728b454 100644 --- a/lib/src/main/java/com/team2813/lib2813/control/DeviceInformation.java +++ b/lib/src/main/java/com/team2813/lib2813/control/DeviceInformation.java @@ -1,3 +1,18 @@ +/* +Copyright 2023-2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.control; import com.team2813.lib2813.util.InputValidation; diff --git a/lib/src/main/java/com/team2813/lib2813/control/Encoder.java b/lib/src/main/java/com/team2813/lib2813/control/Encoder.java index d622212b..aa377279 100644 --- a/lib/src/main/java/com/team2813/lib2813/control/Encoder.java +++ b/lib/src/main/java/com/team2813/lib2813/control/Encoder.java @@ -1,3 +1,18 @@ +/* +Copyright 2023-2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.control; import edu.wpi.first.units.Units; diff --git a/lib/src/main/java/com/team2813/lib2813/control/InvertType.java b/lib/src/main/java/com/team2813/lib2813/control/InvertType.java index 7606ceda..eaf935c6 100644 --- a/lib/src/main/java/com/team2813/lib2813/control/InvertType.java +++ b/lib/src/main/java/com/team2813/lib2813/control/InvertType.java @@ -1,3 +1,18 @@ +/* +Copyright 2024-2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.control; import static java.util.stream.Collectors.toUnmodifiableMap; diff --git a/lib/src/main/java/com/team2813/lib2813/control/Motor.java b/lib/src/main/java/com/team2813/lib2813/control/Motor.java index 80bad2c5..56cc95be 100644 --- a/lib/src/main/java/com/team2813/lib2813/control/Motor.java +++ b/lib/src/main/java/com/team2813/lib2813/control/Motor.java @@ -1,3 +1,18 @@ +/* +Copyright 2023-2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.control; import edu.wpi.first.units.measure.Current; diff --git a/lib/src/main/java/com/team2813/lib2813/control/PIDMotor.java b/lib/src/main/java/com/team2813/lib2813/control/PIDMotor.java index 745c742a..f75ee948 100644 --- a/lib/src/main/java/com/team2813/lib2813/control/PIDMotor.java +++ b/lib/src/main/java/com/team2813/lib2813/control/PIDMotor.java @@ -1,3 +1,18 @@ +/* +Copyright 2023-2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.control; public interface PIDMotor extends Motor, Encoder { diff --git a/lib/src/main/java/com/team2813/lib2813/control/encoders/CancoderWrapper.java b/lib/src/main/java/com/team2813/lib2813/control/encoders/CancoderWrapper.java index ebd35cb3..3d031e46 100644 --- a/lib/src/main/java/com/team2813/lib2813/control/encoders/CancoderWrapper.java +++ b/lib/src/main/java/com/team2813/lib2813/control/encoders/CancoderWrapper.java @@ -1,3 +1,18 @@ +/* +Copyright 2024-2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.control.encoders; import com.ctre.phoenix6.hardware.CANcoder; diff --git a/lib/src/main/java/com/team2813/lib2813/control/imu/Pigeon2Wrapper.java b/lib/src/main/java/com/team2813/lib2813/control/imu/Pigeon2Wrapper.java index c6e16fe6..59da20db 100644 --- a/lib/src/main/java/com/team2813/lib2813/control/imu/Pigeon2Wrapper.java +++ b/lib/src/main/java/com/team2813/lib2813/control/imu/Pigeon2Wrapper.java @@ -1,3 +1,18 @@ +/* +Copyright 2024-2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.control.imu; import com.ctre.phoenix6.hardware.Pigeon2; diff --git a/lib/src/main/java/com/team2813/lib2813/control/motors/SparkMaxWrapper.java b/lib/src/main/java/com/team2813/lib2813/control/motors/SparkMaxWrapper.java index 8ac34981..0743b7a1 100644 --- a/lib/src/main/java/com/team2813/lib2813/control/motors/SparkMaxWrapper.java +++ b/lib/src/main/java/com/team2813/lib2813/control/motors/SparkMaxWrapper.java @@ -1,3 +1,18 @@ +/* +Copyright 2024-2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.control.motors; import com.revrobotics.RelativeEncoder; diff --git a/lib/src/main/java/com/team2813/lib2813/control/motors/TalonFXWrapper.java b/lib/src/main/java/com/team2813/lib2813/control/motors/TalonFXWrapper.java index 69437281..95f035e6 100644 --- a/lib/src/main/java/com/team2813/lib2813/control/motors/TalonFXWrapper.java +++ b/lib/src/main/java/com/team2813/lib2813/control/motors/TalonFXWrapper.java @@ -1,3 +1,18 @@ +/* +Copyright 2023-2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.control.motors; import static com.team2813.lib2813.util.InputValidation.checkCanId; diff --git a/lib/src/main/java/com/team2813/lib2813/preferences/PersistedConfiguration.java b/lib/src/main/java/com/team2813/lib2813/preferences/PersistedConfiguration.java index 4551b78d..2ead7d7e 100644 --- a/lib/src/main/java/com/team2813/lib2813/preferences/PersistedConfiguration.java +++ b/lib/src/main/java/com/team2813/lib2813/preferences/PersistedConfiguration.java @@ -1,3 +1,18 @@ +/* +Copyright 2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.preferences; import static edu.wpi.first.networktables.NetworkTable.PATH_SEPARATOR; diff --git a/lib/src/main/java/com/team2813/lib2813/subsystems/MotorSubsystem.java b/lib/src/main/java/com/team2813/lib2813/subsystems/MotorSubsystem.java index c33a905f..76d47a79 100644 --- a/lib/src/main/java/com/team2813/lib2813/subsystems/MotorSubsystem.java +++ b/lib/src/main/java/com/team2813/lib2813/subsystems/MotorSubsystem.java @@ -1,3 +1,18 @@ +/* +Copyright 2023-2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.subsystems; import static edu.wpi.first.units.Units.Amps; diff --git a/lib/src/main/java/com/team2813/lib2813/subsystems/ParameterizedIntakeSubsystem.java b/lib/src/main/java/com/team2813/lib2813/subsystems/ParameterizedIntakeSubsystem.java index ad890292..680aabab 100644 --- a/lib/src/main/java/com/team2813/lib2813/subsystems/ParameterizedIntakeSubsystem.java +++ b/lib/src/main/java/com/team2813/lib2813/subsystems/ParameterizedIntakeSubsystem.java @@ -1,3 +1,18 @@ +/* +Copyright 2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.subsystems; import com.google.auto.value.AutoBuilder; diff --git a/lib/src/main/java/com/team2813/lib2813/subsystems/lightshow/Lightshow.java b/lib/src/main/java/com/team2813/lib2813/subsystems/lightshow/Lightshow.java index 8c743d40..87d63c24 100644 --- a/lib/src/main/java/com/team2813/lib2813/subsystems/lightshow/Lightshow.java +++ b/lib/src/main/java/com/team2813/lib2813/subsystems/lightshow/Lightshow.java @@ -1,3 +1,18 @@ +/* +Copyright 2024-2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.subsystems.lightshow; import edu.wpi.first.wpilibj.util.Color; diff --git a/lib/src/main/java/com/team2813/lib2813/subsystems/lightshow/QueueLightshow.java b/lib/src/main/java/com/team2813/lib2813/subsystems/lightshow/QueueLightshow.java index 573240f1..19ac3607 100644 --- a/lib/src/main/java/com/team2813/lib2813/subsystems/lightshow/QueueLightshow.java +++ b/lib/src/main/java/com/team2813/lib2813/subsystems/lightshow/QueueLightshow.java @@ -1,3 +1,18 @@ +/* +Copyright 2024-2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.subsystems.lightshow; import edu.wpi.first.wpilibj.util.Color; diff --git a/lib/src/main/java/com/team2813/lib2813/subsystems/lightshow/State.java b/lib/src/main/java/com/team2813/lib2813/subsystems/lightshow/State.java index ce4e6874..22b19ad2 100644 --- a/lib/src/main/java/com/team2813/lib2813/subsystems/lightshow/State.java +++ b/lib/src/main/java/com/team2813/lib2813/subsystems/lightshow/State.java @@ -1,3 +1,18 @@ +/* +Copyright 2024-2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.subsystems.lightshow; import edu.wpi.first.wpilibj.util.Color; diff --git a/lib/src/main/java/com/team2813/lib2813/util/BuildConstants.java b/lib/src/main/java/com/team2813/lib2813/util/BuildConstants.java index fcd2a2c1..52df8090 100644 --- a/lib/src/main/java/com/team2813/lib2813/util/BuildConstants.java +++ b/lib/src/main/java/com/team2813/lib2813/util/BuildConstants.java @@ -1,3 +1,18 @@ +/* +Copyright 2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.util; import java.time.ZonedDateTime; diff --git a/lib/src/main/java/com/team2813/lib2813/util/BuildConstantsPublisher.java b/lib/src/main/java/com/team2813/lib2813/util/BuildConstantsPublisher.java index 7d59e1ca..35ba9fb4 100644 --- a/lib/src/main/java/com/team2813/lib2813/util/BuildConstantsPublisher.java +++ b/lib/src/main/java/com/team2813/lib2813/util/BuildConstantsPublisher.java @@ -1,3 +1,18 @@ +/* +Copyright 2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.util; import edu.wpi.first.networktables.NetworkTable; diff --git a/lib/src/main/java/com/team2813/lib2813/util/BuildConstantsRecord.java b/lib/src/main/java/com/team2813/lib2813/util/BuildConstantsRecord.java index 56b2a6d5..4a26a397 100644 --- a/lib/src/main/java/com/team2813/lib2813/util/BuildConstantsRecord.java +++ b/lib/src/main/java/com/team2813/lib2813/util/BuildConstantsRecord.java @@ -1,3 +1,18 @@ +/* +Copyright 2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.util; import edu.wpi.first.wpilibj.DriverStation; diff --git a/lib/src/main/java/com/team2813/lib2813/util/ConfigUtils.java b/lib/src/main/java/com/team2813/lib2813/util/ConfigUtils.java index c3a8deef..9d03d846 100644 --- a/lib/src/main/java/com/team2813/lib2813/util/ConfigUtils.java +++ b/lib/src/main/java/com/team2813/lib2813/util/ConfigUtils.java @@ -1,3 +1,18 @@ +/* +Copyright 2023-2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.util; import com.ctre.phoenix.ErrorCode; diff --git a/lib/src/main/java/com/team2813/lib2813/util/ControlUtils.java b/lib/src/main/java/com/team2813/lib2813/util/ControlUtils.java index 42ecabf5..e5e39fe2 100644 --- a/lib/src/main/java/com/team2813/lib2813/util/ControlUtils.java +++ b/lib/src/main/java/com/team2813/lib2813/util/ControlUtils.java @@ -1,3 +1,18 @@ +/* +Copyright 2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.util; import edu.wpi.first.math.MathUtil; diff --git a/lib/src/main/java/com/team2813/lib2813/util/InputValidation.java b/lib/src/main/java/com/team2813/lib2813/util/InputValidation.java index d9b43f72..1c5b955e 100644 --- a/lib/src/main/java/com/team2813/lib2813/util/InputValidation.java +++ b/lib/src/main/java/com/team2813/lib2813/util/InputValidation.java @@ -1,3 +1,18 @@ +/* +Copyright 2023-2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.util; import java.util.function.IntFunction; diff --git a/lib/src/main/java/com/team2813/lib2813/util/IntTriFunction.java b/lib/src/main/java/com/team2813/lib2813/util/IntTriFunction.java index 8d9eaf76..3d87c5e6 100644 --- a/lib/src/main/java/com/team2813/lib2813/util/IntTriFunction.java +++ b/lib/src/main/java/com/team2813/lib2813/util/IntTriFunction.java @@ -1,3 +1,18 @@ +/* +Copyright 2023-2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.util; @FunctionalInterface diff --git a/lib/src/main/java/com/team2813/lib2813/util/InvalidCanIdException.java b/lib/src/main/java/com/team2813/lib2813/util/InvalidCanIdException.java index eb993472..0282eb07 100644 --- a/lib/src/main/java/com/team2813/lib2813/util/InvalidCanIdException.java +++ b/lib/src/main/java/com/team2813/lib2813/util/InvalidCanIdException.java @@ -1,3 +1,18 @@ +/* +Copyright 2023-2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.util; /** Signifies that a {@index CAN} Id was given to a function, and it was invalid */ diff --git a/lib/src/main/java/com/team2813/lib2813/util/RobotFactory.java b/lib/src/main/java/com/team2813/lib2813/util/RobotFactory.java index 1bcdb5b2..efbb5f35 100644 --- a/lib/src/main/java/com/team2813/lib2813/util/RobotFactory.java +++ b/lib/src/main/java/com/team2813/lib2813/util/RobotFactory.java @@ -1,3 +1,18 @@ +/* +Copyright 2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.util; import edu.wpi.first.wpilibj.RobotBase; diff --git a/lib/src/main/java/com/team2813/lib2813/util/ShuffleboardTabs.java b/lib/src/main/java/com/team2813/lib2813/util/ShuffleboardTabs.java index 9e0df7a7..793c5acb 100644 --- a/lib/src/main/java/com/team2813/lib2813/util/ShuffleboardTabs.java +++ b/lib/src/main/java/com/team2813/lib2813/util/ShuffleboardTabs.java @@ -1,3 +1,18 @@ +/* +Copyright 2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.util; import edu.wpi.first.wpilibj.shuffleboard.Shuffleboard; diff --git a/lib/src/main/java/com/team2813/lib2813/util/Units2813.java b/lib/src/main/java/com/team2813/lib2813/util/Units2813.java index 9b4eb249..27a370a3 100644 --- a/lib/src/main/java/com/team2813/lib2813/util/Units2813.java +++ b/lib/src/main/java/com/team2813/lib2813/util/Units2813.java @@ -1,3 +1,18 @@ +/* +Copyright 2023-2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.util; public class Units2813 { diff --git a/lib/src/test/java/com/team2813/lib2813/control/InvertTypeTest.java b/lib/src/test/java/com/team2813/lib2813/control/InvertTypeTest.java index cf589ebb..618c5e68 100644 --- a/lib/src/test/java/com/team2813/lib2813/control/InvertTypeTest.java +++ b/lib/src/test/java/com/team2813/lib2813/control/InvertTypeTest.java @@ -1,3 +1,18 @@ +/* +Copyright 2024-2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.control; import static org.junit.Assert.assertEquals; diff --git a/lib/src/test/java/com/team2813/lib2813/control/motors/TalonFXEqualsTest.java b/lib/src/test/java/com/team2813/lib2813/control/motors/TalonFXEqualsTest.java index b6657f4d..3a167d5f 100644 --- a/lib/src/test/java/com/team2813/lib2813/control/motors/TalonFXEqualsTest.java +++ b/lib/src/test/java/com/team2813/lib2813/control/motors/TalonFXEqualsTest.java @@ -1,3 +1,18 @@ +/* +Copyright 2023-2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.control.motors; import static org.junit.Assert.assertEquals; diff --git a/lib/src/test/java/com/team2813/lib2813/preferences/IsolatedPreferences.java b/lib/src/test/java/com/team2813/lib2813/preferences/IsolatedPreferences.java index c99bde0a..01402684 100644 --- a/lib/src/test/java/com/team2813/lib2813/preferences/IsolatedPreferences.java +++ b/lib/src/test/java/com/team2813/lib2813/preferences/IsolatedPreferences.java @@ -1,3 +1,18 @@ +/* +Copyright 2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.preferences; import edu.wpi.first.networktables.NetworkTable; diff --git a/lib/src/test/java/com/team2813/lib2813/preferences/PersistedConfigurationTest.java b/lib/src/test/java/com/team2813/lib2813/preferences/PersistedConfigurationTest.java index a6f46f2e..231557c7 100644 --- a/lib/src/test/java/com/team2813/lib2813/preferences/PersistedConfigurationTest.java +++ b/lib/src/test/java/com/team2813/lib2813/preferences/PersistedConfigurationTest.java @@ -1,3 +1,18 @@ +/* +Copyright 2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.preferences; import static com.google.common.truth.Truth.assertThat; diff --git a/lib/src/test/java/com/team2813/lib2813/subsystems/ParameterizedIntakeSubsystemTest.java b/lib/src/test/java/com/team2813/lib2813/subsystems/ParameterizedIntakeSubsystemTest.java index 9eccbac2..6da2a7fc 100644 --- a/lib/src/test/java/com/team2813/lib2813/subsystems/ParameterizedIntakeSubsystemTest.java +++ b/lib/src/test/java/com/team2813/lib2813/subsystems/ParameterizedIntakeSubsystemTest.java @@ -1,3 +1,18 @@ +/* +Copyright 2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.subsystems; import static com.google.common.truth.Truth.assertThat; diff --git a/lib/src/test/java/com/team2813/lib2813/util/BuildConstantsPublisherTest.java b/lib/src/test/java/com/team2813/lib2813/util/BuildConstantsPublisherTest.java index 89ddce28..6334d545 100644 --- a/lib/src/test/java/com/team2813/lib2813/util/BuildConstantsPublisherTest.java +++ b/lib/src/test/java/com/team2813/lib2813/util/BuildConstantsPublisherTest.java @@ -1,3 +1,18 @@ +/* +Copyright 2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.util; import static com.google.common.truth.Fact.fact; diff --git a/lib/src/test/java/com/team2813/lib2813/util/ControlUtilsTest.java b/lib/src/test/java/com/team2813/lib2813/util/ControlUtilsTest.java index 5c7e20b6..b4389369 100644 --- a/lib/src/test/java/com/team2813/lib2813/util/ControlUtilsTest.java +++ b/lib/src/test/java/com/team2813/lib2813/util/ControlUtilsTest.java @@ -1,3 +1,18 @@ +/* +Copyright 2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.util; import static com.google.common.truth.Truth.assertThat; diff --git a/lib/src/test/java/com/team2813/lib2813/util/FakeShuffleboardTabs.java b/lib/src/test/java/com/team2813/lib2813/util/FakeShuffleboardTabs.java index 13c0e16d..f2db9f09 100644 --- a/lib/src/test/java/com/team2813/lib2813/util/FakeShuffleboardTabs.java +++ b/lib/src/test/java/com/team2813/lib2813/util/FakeShuffleboardTabs.java @@ -1,3 +1,18 @@ +/* +Copyright 2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.util; import static edu.wpi.first.util.ErrorMessages.requireNonNullParam; diff --git a/lib/src/test/java/com/team2813/lib2813/util/InputValidationTest.java b/lib/src/test/java/com/team2813/lib2813/util/InputValidationTest.java index 7d5071f8..0670488e 100644 --- a/lib/src/test/java/com/team2813/lib2813/util/InputValidationTest.java +++ b/lib/src/test/java/com/team2813/lib2813/util/InputValidationTest.java @@ -1,3 +1,18 @@ +/* +Copyright 2023-2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.util; import static com.google.common.truth.Truth.assertThat; diff --git a/limelight/src/main/java/com/team2813/lib2813/limelight/AprilTagMapPoseHelper.java b/limelight/src/main/java/com/team2813/lib2813/limelight/AprilTagMapPoseHelper.java index 7b82a2e2..e58a0892 100644 --- a/limelight/src/main/java/com/team2813/lib2813/limelight/AprilTagMapPoseHelper.java +++ b/limelight/src/main/java/com/team2813/lib2813/limelight/AprilTagMapPoseHelper.java @@ -1,3 +1,18 @@ +/* +Copyright 2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.limelight; import com.team2813.lib2813.limelight.apriltag_map.Fiducial; diff --git a/limelight/src/main/java/com/team2813/lib2813/limelight/BotPoseEstimate.java b/limelight/src/main/java/com/team2813/lib2813/limelight/BotPoseEstimate.java index 675a71d9..574b9238 100644 --- a/limelight/src/main/java/com/team2813/lib2813/limelight/BotPoseEstimate.java +++ b/limelight/src/main/java/com/team2813/lib2813/limelight/BotPoseEstimate.java @@ -1,3 +1,18 @@ +/* +Copyright 2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.limelight; import edu.wpi.first.math.geometry.Pose2d; diff --git a/limelight/src/main/java/com/team2813/lib2813/limelight/DataCollection.java b/limelight/src/main/java/com/team2813/lib2813/limelight/DataCollection.java index 9b99332d..151fc051 100644 --- a/limelight/src/main/java/com/team2813/lib2813/limelight/DataCollection.java +++ b/limelight/src/main/java/com/team2813/lib2813/limelight/DataCollection.java @@ -1,3 +1,18 @@ +/* +Copyright 2024-2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.limelight; import static com.ctre.phoenix6.Utils.getCurrentTimeSeconds; diff --git a/limelight/src/main/java/com/team2813/lib2813/limelight/JSONHelper.java b/limelight/src/main/java/com/team2813/lib2813/limelight/JSONHelper.java index 1cb97cc6..5de022bc 100644 --- a/limelight/src/main/java/com/team2813/lib2813/limelight/JSONHelper.java +++ b/limelight/src/main/java/com/team2813/lib2813/limelight/JSONHelper.java @@ -1,3 +1,18 @@ +/* +Copyright 2024-2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.limelight; import java.util.Optional; diff --git a/limelight/src/main/java/com/team2813/lib2813/limelight/Limelight.java b/limelight/src/main/java/com/team2813/lib2813/limelight/Limelight.java index 7caae133..31823f3d 100644 --- a/limelight/src/main/java/com/team2813/lib2813/limelight/Limelight.java +++ b/limelight/src/main/java/com/team2813/lib2813/limelight/Limelight.java @@ -1,3 +1,18 @@ +/* +Copyright 2024-2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.limelight; import edu.wpi.first.math.geometry.Pose3d; diff --git a/limelight/src/main/java/com/team2813/lib2813/limelight/LimelightClient.java b/limelight/src/main/java/com/team2813/lib2813/limelight/LimelightClient.java index aa83e253..16052b92 100644 --- a/limelight/src/main/java/com/team2813/lib2813/limelight/LimelightClient.java +++ b/limelight/src/main/java/com/team2813/lib2813/limelight/LimelightClient.java @@ -1,3 +1,18 @@ +/* +Copyright 2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.limelight; import java.io.IOException; diff --git a/limelight/src/main/java/com/team2813/lib2813/limelight/LimelightHelpers.java b/limelight/src/main/java/com/team2813/lib2813/limelight/LimelightHelpers.java index 5b5901f6..27e51bfc 100644 --- a/limelight/src/main/java/com/team2813/lib2813/limelight/LimelightHelpers.java +++ b/limelight/src/main/java/com/team2813/lib2813/limelight/LimelightHelpers.java @@ -1,5 +1,18 @@ -// LimelightHelpers v1.11 (REQUIRES LLOS 2025.0 OR LATER) +/* +Copyright 2025 Prospect Robotics SWENext Club +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.limelight; import com.fasterxml.jackson.annotation.JsonFormat; diff --git a/limelight/src/main/java/com/team2813/lib2813/limelight/LocationalData.java b/limelight/src/main/java/com/team2813/lib2813/limelight/LocationalData.java index fa74f822..dcf02541 100644 --- a/limelight/src/main/java/com/team2813/lib2813/limelight/LocationalData.java +++ b/limelight/src/main/java/com/team2813/lib2813/limelight/LocationalData.java @@ -1,3 +1,18 @@ +/* +Copyright 2024-2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.limelight; import edu.wpi.first.math.geometry.Pose3d; diff --git a/limelight/src/main/java/com/team2813/lib2813/limelight/NetworkTablesLimelight.java b/limelight/src/main/java/com/team2813/lib2813/limelight/NetworkTablesLimelight.java index 9579935a..daeefe7b 100644 --- a/limelight/src/main/java/com/team2813/lib2813/limelight/NetworkTablesLimelight.java +++ b/limelight/src/main/java/com/team2813/lib2813/limelight/NetworkTablesLimelight.java @@ -1,3 +1,18 @@ +/* +Copyright 2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.limelight; import static java.util.Collections.unmodifiableMap; diff --git a/limelight/src/main/java/com/team2813/lib2813/limelight/Optionals.java b/limelight/src/main/java/com/team2813/lib2813/limelight/Optionals.java index 1002184b..b383b010 100644 --- a/limelight/src/main/java/com/team2813/lib2813/limelight/Optionals.java +++ b/limelight/src/main/java/com/team2813/lib2813/limelight/Optionals.java @@ -1,3 +1,18 @@ +/* +Copyright 2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.limelight; import java.util.Optional; diff --git a/limelight/src/main/java/com/team2813/lib2813/limelight/RestLimelight.java b/limelight/src/main/java/com/team2813/lib2813/limelight/RestLimelight.java index e104b672..0be768f4 100644 --- a/limelight/src/main/java/com/team2813/lib2813/limelight/RestLimelight.java +++ b/limelight/src/main/java/com/team2813/lib2813/limelight/RestLimelight.java @@ -1,3 +1,18 @@ +/* +Copyright 2024-2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.limelight; import static com.team2813.lib2813.limelight.JSONHelper.*; diff --git a/limelight/src/main/java/com/team2813/lib2813/limelight/StubLocationalData.java b/limelight/src/main/java/com/team2813/lib2813/limelight/StubLocationalData.java index a36d4075..28505cdf 100644 --- a/limelight/src/main/java/com/team2813/lib2813/limelight/StubLocationalData.java +++ b/limelight/src/main/java/com/team2813/lib2813/limelight/StubLocationalData.java @@ -1,3 +1,18 @@ +/* +Copyright 2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.limelight; import edu.wpi.first.math.geometry.Pose3d; diff --git a/limelight/src/main/java/com/team2813/lib2813/limelight/apriltag_map/Fiducial.java b/limelight/src/main/java/com/team2813/lib2813/limelight/apriltag_map/Fiducial.java index afa73bef..49337a0a 100644 --- a/limelight/src/main/java/com/team2813/lib2813/limelight/apriltag_map/Fiducial.java +++ b/limelight/src/main/java/com/team2813/lib2813/limelight/apriltag_map/Fiducial.java @@ -1,3 +1,18 @@ +/* +Copyright 2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.limelight.apriltag_map; import edu.wpi.first.math.Matrix; diff --git a/limelight/src/main/java/com/team2813/lib2813/limelight/apriltag_map/FiducialRetriever.java b/limelight/src/main/java/com/team2813/lib2813/limelight/apriltag_map/FiducialRetriever.java index cbe78e56..882bfaaf 100644 --- a/limelight/src/main/java/com/team2813/lib2813/limelight/apriltag_map/FiducialRetriever.java +++ b/limelight/src/main/java/com/team2813/lib2813/limelight/apriltag_map/FiducialRetriever.java @@ -1,3 +1,18 @@ +/* +Copyright 2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.limelight.apriltag_map; import static java.nio.charset.StandardCharsets.UTF_8; diff --git a/limelight/src/main/java/com/team2813/lib2813/limelight/apriltag_map/FieldMap.java b/limelight/src/main/java/com/team2813/lib2813/limelight/apriltag_map/FieldMap.java index 064a5de4..33d5102b 100644 --- a/limelight/src/main/java/com/team2813/lib2813/limelight/apriltag_map/FieldMap.java +++ b/limelight/src/main/java/com/team2813/lib2813/limelight/apriltag_map/FieldMap.java @@ -1,3 +1,18 @@ +/* +Copyright 2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.limelight.apriltag_map; class FieldMap { diff --git a/limelight/src/test/java/com/team2813/lib2813/limelight/FakeLimelight.java b/limelight/src/test/java/com/team2813/lib2813/limelight/FakeLimelight.java index 0ef52898..b4f7835a 100644 --- a/limelight/src/test/java/com/team2813/lib2813/limelight/FakeLimelight.java +++ b/limelight/src/test/java/com/team2813/lib2813/limelight/FakeLimelight.java @@ -1,3 +1,18 @@ +/* +Copyright 2024-2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.limelight; import com.sun.net.httpserver.HttpExchange; diff --git a/limelight/src/test/java/com/team2813/lib2813/limelight/LegacyRestLimelightTest.java b/limelight/src/test/java/com/team2813/lib2813/limelight/LegacyRestLimelightTest.java index 7ec943b4..939a2dd4 100644 --- a/limelight/src/test/java/com/team2813/lib2813/limelight/LegacyRestLimelightTest.java +++ b/limelight/src/test/java/com/team2813/lib2813/limelight/LegacyRestLimelightTest.java @@ -1,3 +1,18 @@ +/* +Copyright 2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.limelight; import org.json.JSONObject; diff --git a/limelight/src/test/java/com/team2813/lib2813/limelight/LimelightTestCase.java b/limelight/src/test/java/com/team2813/lib2813/limelight/LimelightTestCase.java index 8e472fc2..7447cb49 100644 --- a/limelight/src/test/java/com/team2813/lib2813/limelight/LimelightTestCase.java +++ b/limelight/src/test/java/com/team2813/lib2813/limelight/LimelightTestCase.java @@ -1,3 +1,18 @@ +/* +Copyright 2024-2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.limelight; import static com.google.common.truth.Truth.assertThat; diff --git a/limelight/src/test/java/com/team2813/lib2813/limelight/NetworkTablesLimelightTest.java b/limelight/src/test/java/com/team2813/lib2813/limelight/NetworkTablesLimelightTest.java index a975c261..11f222c4 100644 --- a/limelight/src/test/java/com/team2813/lib2813/limelight/NetworkTablesLimelightTest.java +++ b/limelight/src/test/java/com/team2813/lib2813/limelight/NetworkTablesLimelightTest.java @@ -1,3 +1,18 @@ +/* +Copyright 2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.limelight; import edu.wpi.first.networktables.DoubleArrayEntry; diff --git a/limelight/src/test/java/com/team2813/lib2813/limelight/RestLimelightTest.java b/limelight/src/test/java/com/team2813/lib2813/limelight/RestLimelightTest.java index b1e5e1d7..d9e72f65 100644 --- a/limelight/src/test/java/com/team2813/lib2813/limelight/RestLimelightTest.java +++ b/limelight/src/test/java/com/team2813/lib2813/limelight/RestLimelightTest.java @@ -1,3 +1,18 @@ +/* +Copyright 2024-2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.limelight; import static org.junit.Assert.assertEquals; diff --git a/testing/src/main/java/com/team2813/lib2813/testing/FakeMotor.java b/testing/src/main/java/com/team2813/lib2813/testing/FakeMotor.java index 5c0aa9f9..cbd39c3f 100644 --- a/testing/src/main/java/com/team2813/lib2813/testing/FakeMotor.java +++ b/testing/src/main/java/com/team2813/lib2813/testing/FakeMotor.java @@ -1,3 +1,18 @@ +/* +Copyright 2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.testing; import static com.google.common.truth.Truth.assertThat; diff --git a/testing/src/main/java/com/team2813/lib2813/testing/FakePIDMotor.java b/testing/src/main/java/com/team2813/lib2813/testing/FakePIDMotor.java index 9c346086..6415a48d 100644 --- a/testing/src/main/java/com/team2813/lib2813/testing/FakePIDMotor.java +++ b/testing/src/main/java/com/team2813/lib2813/testing/FakePIDMotor.java @@ -1,3 +1,18 @@ +/* +Copyright 2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.testing; import com.team2813.lib2813.control.PIDMotor; diff --git a/testing/src/main/java/com/team2813/lib2813/testing/junit/jupiter/CommandTester.java b/testing/src/main/java/com/team2813/lib2813/testing/junit/jupiter/CommandTester.java index 42bc7741..0819ca69 100644 --- a/testing/src/main/java/com/team2813/lib2813/testing/junit/jupiter/CommandTester.java +++ b/testing/src/main/java/com/team2813/lib2813/testing/junit/jupiter/CommandTester.java @@ -1,3 +1,18 @@ +/* +Copyright 2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.testing.junit.jupiter; import edu.wpi.first.wpilibj2.command.Command; diff --git a/testing/src/main/java/com/team2813/lib2813/testing/junit/jupiter/IsolatedNetworkTablesExtension.java b/testing/src/main/java/com/team2813/lib2813/testing/junit/jupiter/IsolatedNetworkTablesExtension.java index 2de4a5fa..9022bdfa 100644 --- a/testing/src/main/java/com/team2813/lib2813/testing/junit/jupiter/IsolatedNetworkTablesExtension.java +++ b/testing/src/main/java/com/team2813/lib2813/testing/junit/jupiter/IsolatedNetworkTablesExtension.java @@ -1,3 +1,18 @@ +/* +Copyright 2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.testing.junit.jupiter; import edu.wpi.first.networktables.NetworkTableInstance; diff --git a/testing/src/main/java/com/team2813/lib2813/testing/junit/jupiter/StoreKey.java b/testing/src/main/java/com/team2813/lib2813/testing/junit/jupiter/StoreKey.java index 745bf42a..fc681a73 100644 --- a/testing/src/main/java/com/team2813/lib2813/testing/junit/jupiter/StoreKey.java +++ b/testing/src/main/java/com/team2813/lib2813/testing/junit/jupiter/StoreKey.java @@ -1,3 +1,18 @@ +/* +Copyright 2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.testing.junit.jupiter; import java.util.function.Supplier; diff --git a/testing/src/main/java/com/team2813/lib2813/testing/junit/jupiter/WPILibExtension.java b/testing/src/main/java/com/team2813/lib2813/testing/junit/jupiter/WPILibExtension.java index 2fbf0474..e0456104 100644 --- a/testing/src/main/java/com/team2813/lib2813/testing/junit/jupiter/WPILibExtension.java +++ b/testing/src/main/java/com/team2813/lib2813/testing/junit/jupiter/WPILibExtension.java @@ -1,3 +1,18 @@ +/* +Copyright 2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.testing.junit.jupiter; import edu.wpi.first.hal.HAL; diff --git a/testing/src/main/java/com/team2813/lib2813/testing/truth/Pose2dSubject.java b/testing/src/main/java/com/team2813/lib2813/testing/truth/Pose2dSubject.java index f3b33296..235551f1 100644 --- a/testing/src/main/java/com/team2813/lib2813/testing/truth/Pose2dSubject.java +++ b/testing/src/main/java/com/team2813/lib2813/testing/truth/Pose2dSubject.java @@ -1,3 +1,18 @@ +/* +Copyright 2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.testing.truth; import static com.google.common.truth.Fact.simpleFact; diff --git a/testing/src/main/java/com/team2813/lib2813/testing/truth/Pose3dSubject.java b/testing/src/main/java/com/team2813/lib2813/testing/truth/Pose3dSubject.java index 46990843..ae84c9dd 100644 --- a/testing/src/main/java/com/team2813/lib2813/testing/truth/Pose3dSubject.java +++ b/testing/src/main/java/com/team2813/lib2813/testing/truth/Pose3dSubject.java @@ -1,3 +1,18 @@ +/* +Copyright 2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.testing.truth; import static com.google.common.truth.Fact.simpleFact; diff --git a/testing/src/main/java/com/team2813/lib2813/testing/truth/Rotation2dSubject.java b/testing/src/main/java/com/team2813/lib2813/testing/truth/Rotation2dSubject.java index d50e4f0a..58d9165a 100644 --- a/testing/src/main/java/com/team2813/lib2813/testing/truth/Rotation2dSubject.java +++ b/testing/src/main/java/com/team2813/lib2813/testing/truth/Rotation2dSubject.java @@ -1,3 +1,18 @@ +/* +Copyright 2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.testing.truth; import static com.google.common.truth.Fact.simpleFact; diff --git a/testing/src/main/java/com/team2813/lib2813/testing/truth/Rotation3dSubject.java b/testing/src/main/java/com/team2813/lib2813/testing/truth/Rotation3dSubject.java index fe78d230..a9e67047 100644 --- a/testing/src/main/java/com/team2813/lib2813/testing/truth/Rotation3dSubject.java +++ b/testing/src/main/java/com/team2813/lib2813/testing/truth/Rotation3dSubject.java @@ -1,3 +1,18 @@ +/* +Copyright 2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.testing.truth; import static com.google.common.truth.Fact.simpleFact; diff --git a/testing/src/main/java/com/team2813/lib2813/testing/truth/TolerantComparison.java b/testing/src/main/java/com/team2813/lib2813/testing/truth/TolerantComparison.java index cc2c2b38..2dd80643 100644 --- a/testing/src/main/java/com/team2813/lib2813/testing/truth/TolerantComparison.java +++ b/testing/src/main/java/com/team2813/lib2813/testing/truth/TolerantComparison.java @@ -1,3 +1,18 @@ +/* +Copyright 2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.testing.truth; import org.jspecify.annotations.Nullable; diff --git a/testing/src/main/java/com/team2813/lib2813/testing/truth/Translation2dSubject.java b/testing/src/main/java/com/team2813/lib2813/testing/truth/Translation2dSubject.java index 41a51edd..06beedfd 100644 --- a/testing/src/main/java/com/team2813/lib2813/testing/truth/Translation2dSubject.java +++ b/testing/src/main/java/com/team2813/lib2813/testing/truth/Translation2dSubject.java @@ -1,3 +1,18 @@ +/* +Copyright 2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.testing.truth; import static com.google.common.truth.Fact.simpleFact; diff --git a/testing/src/main/java/com/team2813/lib2813/testing/truth/Translation3dSubject.java b/testing/src/main/java/com/team2813/lib2813/testing/truth/Translation3dSubject.java index 302e1227..de46d04e 100644 --- a/testing/src/main/java/com/team2813/lib2813/testing/truth/Translation3dSubject.java +++ b/testing/src/main/java/com/team2813/lib2813/testing/truth/Translation3dSubject.java @@ -1,3 +1,18 @@ +/* +Copyright 2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.testing.truth; import static com.google.common.truth.Fact.simpleFact; diff --git a/testing/src/test/java/com/team2813/lib2813/testing/junit/jupiter/ExtensionAssertions.java b/testing/src/test/java/com/team2813/lib2813/testing/junit/jupiter/ExtensionAssertions.java index 696d4e29..bb9cb086 100644 --- a/testing/src/test/java/com/team2813/lib2813/testing/junit/jupiter/ExtensionAssertions.java +++ b/testing/src/test/java/com/team2813/lib2813/testing/junit/jupiter/ExtensionAssertions.java @@ -1,3 +1,18 @@ +/* +Copyright 2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.testing.junit.jupiter; import org.junit.platform.testkit.engine.EngineExecutionResults; diff --git a/testing/src/test/java/com/team2813/lib2813/testing/junit/jupiter/IsolatedNetworkTablesExtensionTest.java b/testing/src/test/java/com/team2813/lib2813/testing/junit/jupiter/IsolatedNetworkTablesExtensionTest.java index 505054da..ef6c25d5 100644 --- a/testing/src/test/java/com/team2813/lib2813/testing/junit/jupiter/IsolatedNetworkTablesExtensionTest.java +++ b/testing/src/test/java/com/team2813/lib2813/testing/junit/jupiter/IsolatedNetworkTablesExtensionTest.java @@ -1,3 +1,18 @@ +/* +Copyright 2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.testing.junit.jupiter; import static com.google.common.truth.Truth.assertThat; diff --git a/testing/src/test/java/com/team2813/lib2813/testing/junit/jupiter/WPILibExtensionTest.java b/testing/src/test/java/com/team2813/lib2813/testing/junit/jupiter/WPILibExtensionTest.java index 9c7301ca..f35b49d0 100644 --- a/testing/src/test/java/com/team2813/lib2813/testing/junit/jupiter/WPILibExtensionTest.java +++ b/testing/src/test/java/com/team2813/lib2813/testing/junit/jupiter/WPILibExtensionTest.java @@ -1,3 +1,18 @@ +/* +Copyright 2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.testing.junit.jupiter; import static com.google.common.truth.Truth.assertThat; diff --git a/vision/src/main/java/com/team2813/lib2813/vision/PhotonVisionPosePublisher.java b/vision/src/main/java/com/team2813/lib2813/vision/PhotonVisionPosePublisher.java index 2fab4c58..f284c068 100644 --- a/vision/src/main/java/com/team2813/lib2813/vision/PhotonVisionPosePublisher.java +++ b/vision/src/main/java/com/team2813/lib2813/vision/PhotonVisionPosePublisher.java @@ -1,3 +1,18 @@ +/* +Copyright 2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.vision; import static com.team2813.lib2813.vision.VisionNetworkTables.APRIL_TAG_POSE_TOPIC; diff --git a/vision/src/main/java/com/team2813/lib2813/vision/TimestampedStructPublisher.java b/vision/src/main/java/com/team2813/lib2813/vision/TimestampedStructPublisher.java index 94135043..58d50aa8 100644 --- a/vision/src/main/java/com/team2813/lib2813/vision/TimestampedStructPublisher.java +++ b/vision/src/main/java/com/team2813/lib2813/vision/TimestampedStructPublisher.java @@ -1,3 +1,18 @@ +/* +Copyright 2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.vision; import edu.wpi.first.networktables.StructPublisher; diff --git a/vision/src/main/java/com/team2813/lib2813/vision/TimestampedValue.java b/vision/src/main/java/com/team2813/lib2813/vision/TimestampedValue.java index 0bcfca2e..d3c124f9 100644 --- a/vision/src/main/java/com/team2813/lib2813/vision/TimestampedValue.java +++ b/vision/src/main/java/com/team2813/lib2813/vision/TimestampedValue.java @@ -1,3 +1,18 @@ +/* +Copyright 2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.vision; import edu.wpi.first.networktables.StructSubscriber; diff --git a/vision/src/main/java/com/team2813/lib2813/vision/VisionNetworkTables.java b/vision/src/main/java/com/team2813/lib2813/vision/VisionNetworkTables.java index 966b28a4..51aefab3 100644 --- a/vision/src/main/java/com/team2813/lib2813/vision/VisionNetworkTables.java +++ b/vision/src/main/java/com/team2813/lib2813/vision/VisionNetworkTables.java @@ -1,3 +1,18 @@ +/* +Copyright 2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.vision; import edu.wpi.first.networktables.NetworkTable; diff --git a/vision/src/test/java/com/team2813/lib2813/vision/TimestampedStructPublisherTest.java b/vision/src/test/java/com/team2813/lib2813/vision/TimestampedStructPublisherTest.java index 8a1e52e1..4c21d839 100644 --- a/vision/src/test/java/com/team2813/lib2813/vision/TimestampedStructPublisherTest.java +++ b/vision/src/test/java/com/team2813/lib2813/vision/TimestampedStructPublisherTest.java @@ -1,3 +1,18 @@ +/* +Copyright 2025 Prospect Robotics SWENext Club + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package com.team2813.lib2813.vision; import static com.google.common.truth.Truth.assertThat; From b57b3bd50e71b1a9df0b91b631748ff2cf580cc6 Mon Sep 17 00:00:00 2001 From: cuttestkittensrule Date: Sat, 18 Oct 2025 22:51:46 -0700 Subject: [PATCH 2/2] Remove appendix to license --- LICENSE | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/LICENSE b/LICENSE index ae1faa3f..dd5b3a58 100644 --- a/LICENSE +++ b/LICENSE @@ -172,30 +172,3 @@ defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2024 Prospect Robotics SWENext Club - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License.