From 2e7cdf008b89b8a36007294552ca661f92dd4bd8 Mon Sep 17 00:00:00 2001 From: Prateek Machiraju Date: Thu, 2 Jul 2020 22:02:21 -0400 Subject: [PATCH] Add copyright header to sources (#14) * Add License to top of each file * Remove test folder * Do not apply PhotonVision license to wpilib --- photon-server/LicenseHeader.txt | 17 +++++++++++++++++ photon-server/build.gradle | 18 +++++++++++------- photon-server/gradlew | 0 .../configuration/CameraConfiguration.java | 17 +++++++++++++++++ .../common/configuration/ConfigManager.java | 17 +++++++++++++++++ .../common/configuration/HardwareConfig.java | 17 +++++++++++++++++ .../common/configuration/NetworkConfig.java | 17 +++++++++++++++++ .../configuration/PhotonConfiguration.java | 17 +++++++++++++++++ .../common/configuration/StreamDivisor.java | 17 +++++++++++++++++ .../common/datatransfer/DataConsumer.java | 17 +++++++++++++++++ .../common/datatransfer/DataProvider.java | 17 +++++++++++++++++ .../networktables/NetworkTablesManager.java | 17 +++++++++++++++++ .../org/photonvision/common/logging/Level.java | 17 +++++++++++++++++ .../photonvision/common/logging/LogGroup.java | 17 +++++++++++++++++ .../photonvision/common/logging/Logger.java | 17 +++++++++++++++++ .../common/networking/LinuxNetworking.java | 17 +++++++++++++++++ .../common/networking/NetworkInterface.java | 17 +++++++++++++++++ .../common/networking/NetworkManager.java | 17 +++++++++++++++++ .../common/networking/NetworkMode.java | 17 +++++++++++++++++ .../common/networking/SysNetworking.java | 17 +++++++++++++++++ .../common/scripting/ScriptCommandType.java | 17 +++++++++++++++++ .../common/scripting/ScriptConfig.java | 17 +++++++++++++++++ .../common/scripting/ScriptEvent.java | 17 +++++++++++++++++ .../common/scripting/ScriptEventType.java | 17 +++++++++++++++++ .../common/scripting/ScriptManager.java | 17 +++++++++++++++++ .../photonvision/common/util/ColorHelper.java | 17 +++++++++++++++++ .../common/util/LoopingRunnable.java | 17 +++++++++++++++++ .../common/util/MemoryManager.java | 17 +++++++++++++++++ .../org/photonvision/common/util/Platform.java | 17 +++++++++++++++++ .../common/util/ReflectionUtils.java | 17 +++++++++++++++++ .../photonvision/common/util/ShellExec.java | 17 +++++++++++++++++ .../photonvision/common/util/TestUtils.java | 17 +++++++++++++++++ .../common/util/file/FileUtils.java | 17 +++++++++++++++++ .../common/util/file/JacksonUtils.java | 17 +++++++++++++++++ .../photonvision/common/util/math/IPUtils.java | 17 +++++++++++++++++ .../common/util/math/MathUtils.java | 17 +++++++++++++++++ .../common/util/numbers/DoubleCouple.java | 17 +++++++++++++++++ .../common/util/numbers/IntegerCouple.java | 17 +++++++++++++++++ .../common/util/numbers/NumberCouple.java | 17 +++++++++++++++++ .../common/util/numbers/NumberListUtils.java | 17 +++++++++++++++++ .../java/org/photonvision/server/Main.java | 17 +++++++++++++++++ .../photonvision/server/RequestHandler.java | 17 +++++++++++++++++ .../java/org/photonvision/server/Server.java | 17 +++++++++++++++++ .../org/photonvision/server/SocketHandler.java | 17 +++++++++++++++++ .../CameraCalibrationCoefficients.java | 17 +++++++++++++++++ .../vision/calibration/JsonMat.java | 17 +++++++++++++++++ .../vision/camera/CameraQuirks.java | 17 +++++++++++++++++ .../photonvision/vision/camera/CameraType.java | 17 +++++++++++++++++ .../vision/camera/QuirkyCamera.java | 17 +++++++++++++++++ .../vision/camera/USBCameraSource.java | 17 +++++++++++++++++ .../org/photonvision/vision/frame/Frame.java | 17 +++++++++++++++++ .../vision/frame/FrameConsumer.java | 17 +++++++++++++++++ .../vision/frame/FrameDivisor.java | 17 +++++++++++++++++ .../vision/frame/FrameProvider.java | 17 +++++++++++++++++ .../vision/frame/FrameStaticProperties.java | 17 +++++++++++++++++ .../frame/consumer/DummyFrameConsumer.java | 17 +++++++++++++++++ .../frame/consumer/MJPGFrameConsumer.java | 17 +++++++++++++++++ .../frame/provider/FileFrameProvider.java | 17 +++++++++++++++++ .../frame/provider/NetworkFrameProvider.java | 17 +++++++++++++++++ .../frame/provider/USBFrameProvider.java | 17 +++++++++++++++++ .../org/photonvision/vision/opencv/CVMat.java | 17 +++++++++++++++++ .../photonvision/vision/opencv/CVShape.java | 17 +++++++++++++++++ .../photonvision/vision/opencv/Contour.java | 17 +++++++++++++++++ .../vision/opencv/ContourGroupingMode.java | 17 +++++++++++++++++ .../opencv/ContourIntersectionDirection.java | 17 +++++++++++++++++ .../vision/opencv/ContourShape.java | 17 +++++++++++++++++ .../vision/opencv/ContourSortMode.java | 17 +++++++++++++++++ .../photonvision/vision/opencv/DualMat.java | 17 +++++++++++++++++ .../photonvision/vision/opencv/Releasable.java | 17 +++++++++++++++++ .../org/photonvision/vision/pipe/CVPipe.java | 17 +++++++++++++++++ .../photonvision/vision/pipe/CVPipeResult.java | 17 +++++++++++++++++ .../vision/pipe/ImageFlipMode.java | 17 +++++++++++++++++ .../vision/pipe/ImageRotationMode.java | 17 +++++++++++++++++ .../vision/pipe/impl/BlurPipe.java | 17 +++++++++++++++++ .../vision/pipe/impl/Collect2dTargetsPipe.java | 17 +++++++++++++++++ .../vision/pipe/impl/CornerDetectionPipe.java | 17 +++++++++++++++++ .../vision/pipe/impl/Draw2dContoursPipe.java | 17 +++++++++++++++++ .../vision/pipe/impl/Draw2dCrosshairPipe.java | 17 +++++++++++++++++ .../vision/pipe/impl/Draw3dTargetsPipe.java | 17 +++++++++++++++++ .../pipe/impl/DrawCornerDetectionPipe.java | 17 +++++++++++++++++ .../vision/pipe/impl/ErodeDilatePipe.java | 17 +++++++++++++++++ .../vision/pipe/impl/FilterContoursPipe.java | 17 +++++++++++++++++ .../vision/pipe/impl/FilterShapesPipe.java | 17 +++++++++++++++++ .../vision/pipe/impl/FindCirclesPipe.java | 17 +++++++++++++++++ .../vision/pipe/impl/FindContoursPipe.java | 17 +++++++++++++++++ .../vision/pipe/impl/FindPolygonPipe.java | 17 +++++++++++++++++ .../vision/pipe/impl/FindShapesPipe.java | 17 +++++++++++++++++ .../vision/pipe/impl/GroupContoursPipe.java | 17 +++++++++++++++++ .../photonvision/vision/pipe/impl/HSVPipe.java | 17 +++++++++++++++++ .../vision/pipe/impl/OutputMatPipe.java | 17 +++++++++++++++++ .../vision/pipe/impl/ResizeImagePipe.java | 17 +++++++++++++++++ .../vision/pipe/impl/RotateImagePipe.java | 17 +++++++++++++++++ .../vision/pipe/impl/SolvePNPPipe.java | 17 +++++++++++++++++ .../vision/pipe/impl/SortContoursPipe.java | 17 +++++++++++++++++ .../vision/pipe/impl/SpeckleRejectPipe.java | 17 +++++++++++++++++ .../pipeline/AdvancedPipelineSettings.java | 17 +++++++++++++++++ .../vision/pipeline/CVPipeline.java | 17 +++++++++++++++++ .../vision/pipeline/CVPipelineResult.java | 17 +++++++++++++++++ .../vision/pipeline/CVPipelineSettings.java | 17 +++++++++++++++++ .../vision/pipeline/Calibration3dPipeline.java | 17 +++++++++++++++++ .../vision/pipeline/ColoredShapePipeline.java | 17 +++++++++++++++++ .../pipeline/ColoredShapePipelineSettings.java | 17 +++++++++++++++++ .../vision/pipeline/DriverModePipeline.java | 17 +++++++++++++++++ .../pipeline/DriverModePipelineResult.java | 17 +++++++++++++++++ .../pipeline/DriverModePipelineSettings.java | 17 +++++++++++++++++ .../vision/pipeline/PipelineType.java | 17 +++++++++++++++++ .../vision/pipeline/ReflectivePipeline.java | 17 +++++++++++++++++ .../pipeline/ReflectivePipelineSettings.java | 17 +++++++++++++++++ .../photonvision/vision/processes/Data.java | 17 +++++++++++++++++ .../vision/processes/PipelineManager.java | 17 +++++++++++++++++ .../vision/processes/VisionModule.java | 17 +++++++++++++++++ .../vision/processes/VisionModuleManager.java | 17 +++++++++++++++++ .../vision/processes/VisionRunner.java | 17 +++++++++++++++++ .../vision/processes/VisionSource.java | 17 +++++++++++++++++ .../vision/processes/VisionSourceManager.java | 17 +++++++++++++++++ .../processes/VisionSourceSettables.java | 17 +++++++++++++++++ .../vision/target/PotentialTarget.java | 17 +++++++++++++++++ .../vision/target/RobotOffsetPointMode.java | 17 +++++++++++++++++ .../vision/target/TargetCalculations.java | 17 +++++++++++++++++ .../vision/target/TargetModel.java | 17 +++++++++++++++++ .../vision/target/TargetOffsetPointEdge.java | 17 +++++++++++++++++ .../vision/target/TargetOrientation.java | 17 +++++++++++++++++ .../vision/target/TrackedTarget.java | 17 +++++++++++++++++ .../org/photonvision/common/BenchmarkTest.java | 17 +++++++++++++++++ .../common/configuration/ConfigTest.java | 17 +++++++++++++++++ .../photonvision/vision/QuirkyCameraTest.java | 17 +++++++++++++++++ .../frame/provider/FileFrameProviderTest.java | 17 +++++++++++++++++ .../vision/opencv/ContourTest.java | 17 +++++++++++++++++ .../vision/pipeline/CirclePNPTest.java | 17 +++++++++++++++++ .../pipeline/ColoredShapePipelineTest.java | 17 +++++++++++++++++ .../pipeline/ReflectivePipelineTest.java | 17 +++++++++++++++++ .../vision/pipeline/SolvePNPTest.java | 17 +++++++++++++++++ .../processes/VisionModuleManagerTest.java | 17 +++++++++++++++++ .../processes/VisionSourceManagerTest.java | 17 +++++++++++++++++ .../vision/target/TargetCalculationsTest.java | 17 +++++++++++++++++ .../vision/target/TrackedTargetTest.java | 17 +++++++++++++++++ 136 files changed, 2289 insertions(+), 7 deletions(-) create mode 100644 photon-server/LicenseHeader.txt mode change 100644 => 100755 photon-server/gradlew diff --git a/photon-server/LicenseHeader.txt b/photon-server/LicenseHeader.txt new file mode 100644 index 000000000..2379b1c61 --- /dev/null +++ b/photon-server/LicenseHeader.txt @@ -0,0 +1,17 @@ +/* + * Copyright (C) $YEAR Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + diff --git a/photon-server/build.gradle b/photon-server/build.gradle index 195322adc..7b852f196 100644 --- a/photon-server/build.gradle +++ b/photon-server/build.gradle @@ -112,11 +112,15 @@ copyClientUIToResources.dependsOn runNpmOnClient copyClientUIToResources.shouldRunAfter runNpmOnClient spotless { - java { - googleJavaFormat() - paddedCell() - indentWithTabs(2) - indentWithSpaces(4) - removeUnusedImports() - } + java { + googleJavaFormat() + paddedCell() + indentWithTabs(2) + indentWithSpaces(4) + removeUnusedImports() + } + java { + target "src/*/java/org/**/*.java" + licenseHeaderFile "$rootDir/LicenseHeader.txt" + } } diff --git a/photon-server/gradlew b/photon-server/gradlew old mode 100644 new mode 100755 diff --git a/photon-server/src/main/java/org/photonvision/common/configuration/CameraConfiguration.java b/photon-server/src/main/java/org/photonvision/common/configuration/CameraConfiguration.java index 3567cddfa..fc5ee34f7 100644 --- a/photon-server/src/main/java/org/photonvision/common/configuration/CameraConfiguration.java +++ b/photon-server/src/main/java/org/photonvision/common/configuration/CameraConfiguration.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.common.configuration; import com.fasterxml.jackson.annotation.JsonCreator; diff --git a/photon-server/src/main/java/org/photonvision/common/configuration/ConfigManager.java b/photon-server/src/main/java/org/photonvision/common/configuration/ConfigManager.java index bbecc507a..e174afe73 100644 --- a/photon-server/src/main/java/org/photonvision/common/configuration/ConfigManager.java +++ b/photon-server/src/main/java/org/photonvision/common/configuration/ConfigManager.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.common.configuration; import com.fasterxml.jackson.core.JsonProcessingException; diff --git a/photon-server/src/main/java/org/photonvision/common/configuration/HardwareConfig.java b/photon-server/src/main/java/org/photonvision/common/configuration/HardwareConfig.java index 91883457e..67b9cad1f 100644 --- a/photon-server/src/main/java/org/photonvision/common/configuration/HardwareConfig.java +++ b/photon-server/src/main/java/org/photonvision/common/configuration/HardwareConfig.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.common.configuration; /** Defines a;lskdjfa;dsklf */ diff --git a/photon-server/src/main/java/org/photonvision/common/configuration/NetworkConfig.java b/photon-server/src/main/java/org/photonvision/common/configuration/NetworkConfig.java index 804c9b777..254c30166 100644 --- a/photon-server/src/main/java/org/photonvision/common/configuration/NetworkConfig.java +++ b/photon-server/src/main/java/org/photonvision/common/configuration/NetworkConfig.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.common.configuration; import org.photonvision.common.networking.NetworkMode; diff --git a/photon-server/src/main/java/org/photonvision/common/configuration/PhotonConfiguration.java b/photon-server/src/main/java/org/photonvision/common/configuration/PhotonConfiguration.java index a5b17ce47..e37466462 100644 --- a/photon-server/src/main/java/org/photonvision/common/configuration/PhotonConfiguration.java +++ b/photon-server/src/main/java/org/photonvision/common/configuration/PhotonConfiguration.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.common.configuration; import java.util.HashMap; diff --git a/photon-server/src/main/java/org/photonvision/common/configuration/StreamDivisor.java b/photon-server/src/main/java/org/photonvision/common/configuration/StreamDivisor.java index f391ca274..e47ad133c 100644 --- a/photon-server/src/main/java/org/photonvision/common/configuration/StreamDivisor.java +++ b/photon-server/src/main/java/org/photonvision/common/configuration/StreamDivisor.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.common.configuration; public enum StreamDivisor { diff --git a/photon-server/src/main/java/org/photonvision/common/datatransfer/DataConsumer.java b/photon-server/src/main/java/org/photonvision/common/datatransfer/DataConsumer.java index 201fd2746..6018e92bf 100644 --- a/photon-server/src/main/java/org/photonvision/common/datatransfer/DataConsumer.java +++ b/photon-server/src/main/java/org/photonvision/common/datatransfer/DataConsumer.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.common.datatransfer; import java.util.function.Consumer; diff --git a/photon-server/src/main/java/org/photonvision/common/datatransfer/DataProvider.java b/photon-server/src/main/java/org/photonvision/common/datatransfer/DataProvider.java index da09a6b10..7b5b997ae 100644 --- a/photon-server/src/main/java/org/photonvision/common/datatransfer/DataProvider.java +++ b/photon-server/src/main/java/org/photonvision/common/datatransfer/DataProvider.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.common.datatransfer; public interface DataProvider {} diff --git a/photon-server/src/main/java/org/photonvision/common/datatransfer/networktables/NetworkTablesManager.java b/photon-server/src/main/java/org/photonvision/common/datatransfer/networktables/NetworkTablesManager.java index aa4f5297c..bed72bfcb 100644 --- a/photon-server/src/main/java/org/photonvision/common/datatransfer/networktables/NetworkTablesManager.java +++ b/photon-server/src/main/java/org/photonvision/common/datatransfer/networktables/NetworkTablesManager.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.common.datatransfer.networktables; import edu.wpi.first.networktables.LogMessage; diff --git a/photon-server/src/main/java/org/photonvision/common/logging/Level.java b/photon-server/src/main/java/org/photonvision/common/logging/Level.java index 2c69b8a8a..c33c7da6f 100644 --- a/photon-server/src/main/java/org/photonvision/common/logging/Level.java +++ b/photon-server/src/main/java/org/photonvision/common/logging/Level.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.common.logging; public enum Level { diff --git a/photon-server/src/main/java/org/photonvision/common/logging/LogGroup.java b/photon-server/src/main/java/org/photonvision/common/logging/LogGroup.java index dcb8274e4..c7b692eec 100644 --- a/photon-server/src/main/java/org/photonvision/common/logging/LogGroup.java +++ b/photon-server/src/main/java/org/photonvision/common/logging/LogGroup.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.common.logging; public enum LogGroup { diff --git a/photon-server/src/main/java/org/photonvision/common/logging/Logger.java b/photon-server/src/main/java/org/photonvision/common/logging/Logger.java index 4a83fb71d..e97c25373 100644 --- a/photon-server/src/main/java/org/photonvision/common/logging/Logger.java +++ b/photon-server/src/main/java/org/photonvision/common/logging/Logger.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.common.logging; import java.io.IOException; diff --git a/photon-server/src/main/java/org/photonvision/common/networking/LinuxNetworking.java b/photon-server/src/main/java/org/photonvision/common/networking/LinuxNetworking.java index fa3d2bf30..fabe464d2 100644 --- a/photon-server/src/main/java/org/photonvision/common/networking/LinuxNetworking.java +++ b/photon-server/src/main/java/org/photonvision/common/networking/LinuxNetworking.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.common.networking; import java.io.File; diff --git a/photon-server/src/main/java/org/photonvision/common/networking/NetworkInterface.java b/photon-server/src/main/java/org/photonvision/common/networking/NetworkInterface.java index 7c4eabd30..6453f548a 100644 --- a/photon-server/src/main/java/org/photonvision/common/networking/NetworkInterface.java +++ b/photon-server/src/main/java/org/photonvision/common/networking/NetworkInterface.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.common.networking; import java.net.InterfaceAddress; diff --git a/photon-server/src/main/java/org/photonvision/common/networking/NetworkManager.java b/photon-server/src/main/java/org/photonvision/common/networking/NetworkManager.java index 684724423..5de5dd3ef 100644 --- a/photon-server/src/main/java/org/photonvision/common/networking/NetworkManager.java +++ b/photon-server/src/main/java/org/photonvision/common/networking/NetworkManager.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.common.networking; public class NetworkManager { diff --git a/photon-server/src/main/java/org/photonvision/common/networking/NetworkMode.java b/photon-server/src/main/java/org/photonvision/common/networking/NetworkMode.java index 62d7ac7ae..cee7df0eb 100644 --- a/photon-server/src/main/java/org/photonvision/common/networking/NetworkMode.java +++ b/photon-server/src/main/java/org/photonvision/common/networking/NetworkMode.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.common.networking; public enum NetworkMode { diff --git a/photon-server/src/main/java/org/photonvision/common/networking/SysNetworking.java b/photon-server/src/main/java/org/photonvision/common/networking/SysNetworking.java index c15ff101b..d4e8cf51c 100644 --- a/photon-server/src/main/java/org/photonvision/common/networking/SysNetworking.java +++ b/photon-server/src/main/java/org/photonvision/common/networking/SysNetworking.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.common.networking; import java.io.IOException; diff --git a/photon-server/src/main/java/org/photonvision/common/scripting/ScriptCommandType.java b/photon-server/src/main/java/org/photonvision/common/scripting/ScriptCommandType.java index 345d268e9..5a49f969e 100644 --- a/photon-server/src/main/java/org/photonvision/common/scripting/ScriptCommandType.java +++ b/photon-server/src/main/java/org/photonvision/common/scripting/ScriptCommandType.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.common.scripting; public enum ScriptCommandType { diff --git a/photon-server/src/main/java/org/photonvision/common/scripting/ScriptConfig.java b/photon-server/src/main/java/org/photonvision/common/scripting/ScriptConfig.java index 41716e041..a528ac70f 100644 --- a/photon-server/src/main/java/org/photonvision/common/scripting/ScriptConfig.java +++ b/photon-server/src/main/java/org/photonvision/common/scripting/ScriptConfig.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.common.scripting; import com.fasterxml.jackson.annotation.JsonCreator; diff --git a/photon-server/src/main/java/org/photonvision/common/scripting/ScriptEvent.java b/photon-server/src/main/java/org/photonvision/common/scripting/ScriptEvent.java index a051c0269..18b01dd42 100644 --- a/photon-server/src/main/java/org/photonvision/common/scripting/ScriptEvent.java +++ b/photon-server/src/main/java/org/photonvision/common/scripting/ScriptEvent.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.common.scripting; import java.io.IOException; diff --git a/photon-server/src/main/java/org/photonvision/common/scripting/ScriptEventType.java b/photon-server/src/main/java/org/photonvision/common/scripting/ScriptEventType.java index 4e14e0626..2f27d9cff 100644 --- a/photon-server/src/main/java/org/photonvision/common/scripting/ScriptEventType.java +++ b/photon-server/src/main/java/org/photonvision/common/scripting/ScriptEventType.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.common.scripting; public enum ScriptEventType { diff --git a/photon-server/src/main/java/org/photonvision/common/scripting/ScriptManager.java b/photon-server/src/main/java/org/photonvision/common/scripting/ScriptManager.java index 03bd4146d..01d23c486 100644 --- a/photon-server/src/main/java/org/photonvision/common/scripting/ScriptManager.java +++ b/photon-server/src/main/java/org/photonvision/common/scripting/ScriptManager.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.common.scripting; import java.io.IOException; diff --git a/photon-server/src/main/java/org/photonvision/common/util/ColorHelper.java b/photon-server/src/main/java/org/photonvision/common/util/ColorHelper.java index 2a6c2b84d..2e8bf8952 100644 --- a/photon-server/src/main/java/org/photonvision/common/util/ColorHelper.java +++ b/photon-server/src/main/java/org/photonvision/common/util/ColorHelper.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.common.util; import java.awt.*; diff --git a/photon-server/src/main/java/org/photonvision/common/util/LoopingRunnable.java b/photon-server/src/main/java/org/photonvision/common/util/LoopingRunnable.java index 5c680a076..2323e4595 100644 --- a/photon-server/src/main/java/org/photonvision/common/util/LoopingRunnable.java +++ b/photon-server/src/main/java/org/photonvision/common/util/LoopingRunnable.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.common.util; /** A thread that tries to run at a specified loop time */ diff --git a/photon-server/src/main/java/org/photonvision/common/util/MemoryManager.java b/photon-server/src/main/java/org/photonvision/common/util/MemoryManager.java index 7335c3c54..010c15191 100644 --- a/photon-server/src/main/java/org/photonvision/common/util/MemoryManager.java +++ b/photon-server/src/main/java/org/photonvision/common/util/MemoryManager.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.common.util; public class MemoryManager { diff --git a/photon-server/src/main/java/org/photonvision/common/util/Platform.java b/photon-server/src/main/java/org/photonvision/common/util/Platform.java index b80aca97a..ac8172ced 100644 --- a/photon-server/src/main/java/org/photonvision/common/util/Platform.java +++ b/photon-server/src/main/java/org/photonvision/common/util/Platform.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.common.util; import edu.wpi.first.wpiutil.RuntimeDetector; diff --git a/photon-server/src/main/java/org/photonvision/common/util/ReflectionUtils.java b/photon-server/src/main/java/org/photonvision/common/util/ReflectionUtils.java index c60d5d165..a7c121161 100644 --- a/photon-server/src/main/java/org/photonvision/common/util/ReflectionUtils.java +++ b/photon-server/src/main/java/org/photonvision/common/util/ReflectionUtils.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.common.util; public class ReflectionUtils { diff --git a/photon-server/src/main/java/org/photonvision/common/util/ShellExec.java b/photon-server/src/main/java/org/photonvision/common/util/ShellExec.java index a88001f3b..c172d46af 100644 --- a/photon-server/src/main/java/org/photonvision/common/util/ShellExec.java +++ b/photon-server/src/main/java/org/photonvision/common/util/ShellExec.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.common.util; import java.io.*; diff --git a/photon-server/src/main/java/org/photonvision/common/util/TestUtils.java b/photon-server/src/main/java/org/photonvision/common/util/TestUtils.java index 476af0d98..19c0bf973 100644 --- a/photon-server/src/main/java/org/photonvision/common/util/TestUtils.java +++ b/photon-server/src/main/java/org/photonvision/common/util/TestUtils.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.common.util; import edu.wpi.cscore.CameraServerCvJNI; diff --git a/photon-server/src/main/java/org/photonvision/common/util/file/FileUtils.java b/photon-server/src/main/java/org/photonvision/common/util/file/FileUtils.java index 0ad139fc0..50023e8b8 100644 --- a/photon-server/src/main/java/org/photonvision/common/util/file/FileUtils.java +++ b/photon-server/src/main/java/org/photonvision/common/util/file/FileUtils.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.common.util.file; import java.io.File; diff --git a/photon-server/src/main/java/org/photonvision/common/util/file/JacksonUtils.java b/photon-server/src/main/java/org/photonvision/common/util/file/JacksonUtils.java index 6d670c524..cb7289579 100644 --- a/photon-server/src/main/java/org/photonvision/common/util/file/JacksonUtils.java +++ b/photon-server/src/main/java/org/photonvision/common/util/file/JacksonUtils.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.common.util.file; import com.fasterxml.jackson.databind.ObjectMapper; diff --git a/photon-server/src/main/java/org/photonvision/common/util/math/IPUtils.java b/photon-server/src/main/java/org/photonvision/common/util/math/IPUtils.java index b2b7452a1..46394c27b 100644 --- a/photon-server/src/main/java/org/photonvision/common/util/math/IPUtils.java +++ b/photon-server/src/main/java/org/photonvision/common/util/math/IPUtils.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.common.util.math; import java.util.ArrayList; diff --git a/photon-server/src/main/java/org/photonvision/common/util/math/MathUtils.java b/photon-server/src/main/java/org/photonvision/common/util/math/MathUtils.java index 547fb698e..8987dd001 100644 --- a/photon-server/src/main/java/org/photonvision/common/util/math/MathUtils.java +++ b/photon-server/src/main/java/org/photonvision/common/util/math/MathUtils.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.common.util.math; import org.apache.commons.math3.util.FastMath; diff --git a/photon-server/src/main/java/org/photonvision/common/util/numbers/DoubleCouple.java b/photon-server/src/main/java/org/photonvision/common/util/numbers/DoubleCouple.java index 125327497..03bc2f903 100644 --- a/photon-server/src/main/java/org/photonvision/common/util/numbers/DoubleCouple.java +++ b/photon-server/src/main/java/org/photonvision/common/util/numbers/DoubleCouple.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.common.util.numbers; import org.opencv.core.Point; diff --git a/photon-server/src/main/java/org/photonvision/common/util/numbers/IntegerCouple.java b/photon-server/src/main/java/org/photonvision/common/util/numbers/IntegerCouple.java index 0b40ff462..5f9fe45b5 100644 --- a/photon-server/src/main/java/org/photonvision/common/util/numbers/IntegerCouple.java +++ b/photon-server/src/main/java/org/photonvision/common/util/numbers/IntegerCouple.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.common.util.numbers; public class IntegerCouple extends NumberCouple { diff --git a/photon-server/src/main/java/org/photonvision/common/util/numbers/NumberCouple.java b/photon-server/src/main/java/org/photonvision/common/util/numbers/NumberCouple.java index 20c419e8a..07be4e9f6 100644 --- a/photon-server/src/main/java/org/photonvision/common/util/numbers/NumberCouple.java +++ b/photon-server/src/main/java/org/photonvision/common/util/numbers/NumberCouple.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.common.util.numbers; import com.fasterxml.jackson.annotation.JsonIgnore; diff --git a/photon-server/src/main/java/org/photonvision/common/util/numbers/NumberListUtils.java b/photon-server/src/main/java/org/photonvision/common/util/numbers/NumberListUtils.java index 39a89856a..645b77d6d 100644 --- a/photon-server/src/main/java/org/photonvision/common/util/numbers/NumberListUtils.java +++ b/photon-server/src/main/java/org/photonvision/common/util/numbers/NumberListUtils.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.common.util.numbers; import java.math.BigDecimal; diff --git a/photon-server/src/main/java/org/photonvision/server/Main.java b/photon-server/src/main/java/org/photonvision/server/Main.java index 9a7686b19..3c9fb78db 100644 --- a/photon-server/src/main/java/org/photonvision/server/Main.java +++ b/photon-server/src/main/java/org/photonvision/server/Main.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.server; public class Main { diff --git a/photon-server/src/main/java/org/photonvision/server/RequestHandler.java b/photon-server/src/main/java/org/photonvision/server/RequestHandler.java index a0d8e88d6..7715d82d7 100644 --- a/photon-server/src/main/java/org/photonvision/server/RequestHandler.java +++ b/photon-server/src/main/java/org/photonvision/server/RequestHandler.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.server; import com.fasterxml.jackson.databind.ObjectMapper; diff --git a/photon-server/src/main/java/org/photonvision/server/Server.java b/photon-server/src/main/java/org/photonvision/server/Server.java index 8895ef5aa..70fca2d07 100644 --- a/photon-server/src/main/java/org/photonvision/server/Server.java +++ b/photon-server/src/main/java/org/photonvision/server/Server.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.server; import io.javalin.Javalin; diff --git a/photon-server/src/main/java/org/photonvision/server/SocketHandler.java b/photon-server/src/main/java/org/photonvision/server/SocketHandler.java index 68cb5a5b3..be38e4053 100644 --- a/photon-server/src/main/java/org/photonvision/server/SocketHandler.java +++ b/photon-server/src/main/java/org/photonvision/server/SocketHandler.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.server; import com.fasterxml.jackson.core.JsonProcessingException; diff --git a/photon-server/src/main/java/org/photonvision/vision/calibration/CameraCalibrationCoefficients.java b/photon-server/src/main/java/org/photonvision/vision/calibration/CameraCalibrationCoefficients.java index aa64424ab..628fc7788 100644 --- a/photon-server/src/main/java/org/photonvision/vision/calibration/CameraCalibrationCoefficients.java +++ b/photon-server/src/main/java/org/photonvision/vision/calibration/CameraCalibrationCoefficients.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.calibration; import com.fasterxml.jackson.annotation.JsonCreator; diff --git a/photon-server/src/main/java/org/photonvision/vision/calibration/JsonMat.java b/photon-server/src/main/java/org/photonvision/vision/calibration/JsonMat.java index 9593201ea..44428d17e 100644 --- a/photon-server/src/main/java/org/photonvision/vision/calibration/JsonMat.java +++ b/photon-server/src/main/java/org/photonvision/vision/calibration/JsonMat.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.calibration; import com.fasterxml.jackson.annotation.JsonIgnore; diff --git a/photon-server/src/main/java/org/photonvision/vision/camera/CameraQuirks.java b/photon-server/src/main/java/org/photonvision/vision/camera/CameraQuirks.java index d9cad42f3..5a2cfa44a 100644 --- a/photon-server/src/main/java/org/photonvision/vision/camera/CameraQuirks.java +++ b/photon-server/src/main/java/org/photonvision/vision/camera/CameraQuirks.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.camera; public enum CameraQuirks { diff --git a/photon-server/src/main/java/org/photonvision/vision/camera/CameraType.java b/photon-server/src/main/java/org/photonvision/vision/camera/CameraType.java index 5b0206ff7..f90d1a02f 100644 --- a/photon-server/src/main/java/org/photonvision/vision/camera/CameraType.java +++ b/photon-server/src/main/java/org/photonvision/vision/camera/CameraType.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.camera; public enum CameraType { diff --git a/photon-server/src/main/java/org/photonvision/vision/camera/QuirkyCamera.java b/photon-server/src/main/java/org/photonvision/vision/camera/QuirkyCamera.java index d84a43164..89db7edc7 100644 --- a/photon-server/src/main/java/org/photonvision/vision/camera/QuirkyCamera.java +++ b/photon-server/src/main/java/org/photonvision/vision/camera/QuirkyCamera.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.camera; import java.util.ArrayList; diff --git a/photon-server/src/main/java/org/photonvision/vision/camera/USBCameraSource.java b/photon-server/src/main/java/org/photonvision/vision/camera/USBCameraSource.java index 6ec44475a..a84a18194 100644 --- a/photon-server/src/main/java/org/photonvision/vision/camera/USBCameraSource.java +++ b/photon-server/src/main/java/org/photonvision/vision/camera/USBCameraSource.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.camera; import edu.wpi.cscore.CvSink; diff --git a/photon-server/src/main/java/org/photonvision/vision/frame/Frame.java b/photon-server/src/main/java/org/photonvision/vision/frame/Frame.java index cec5e4ab9..a001c34f9 100644 --- a/photon-server/src/main/java/org/photonvision/vision/frame/Frame.java +++ b/photon-server/src/main/java/org/photonvision/vision/frame/Frame.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.frame; import org.opencv.core.Mat; diff --git a/photon-server/src/main/java/org/photonvision/vision/frame/FrameConsumer.java b/photon-server/src/main/java/org/photonvision/vision/frame/FrameConsumer.java index 31263ef8b..b8f3847fa 100644 --- a/photon-server/src/main/java/org/photonvision/vision/frame/FrameConsumer.java +++ b/photon-server/src/main/java/org/photonvision/vision/frame/FrameConsumer.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.frame; import java.util.function.Consumer; diff --git a/photon-server/src/main/java/org/photonvision/vision/frame/FrameDivisor.java b/photon-server/src/main/java/org/photonvision/vision/frame/FrameDivisor.java index 1a51ca62c..d68ccd389 100644 --- a/photon-server/src/main/java/org/photonvision/vision/frame/FrameDivisor.java +++ b/photon-server/src/main/java/org/photonvision/vision/frame/FrameDivisor.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.frame; public enum FrameDivisor { diff --git a/photon-server/src/main/java/org/photonvision/vision/frame/FrameProvider.java b/photon-server/src/main/java/org/photonvision/vision/frame/FrameProvider.java index 886423818..bd2d00e5b 100644 --- a/photon-server/src/main/java/org/photonvision/vision/frame/FrameProvider.java +++ b/photon-server/src/main/java/org/photonvision/vision/frame/FrameProvider.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.frame; import java.util.function.Supplier; diff --git a/photon-server/src/main/java/org/photonvision/vision/frame/FrameStaticProperties.java b/photon-server/src/main/java/org/photonvision/vision/frame/FrameStaticProperties.java index a01d29f49..5cb03de73 100644 --- a/photon-server/src/main/java/org/photonvision/vision/frame/FrameStaticProperties.java +++ b/photon-server/src/main/java/org/photonvision/vision/frame/FrameStaticProperties.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.frame; import edu.wpi.cscore.VideoMode; diff --git a/photon-server/src/main/java/org/photonvision/vision/frame/consumer/DummyFrameConsumer.java b/photon-server/src/main/java/org/photonvision/vision/frame/consumer/DummyFrameConsumer.java index 9fe51b1eb..652996fbd 100644 --- a/photon-server/src/main/java/org/photonvision/vision/frame/consumer/DummyFrameConsumer.java +++ b/photon-server/src/main/java/org/photonvision/vision/frame/consumer/DummyFrameConsumer.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.frame.consumer; import org.photonvision.vision.frame.Frame; diff --git a/photon-server/src/main/java/org/photonvision/vision/frame/consumer/MJPGFrameConsumer.java b/photon-server/src/main/java/org/photonvision/vision/frame/consumer/MJPGFrameConsumer.java index 93e71b658..a8ebc056f 100644 --- a/photon-server/src/main/java/org/photonvision/vision/frame/consumer/MJPGFrameConsumer.java +++ b/photon-server/src/main/java/org/photonvision/vision/frame/consumer/MJPGFrameConsumer.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.frame.consumer; import org.apache.commons.lang3.NotImplementedException; diff --git a/photon-server/src/main/java/org/photonvision/vision/frame/provider/FileFrameProvider.java b/photon-server/src/main/java/org/photonvision/vision/frame/provider/FileFrameProvider.java index 8ee04d61c..bf2434aeb 100644 --- a/photon-server/src/main/java/org/photonvision/vision/frame/provider/FileFrameProvider.java +++ b/photon-server/src/main/java/org/photonvision/vision/frame/provider/FileFrameProvider.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.frame.provider; import java.nio.file.Files; diff --git a/photon-server/src/main/java/org/photonvision/vision/frame/provider/NetworkFrameProvider.java b/photon-server/src/main/java/org/photonvision/vision/frame/provider/NetworkFrameProvider.java index 173679fb1..9b07092c3 100644 --- a/photon-server/src/main/java/org/photonvision/vision/frame/provider/NetworkFrameProvider.java +++ b/photon-server/src/main/java/org/photonvision/vision/frame/provider/NetworkFrameProvider.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.frame.provider; import org.apache.commons.lang3.NotImplementedException; diff --git a/photon-server/src/main/java/org/photonvision/vision/frame/provider/USBFrameProvider.java b/photon-server/src/main/java/org/photonvision/vision/frame/provider/USBFrameProvider.java index c30c61371..9aad235a8 100644 --- a/photon-server/src/main/java/org/photonvision/vision/frame/provider/USBFrameProvider.java +++ b/photon-server/src/main/java/org/photonvision/vision/frame/provider/USBFrameProvider.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.frame.provider; import edu.wpi.cscore.CvSink; diff --git a/photon-server/src/main/java/org/photonvision/vision/opencv/CVMat.java b/photon-server/src/main/java/org/photonvision/vision/opencv/CVMat.java index 1bf1e10e6..f625c70c4 100644 --- a/photon-server/src/main/java/org/photonvision/vision/opencv/CVMat.java +++ b/photon-server/src/main/java/org/photonvision/vision/opencv/CVMat.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.opencv; import java.util.HashSet; diff --git a/photon-server/src/main/java/org/photonvision/vision/opencv/CVShape.java b/photon-server/src/main/java/org/photonvision/vision/opencv/CVShape.java index a626766b0..dbd942317 100644 --- a/photon-server/src/main/java/org/photonvision/vision/opencv/CVShape.java +++ b/photon-server/src/main/java/org/photonvision/vision/opencv/CVShape.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.opencv; import org.opencv.core.MatOfPoint2f; diff --git a/photon-server/src/main/java/org/photonvision/vision/opencv/Contour.java b/photon-server/src/main/java/org/photonvision/vision/opencv/Contour.java index 482b213a9..c7c849b20 100644 --- a/photon-server/src/main/java/org/photonvision/vision/opencv/Contour.java +++ b/photon-server/src/main/java/org/photonvision/vision/opencv/Contour.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.opencv; import java.util.Comparator; diff --git a/photon-server/src/main/java/org/photonvision/vision/opencv/ContourGroupingMode.java b/photon-server/src/main/java/org/photonvision/vision/opencv/ContourGroupingMode.java index 2f08e1861..17e2d6035 100644 --- a/photon-server/src/main/java/org/photonvision/vision/opencv/ContourGroupingMode.java +++ b/photon-server/src/main/java/org/photonvision/vision/opencv/ContourGroupingMode.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.opencv; public enum ContourGroupingMode { diff --git a/photon-server/src/main/java/org/photonvision/vision/opencv/ContourIntersectionDirection.java b/photon-server/src/main/java/org/photonvision/vision/opencv/ContourIntersectionDirection.java index 3232c7f04..48b978ab5 100644 --- a/photon-server/src/main/java/org/photonvision/vision/opencv/ContourIntersectionDirection.java +++ b/photon-server/src/main/java/org/photonvision/vision/opencv/ContourIntersectionDirection.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.opencv; public enum ContourIntersectionDirection { diff --git a/photon-server/src/main/java/org/photonvision/vision/opencv/ContourShape.java b/photon-server/src/main/java/org/photonvision/vision/opencv/ContourShape.java index 17cbf75c2..0f433fc9a 100644 --- a/photon-server/src/main/java/org/photonvision/vision/opencv/ContourShape.java +++ b/photon-server/src/main/java/org/photonvision/vision/opencv/ContourShape.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.opencv; import java.util.EnumSet; diff --git a/photon-server/src/main/java/org/photonvision/vision/opencv/ContourSortMode.java b/photon-server/src/main/java/org/photonvision/vision/opencv/ContourSortMode.java index 8ea5bce0a..05ff804d2 100644 --- a/photon-server/src/main/java/org/photonvision/vision/opencv/ContourSortMode.java +++ b/photon-server/src/main/java/org/photonvision/vision/opencv/ContourSortMode.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.opencv; import java.util.Comparator; diff --git a/photon-server/src/main/java/org/photonvision/vision/opencv/DualMat.java b/photon-server/src/main/java/org/photonvision/vision/opencv/DualMat.java index 320e7e67d..a629d7ce7 100644 --- a/photon-server/src/main/java/org/photonvision/vision/opencv/DualMat.java +++ b/photon-server/src/main/java/org/photonvision/vision/opencv/DualMat.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.opencv; import org.opencv.core.Mat; diff --git a/photon-server/src/main/java/org/photonvision/vision/opencv/Releasable.java b/photon-server/src/main/java/org/photonvision/vision/opencv/Releasable.java index 9c9253ef4..5c959d4c8 100644 --- a/photon-server/src/main/java/org/photonvision/vision/opencv/Releasable.java +++ b/photon-server/src/main/java/org/photonvision/vision/opencv/Releasable.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.opencv; public interface Releasable { diff --git a/photon-server/src/main/java/org/photonvision/vision/pipe/CVPipe.java b/photon-server/src/main/java/org/photonvision/vision/pipe/CVPipe.java index 30185226f..ad0a56c9d 100644 --- a/photon-server/src/main/java/org/photonvision/vision/pipe/CVPipe.java +++ b/photon-server/src/main/java/org/photonvision/vision/pipe/CVPipe.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.pipe; import java.util.function.Function; diff --git a/photon-server/src/main/java/org/photonvision/vision/pipe/CVPipeResult.java b/photon-server/src/main/java/org/photonvision/vision/pipe/CVPipeResult.java index 3acfe2d19..6537e3d5e 100644 --- a/photon-server/src/main/java/org/photonvision/vision/pipe/CVPipeResult.java +++ b/photon-server/src/main/java/org/photonvision/vision/pipe/CVPipeResult.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.pipe; public class CVPipeResult { diff --git a/photon-server/src/main/java/org/photonvision/vision/pipe/ImageFlipMode.java b/photon-server/src/main/java/org/photonvision/vision/pipe/ImageFlipMode.java index e1368ba9f..1d0325e1e 100644 --- a/photon-server/src/main/java/org/photonvision/vision/pipe/ImageFlipMode.java +++ b/photon-server/src/main/java/org/photonvision/vision/pipe/ImageFlipMode.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.pipe; public enum ImageFlipMode { diff --git a/photon-server/src/main/java/org/photonvision/vision/pipe/ImageRotationMode.java b/photon-server/src/main/java/org/photonvision/vision/pipe/ImageRotationMode.java index 5bdd5180e..88c67bf8a 100644 --- a/photon-server/src/main/java/org/photonvision/vision/pipe/ImageRotationMode.java +++ b/photon-server/src/main/java/org/photonvision/vision/pipe/ImageRotationMode.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.pipe; public enum ImageRotationMode { diff --git a/photon-server/src/main/java/org/photonvision/vision/pipe/impl/BlurPipe.java b/photon-server/src/main/java/org/photonvision/vision/pipe/impl/BlurPipe.java index 776aebab4..35b2e3f83 100644 --- a/photon-server/src/main/java/org/photonvision/vision/pipe/impl/BlurPipe.java +++ b/photon-server/src/main/java/org/photonvision/vision/pipe/impl/BlurPipe.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.pipe.impl; import org.opencv.core.Mat; diff --git a/photon-server/src/main/java/org/photonvision/vision/pipe/impl/Collect2dTargetsPipe.java b/photon-server/src/main/java/org/photonvision/vision/pipe/impl/Collect2dTargetsPipe.java index 5c2ad3153..0c4340fa3 100644 --- a/photon-server/src/main/java/org/photonvision/vision/pipe/impl/Collect2dTargetsPipe.java +++ b/photon-server/src/main/java/org/photonvision/vision/pipe/impl/Collect2dTargetsPipe.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.pipe.impl; import java.util.ArrayList; diff --git a/photon-server/src/main/java/org/photonvision/vision/pipe/impl/CornerDetectionPipe.java b/photon-server/src/main/java/org/photonvision/vision/pipe/impl/CornerDetectionPipe.java index e5837f628..2a528ae27 100644 --- a/photon-server/src/main/java/org/photonvision/vision/pipe/impl/CornerDetectionPipe.java +++ b/photon-server/src/main/java/org/photonvision/vision/pipe/impl/CornerDetectionPipe.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.pipe.impl; import edu.wpi.first.wpilibj.geometry.Translation2d; diff --git a/photon-server/src/main/java/org/photonvision/vision/pipe/impl/Draw2dContoursPipe.java b/photon-server/src/main/java/org/photonvision/vision/pipe/impl/Draw2dContoursPipe.java index 3a564d7a2..8dc57431d 100644 --- a/photon-server/src/main/java/org/photonvision/vision/pipe/impl/Draw2dContoursPipe.java +++ b/photon-server/src/main/java/org/photonvision/vision/pipe/impl/Draw2dContoursPipe.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.pipe.impl; import java.awt.Color; diff --git a/photon-server/src/main/java/org/photonvision/vision/pipe/impl/Draw2dCrosshairPipe.java b/photon-server/src/main/java/org/photonvision/vision/pipe/impl/Draw2dCrosshairPipe.java index ff9577afd..d29462f13 100644 --- a/photon-server/src/main/java/org/photonvision/vision/pipe/impl/Draw2dCrosshairPipe.java +++ b/photon-server/src/main/java/org/photonvision/vision/pipe/impl/Draw2dCrosshairPipe.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.pipe.impl; import java.awt.Color; diff --git a/photon-server/src/main/java/org/photonvision/vision/pipe/impl/Draw3dTargetsPipe.java b/photon-server/src/main/java/org/photonvision/vision/pipe/impl/Draw3dTargetsPipe.java index 29f722e9d..551bd93c2 100644 --- a/photon-server/src/main/java/org/photonvision/vision/pipe/impl/Draw3dTargetsPipe.java +++ b/photon-server/src/main/java/org/photonvision/vision/pipe/impl/Draw3dTargetsPipe.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.pipe.impl; import java.awt.*; diff --git a/photon-server/src/main/java/org/photonvision/vision/pipe/impl/DrawCornerDetectionPipe.java b/photon-server/src/main/java/org/photonvision/vision/pipe/impl/DrawCornerDetectionPipe.java index c1d099ab7..47e08d899 100644 --- a/photon-server/src/main/java/org/photonvision/vision/pipe/impl/DrawCornerDetectionPipe.java +++ b/photon-server/src/main/java/org/photonvision/vision/pipe/impl/DrawCornerDetectionPipe.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.pipe.impl; import java.util.List; diff --git a/photon-server/src/main/java/org/photonvision/vision/pipe/impl/ErodeDilatePipe.java b/photon-server/src/main/java/org/photonvision/vision/pipe/impl/ErodeDilatePipe.java index 1cecb4c49..96545be21 100644 --- a/photon-server/src/main/java/org/photonvision/vision/pipe/impl/ErodeDilatePipe.java +++ b/photon-server/src/main/java/org/photonvision/vision/pipe/impl/ErodeDilatePipe.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.pipe.impl; import org.opencv.core.Mat; diff --git a/photon-server/src/main/java/org/photonvision/vision/pipe/impl/FilterContoursPipe.java b/photon-server/src/main/java/org/photonvision/vision/pipe/impl/FilterContoursPipe.java index dfb8d09e9..68f390f72 100644 --- a/photon-server/src/main/java/org/photonvision/vision/pipe/impl/FilterContoursPipe.java +++ b/photon-server/src/main/java/org/photonvision/vision/pipe/impl/FilterContoursPipe.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.pipe.impl; import java.util.ArrayList; diff --git a/photon-server/src/main/java/org/photonvision/vision/pipe/impl/FilterShapesPipe.java b/photon-server/src/main/java/org/photonvision/vision/pipe/impl/FilterShapesPipe.java index 71f167330..e3f02c903 100644 --- a/photon-server/src/main/java/org/photonvision/vision/pipe/impl/FilterShapesPipe.java +++ b/photon-server/src/main/java/org/photonvision/vision/pipe/impl/FilterShapesPipe.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.pipe.impl; import java.util.List; diff --git a/photon-server/src/main/java/org/photonvision/vision/pipe/impl/FindCirclesPipe.java b/photon-server/src/main/java/org/photonvision/vision/pipe/impl/FindCirclesPipe.java index cbce524ae..e22435e78 100644 --- a/photon-server/src/main/java/org/photonvision/vision/pipe/impl/FindCirclesPipe.java +++ b/photon-server/src/main/java/org/photonvision/vision/pipe/impl/FindCirclesPipe.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.pipe.impl; import java.util.ArrayList; diff --git a/photon-server/src/main/java/org/photonvision/vision/pipe/impl/FindContoursPipe.java b/photon-server/src/main/java/org/photonvision/vision/pipe/impl/FindContoursPipe.java index 485d3302c..7b770e7af 100644 --- a/photon-server/src/main/java/org/photonvision/vision/pipe/impl/FindContoursPipe.java +++ b/photon-server/src/main/java/org/photonvision/vision/pipe/impl/FindContoursPipe.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.pipe.impl; import java.util.ArrayList; diff --git a/photon-server/src/main/java/org/photonvision/vision/pipe/impl/FindPolygonPipe.java b/photon-server/src/main/java/org/photonvision/vision/pipe/impl/FindPolygonPipe.java index da0c463a3..c3ebfa368 100644 --- a/photon-server/src/main/java/org/photonvision/vision/pipe/impl/FindPolygonPipe.java +++ b/photon-server/src/main/java/org/photonvision/vision/pipe/impl/FindPolygonPipe.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.pipe.impl; import java.util.ArrayList; diff --git a/photon-server/src/main/java/org/photonvision/vision/pipe/impl/FindShapesPipe.java b/photon-server/src/main/java/org/photonvision/vision/pipe/impl/FindShapesPipe.java index f57fff519..0aee87190 100644 --- a/photon-server/src/main/java/org/photonvision/vision/pipe/impl/FindShapesPipe.java +++ b/photon-server/src/main/java/org/photonvision/vision/pipe/impl/FindShapesPipe.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.pipe.impl; import java.util.List; diff --git a/photon-server/src/main/java/org/photonvision/vision/pipe/impl/GroupContoursPipe.java b/photon-server/src/main/java/org/photonvision/vision/pipe/impl/GroupContoursPipe.java index 63592e4e2..f7f412edc 100644 --- a/photon-server/src/main/java/org/photonvision/vision/pipe/impl/GroupContoursPipe.java +++ b/photon-server/src/main/java/org/photonvision/vision/pipe/impl/GroupContoursPipe.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.pipe.impl; import java.util.ArrayList; diff --git a/photon-server/src/main/java/org/photonvision/vision/pipe/impl/HSVPipe.java b/photon-server/src/main/java/org/photonvision/vision/pipe/impl/HSVPipe.java index ddbfdbc94..90813cc2f 100644 --- a/photon-server/src/main/java/org/photonvision/vision/pipe/impl/HSVPipe.java +++ b/photon-server/src/main/java/org/photonvision/vision/pipe/impl/HSVPipe.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.pipe.impl; import org.opencv.core.Core; diff --git a/photon-server/src/main/java/org/photonvision/vision/pipe/impl/OutputMatPipe.java b/photon-server/src/main/java/org/photonvision/vision/pipe/impl/OutputMatPipe.java index b34758fa9..9f946a1bc 100644 --- a/photon-server/src/main/java/org/photonvision/vision/pipe/impl/OutputMatPipe.java +++ b/photon-server/src/main/java/org/photonvision/vision/pipe/impl/OutputMatPipe.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.pipe.impl; import org.opencv.core.CvException; diff --git a/photon-server/src/main/java/org/photonvision/vision/pipe/impl/ResizeImagePipe.java b/photon-server/src/main/java/org/photonvision/vision/pipe/impl/ResizeImagePipe.java index 5d64cd95c..ac57a3e04 100644 --- a/photon-server/src/main/java/org/photonvision/vision/pipe/impl/ResizeImagePipe.java +++ b/photon-server/src/main/java/org/photonvision/vision/pipe/impl/ResizeImagePipe.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.pipe.impl; import org.opencv.core.Mat; diff --git a/photon-server/src/main/java/org/photonvision/vision/pipe/impl/RotateImagePipe.java b/photon-server/src/main/java/org/photonvision/vision/pipe/impl/RotateImagePipe.java index b0545773b..521460dad 100644 --- a/photon-server/src/main/java/org/photonvision/vision/pipe/impl/RotateImagePipe.java +++ b/photon-server/src/main/java/org/photonvision/vision/pipe/impl/RotateImagePipe.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.pipe.impl; import org.opencv.core.Core; diff --git a/photon-server/src/main/java/org/photonvision/vision/pipe/impl/SolvePNPPipe.java b/photon-server/src/main/java/org/photonvision/vision/pipe/impl/SolvePNPPipe.java index ae5e9f20b..f03dc7808 100644 --- a/photon-server/src/main/java/org/photonvision/vision/pipe/impl/SolvePNPPipe.java +++ b/photon-server/src/main/java/org/photonvision/vision/pipe/impl/SolvePNPPipe.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.pipe.impl; import edu.wpi.first.wpilibj.geometry.Pose2d; diff --git a/photon-server/src/main/java/org/photonvision/vision/pipe/impl/SortContoursPipe.java b/photon-server/src/main/java/org/photonvision/vision/pipe/impl/SortContoursPipe.java index 38ed1a318..085d6fa3b 100644 --- a/photon-server/src/main/java/org/photonvision/vision/pipe/impl/SortContoursPipe.java +++ b/photon-server/src/main/java/org/photonvision/vision/pipe/impl/SortContoursPipe.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.pipe.impl; import java.util.ArrayList; diff --git a/photon-server/src/main/java/org/photonvision/vision/pipe/impl/SpeckleRejectPipe.java b/photon-server/src/main/java/org/photonvision/vision/pipe/impl/SpeckleRejectPipe.java index 822f83648..4267a177e 100644 --- a/photon-server/src/main/java/org/photonvision/vision/pipe/impl/SpeckleRejectPipe.java +++ b/photon-server/src/main/java/org/photonvision/vision/pipe/impl/SpeckleRejectPipe.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.pipe.impl; import java.util.ArrayList; diff --git a/photon-server/src/main/java/org/photonvision/vision/pipeline/AdvancedPipelineSettings.java b/photon-server/src/main/java/org/photonvision/vision/pipeline/AdvancedPipelineSettings.java index d8be9d131..5e0f04df4 100644 --- a/photon-server/src/main/java/org/photonvision/vision/pipeline/AdvancedPipelineSettings.java +++ b/photon-server/src/main/java/org/photonvision/vision/pipeline/AdvancedPipelineSettings.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.pipeline; import java.util.Objects; diff --git a/photon-server/src/main/java/org/photonvision/vision/pipeline/CVPipeline.java b/photon-server/src/main/java/org/photonvision/vision/pipeline/CVPipeline.java index defcedcd2..eb5dd4fa6 100644 --- a/photon-server/src/main/java/org/photonvision/vision/pipeline/CVPipeline.java +++ b/photon-server/src/main/java/org/photonvision/vision/pipeline/CVPipeline.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.pipeline; import org.photonvision.common.util.math.MathUtils; diff --git a/photon-server/src/main/java/org/photonvision/vision/pipeline/CVPipelineResult.java b/photon-server/src/main/java/org/photonvision/vision/pipeline/CVPipelineResult.java index 2844f72ef..34576bc5a 100644 --- a/photon-server/src/main/java/org/photonvision/vision/pipeline/CVPipelineResult.java +++ b/photon-server/src/main/java/org/photonvision/vision/pipeline/CVPipelineResult.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.pipeline; import java.util.List; diff --git a/photon-server/src/main/java/org/photonvision/vision/pipeline/CVPipelineSettings.java b/photon-server/src/main/java/org/photonvision/vision/pipeline/CVPipelineSettings.java index 8bcb77054..e1e324e01 100644 --- a/photon-server/src/main/java/org/photonvision/vision/pipeline/CVPipelineSettings.java +++ b/photon-server/src/main/java/org/photonvision/vision/pipeline/CVPipelineSettings.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.pipeline; import com.fasterxml.jackson.annotation.JsonSubTypes; diff --git a/photon-server/src/main/java/org/photonvision/vision/pipeline/Calibration3dPipeline.java b/photon-server/src/main/java/org/photonvision/vision/pipeline/Calibration3dPipeline.java index a9d3d2cf5..693393d8a 100644 --- a/photon-server/src/main/java/org/photonvision/vision/pipeline/Calibration3dPipeline.java +++ b/photon-server/src/main/java/org/photonvision/vision/pipeline/Calibration3dPipeline.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.pipeline; import org.photonvision.vision.frame.Frame; diff --git a/photon-server/src/main/java/org/photonvision/vision/pipeline/ColoredShapePipeline.java b/photon-server/src/main/java/org/photonvision/vision/pipeline/ColoredShapePipeline.java index a64b25080..1b9107ff4 100644 --- a/photon-server/src/main/java/org/photonvision/vision/pipeline/ColoredShapePipeline.java +++ b/photon-server/src/main/java/org/photonvision/vision/pipeline/ColoredShapePipeline.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.pipeline; import java.util.Arrays; diff --git a/photon-server/src/main/java/org/photonvision/vision/pipeline/ColoredShapePipelineSettings.java b/photon-server/src/main/java/org/photonvision/vision/pipeline/ColoredShapePipelineSettings.java index 2cd1fa263..482a4b1ce 100644 --- a/photon-server/src/main/java/org/photonvision/vision/pipeline/ColoredShapePipelineSettings.java +++ b/photon-server/src/main/java/org/photonvision/vision/pipeline/ColoredShapePipelineSettings.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.pipeline; import com.fasterxml.jackson.annotation.JsonTypeName; diff --git a/photon-server/src/main/java/org/photonvision/vision/pipeline/DriverModePipeline.java b/photon-server/src/main/java/org/photonvision/vision/pipeline/DriverModePipeline.java index 10c2a2399..cafd4a282 100644 --- a/photon-server/src/main/java/org/photonvision/vision/pipeline/DriverModePipeline.java +++ b/photon-server/src/main/java/org/photonvision/vision/pipeline/DriverModePipeline.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.pipeline; import java.util.List; diff --git a/photon-server/src/main/java/org/photonvision/vision/pipeline/DriverModePipelineResult.java b/photon-server/src/main/java/org/photonvision/vision/pipeline/DriverModePipelineResult.java index 9f829f65d..bf6469bbc 100644 --- a/photon-server/src/main/java/org/photonvision/vision/pipeline/DriverModePipelineResult.java +++ b/photon-server/src/main/java/org/photonvision/vision/pipeline/DriverModePipelineResult.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.pipeline; import java.util.List; diff --git a/photon-server/src/main/java/org/photonvision/vision/pipeline/DriverModePipelineSettings.java b/photon-server/src/main/java/org/photonvision/vision/pipeline/DriverModePipelineSettings.java index 7b3176cf1..3a984c058 100644 --- a/photon-server/src/main/java/org/photonvision/vision/pipeline/DriverModePipelineSettings.java +++ b/photon-server/src/main/java/org/photonvision/vision/pipeline/DriverModePipelineSettings.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.pipeline; import com.fasterxml.jackson.annotation.JsonTypeName; diff --git a/photon-server/src/main/java/org/photonvision/vision/pipeline/PipelineType.java b/photon-server/src/main/java/org/photonvision/vision/pipeline/PipelineType.java index d1f2e57f2..4e741fd1e 100644 --- a/photon-server/src/main/java/org/photonvision/vision/pipeline/PipelineType.java +++ b/photon-server/src/main/java/org/photonvision/vision/pipeline/PipelineType.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.pipeline; @SuppressWarnings("rawtypes") diff --git a/photon-server/src/main/java/org/photonvision/vision/pipeline/ReflectivePipeline.java b/photon-server/src/main/java/org/photonvision/vision/pipeline/ReflectivePipeline.java index a5756dd0f..ffd9928f4 100644 --- a/photon-server/src/main/java/org/photonvision/vision/pipeline/ReflectivePipeline.java +++ b/photon-server/src/main/java/org/photonvision/vision/pipeline/ReflectivePipeline.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.pipeline; import java.util.List; diff --git a/photon-server/src/main/java/org/photonvision/vision/pipeline/ReflectivePipelineSettings.java b/photon-server/src/main/java/org/photonvision/vision/pipeline/ReflectivePipelineSettings.java index d1988cb4c..9c1b12f19 100644 --- a/photon-server/src/main/java/org/photonvision/vision/pipeline/ReflectivePipelineSettings.java +++ b/photon-server/src/main/java/org/photonvision/vision/pipeline/ReflectivePipelineSettings.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.pipeline; import com.fasterxml.jackson.annotation.JsonTypeName; diff --git a/photon-server/src/main/java/org/photonvision/vision/processes/Data.java b/photon-server/src/main/java/org/photonvision/vision/processes/Data.java index 2b9de7405..392e58389 100644 --- a/photon-server/src/main/java/org/photonvision/vision/processes/Data.java +++ b/photon-server/src/main/java/org/photonvision/vision/processes/Data.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.processes; import org.photonvision.vision.pipeline.CVPipelineResult; diff --git a/photon-server/src/main/java/org/photonvision/vision/processes/PipelineManager.java b/photon-server/src/main/java/org/photonvision/vision/processes/PipelineManager.java index c08ccdb9d..12d3eda39 100644 --- a/photon-server/src/main/java/org/photonvision/vision/processes/PipelineManager.java +++ b/photon-server/src/main/java/org/photonvision/vision/processes/PipelineManager.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.processes; import java.util.Comparator; diff --git a/photon-server/src/main/java/org/photonvision/vision/processes/VisionModule.java b/photon-server/src/main/java/org/photonvision/vision/processes/VisionModule.java index 765266b8a..9a3cd6444 100644 --- a/photon-server/src/main/java/org/photonvision/vision/processes/VisionModule.java +++ b/photon-server/src/main/java/org/photonvision/vision/processes/VisionModule.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.processes; import java.util.LinkedList; diff --git a/photon-server/src/main/java/org/photonvision/vision/processes/VisionModuleManager.java b/photon-server/src/main/java/org/photonvision/vision/processes/VisionModuleManager.java index a05a93a50..ea53c740b 100644 --- a/photon-server/src/main/java/org/photonvision/vision/processes/VisionModuleManager.java +++ b/photon-server/src/main/java/org/photonvision/vision/processes/VisionModuleManager.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.processes; import java.util.ArrayList; diff --git a/photon-server/src/main/java/org/photonvision/vision/processes/VisionRunner.java b/photon-server/src/main/java/org/photonvision/vision/processes/VisionRunner.java index 73aa646cd..0b459dad9 100644 --- a/photon-server/src/main/java/org/photonvision/vision/processes/VisionRunner.java +++ b/photon-server/src/main/java/org/photonvision/vision/processes/VisionRunner.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.processes; import java.util.function.Consumer; diff --git a/photon-server/src/main/java/org/photonvision/vision/processes/VisionSource.java b/photon-server/src/main/java/org/photonvision/vision/processes/VisionSource.java index 9530c84fc..83a4414c5 100644 --- a/photon-server/src/main/java/org/photonvision/vision/processes/VisionSource.java +++ b/photon-server/src/main/java/org/photonvision/vision/processes/VisionSource.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.processes; import org.photonvision.vision.frame.FrameProvider; diff --git a/photon-server/src/main/java/org/photonvision/vision/processes/VisionSourceManager.java b/photon-server/src/main/java/org/photonvision/vision/processes/VisionSourceManager.java index ff67a21dc..83b4ba75c 100644 --- a/photon-server/src/main/java/org/photonvision/vision/processes/VisionSourceManager.java +++ b/photon-server/src/main/java/org/photonvision/vision/processes/VisionSourceManager.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.processes; import edu.wpi.cscore.UsbCamera; diff --git a/photon-server/src/main/java/org/photonvision/vision/processes/VisionSourceSettables.java b/photon-server/src/main/java/org/photonvision/vision/processes/VisionSourceSettables.java index 2c0257e24..f091e08de 100644 --- a/photon-server/src/main/java/org/photonvision/vision/processes/VisionSourceSettables.java +++ b/photon-server/src/main/java/org/photonvision/vision/processes/VisionSourceSettables.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.processes; import edu.wpi.cscore.VideoMode; diff --git a/photon-server/src/main/java/org/photonvision/vision/target/PotentialTarget.java b/photon-server/src/main/java/org/photonvision/vision/target/PotentialTarget.java index 4c1993367..e4949110c 100644 --- a/photon-server/src/main/java/org/photonvision/vision/target/PotentialTarget.java +++ b/photon-server/src/main/java/org/photonvision/vision/target/PotentialTarget.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.target; import java.util.ArrayList; diff --git a/photon-server/src/main/java/org/photonvision/vision/target/RobotOffsetPointMode.java b/photon-server/src/main/java/org/photonvision/vision/target/RobotOffsetPointMode.java index b5f8dad26..53b978a5c 100644 --- a/photon-server/src/main/java/org/photonvision/vision/target/RobotOffsetPointMode.java +++ b/photon-server/src/main/java/org/photonvision/vision/target/RobotOffsetPointMode.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.target; public enum RobotOffsetPointMode { diff --git a/photon-server/src/main/java/org/photonvision/vision/target/TargetCalculations.java b/photon-server/src/main/java/org/photonvision/vision/target/TargetCalculations.java index 9810f27a1..d6a89b2c8 100644 --- a/photon-server/src/main/java/org/photonvision/vision/target/TargetCalculations.java +++ b/photon-server/src/main/java/org/photonvision/vision/target/TargetCalculations.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.target; import org.apache.commons.math3.util.FastMath; diff --git a/photon-server/src/main/java/org/photonvision/vision/target/TargetModel.java b/photon-server/src/main/java/org/photonvision/vision/target/TargetModel.java index 3359f6f0b..44202d0d6 100644 --- a/photon-server/src/main/java/org/photonvision/vision/target/TargetModel.java +++ b/photon-server/src/main/java/org/photonvision/vision/target/TargetModel.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.target; import com.fasterxml.jackson.annotation.JsonCreator; diff --git a/photon-server/src/main/java/org/photonvision/vision/target/TargetOffsetPointEdge.java b/photon-server/src/main/java/org/photonvision/vision/target/TargetOffsetPointEdge.java index 1ee991b89..b4d369632 100644 --- a/photon-server/src/main/java/org/photonvision/vision/target/TargetOffsetPointEdge.java +++ b/photon-server/src/main/java/org/photonvision/vision/target/TargetOffsetPointEdge.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.target; public enum TargetOffsetPointEdge { diff --git a/photon-server/src/main/java/org/photonvision/vision/target/TargetOrientation.java b/photon-server/src/main/java/org/photonvision/vision/target/TargetOrientation.java index 180116b66..e28e8e0a1 100644 --- a/photon-server/src/main/java/org/photonvision/vision/target/TargetOrientation.java +++ b/photon-server/src/main/java/org/photonvision/vision/target/TargetOrientation.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.target; public enum TargetOrientation { diff --git a/photon-server/src/main/java/org/photonvision/vision/target/TrackedTarget.java b/photon-server/src/main/java/org/photonvision/vision/target/TrackedTarget.java index b3cb8fcef..e58428ee6 100644 --- a/photon-server/src/main/java/org/photonvision/vision/target/TrackedTarget.java +++ b/photon-server/src/main/java/org/photonvision/vision/target/TrackedTarget.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.target; import edu.wpi.first.wpilibj.geometry.Pose2d; diff --git a/photon-server/src/test/java/org/photonvision/common/BenchmarkTest.java b/photon-server/src/test/java/org/photonvision/common/BenchmarkTest.java index 5618c5916..e090ef7d5 100644 --- a/photon-server/src/test/java/org/photonvision/common/BenchmarkTest.java +++ b/photon-server/src/test/java/org/photonvision/common/BenchmarkTest.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.common; import java.util.ArrayList; diff --git a/photon-server/src/test/java/org/photonvision/common/configuration/ConfigTest.java b/photon-server/src/test/java/org/photonvision/common/configuration/ConfigTest.java index ea5573f82..93a60470f 100644 --- a/photon-server/src/test/java/org/photonvision/common/configuration/ConfigTest.java +++ b/photon-server/src/test/java/org/photonvision/common/configuration/ConfigTest.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.common.configuration; import java.io.File; diff --git a/photon-server/src/test/java/org/photonvision/vision/QuirkyCameraTest.java b/photon-server/src/test/java/org/photonvision/vision/QuirkyCameraTest.java index f3d460bbf..6261b75ef 100644 --- a/photon-server/src/test/java/org/photonvision/vision/QuirkyCameraTest.java +++ b/photon-server/src/test/java/org/photonvision/vision/QuirkyCameraTest.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision; import java.util.ArrayList; diff --git a/photon-server/src/test/java/org/photonvision/vision/frame/provider/FileFrameProviderTest.java b/photon-server/src/test/java/org/photonvision/vision/frame/provider/FileFrameProviderTest.java index c9aa58ca6..a57effd43 100644 --- a/photon-server/src/test/java/org/photonvision/vision/frame/provider/FileFrameProviderTest.java +++ b/photon-server/src/test/java/org/photonvision/vision/frame/provider/FileFrameProviderTest.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.frame.provider; import static org.junit.jupiter.api.Assertions.*; diff --git a/photon-server/src/test/java/org/photonvision/vision/opencv/ContourTest.java b/photon-server/src/test/java/org/photonvision/vision/opencv/ContourTest.java index b0fff50de..5b62be81c 100644 --- a/photon-server/src/test/java/org/photonvision/vision/opencv/ContourTest.java +++ b/photon-server/src/test/java/org/photonvision/vision/opencv/ContourTest.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.opencv; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/photon-server/src/test/java/org/photonvision/vision/pipeline/CirclePNPTest.java b/photon-server/src/test/java/org/photonvision/vision/pipeline/CirclePNPTest.java index eab236c54..4765885e3 100644 --- a/photon-server/src/test/java/org/photonvision/vision/pipeline/CirclePNPTest.java +++ b/photon-server/src/test/java/org/photonvision/vision/pipeline/CirclePNPTest.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.pipeline; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/photon-server/src/test/java/org/photonvision/vision/pipeline/ColoredShapePipelineTest.java b/photon-server/src/test/java/org/photonvision/vision/pipeline/ColoredShapePipelineTest.java index f9fa3a460..a95e5cc77 100644 --- a/photon-server/src/test/java/org/photonvision/vision/pipeline/ColoredShapePipelineTest.java +++ b/photon-server/src/test/java/org/photonvision/vision/pipeline/ColoredShapePipelineTest.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.pipeline; import org.junit.jupiter.api.Test; diff --git a/photon-server/src/test/java/org/photonvision/vision/pipeline/ReflectivePipelineTest.java b/photon-server/src/test/java/org/photonvision/vision/pipeline/ReflectivePipelineTest.java index fd537c098..83ac52513 100644 --- a/photon-server/src/test/java/org/photonvision/vision/pipeline/ReflectivePipelineTest.java +++ b/photon-server/src/test/java/org/photonvision/vision/pipeline/ReflectivePipelineTest.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.pipeline; import org.junit.jupiter.api.Assertions; diff --git a/photon-server/src/test/java/org/photonvision/vision/pipeline/SolvePNPTest.java b/photon-server/src/test/java/org/photonvision/vision/pipeline/SolvePNPTest.java index 7cd4f94cd..d586e8667 100644 --- a/photon-server/src/test/java/org/photonvision/vision/pipeline/SolvePNPTest.java +++ b/photon-server/src/test/java/org/photonvision/vision/pipeline/SolvePNPTest.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.pipeline; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/photon-server/src/test/java/org/photonvision/vision/processes/VisionModuleManagerTest.java b/photon-server/src/test/java/org/photonvision/vision/processes/VisionModuleManagerTest.java index 3e9b79fa4..d3d58be0f 100644 --- a/photon-server/src/test/java/org/photonvision/vision/processes/VisionModuleManagerTest.java +++ b/photon-server/src/test/java/org/photonvision/vision/processes/VisionModuleManagerTest.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.processes; import edu.wpi.cscore.VideoMode; diff --git a/photon-server/src/test/java/org/photonvision/vision/processes/VisionSourceManagerTest.java b/photon-server/src/test/java/org/photonvision/vision/processes/VisionSourceManagerTest.java index a12c5fbee..408af6a45 100644 --- a/photon-server/src/test/java/org/photonvision/vision/processes/VisionSourceManagerTest.java +++ b/photon-server/src/test/java/org/photonvision/vision/processes/VisionSourceManagerTest.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.processes; import edu.wpi.cscore.UsbCameraInfo; diff --git a/photon-server/src/test/java/org/photonvision/vision/target/TargetCalculationsTest.java b/photon-server/src/test/java/org/photonvision/vision/target/TargetCalculationsTest.java index c4baa6a43..0478456e0 100644 --- a/photon-server/src/test/java/org/photonvision/vision/target/TargetCalculationsTest.java +++ b/photon-server/src/test/java/org/photonvision/vision/target/TargetCalculationsTest.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.target; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/photon-server/src/test/java/org/photonvision/vision/target/TrackedTargetTest.java b/photon-server/src/test/java/org/photonvision/vision/target/TrackedTargetTest.java index 9d41980bc..8317156c4 100644 --- a/photon-server/src/test/java/org/photonvision/vision/target/TrackedTargetTest.java +++ b/photon-server/src/test/java/org/photonvision/vision/target/TrackedTargetTest.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 Photon Vision. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.photonvision.vision.target; import static org.junit.jupiter.api.Assertions.assertEquals;