Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
id "cpp"
id "com.diffplug.spotless" version "6.24.0"
id "edu.wpi.first.wpilib.repositories.WPILibRepositoriesPlugin" version "2020.2"
id "edu.wpi.first.GradleRIO" version "2025.2.1"
id "edu.wpi.first.GradleRIO" version "2025.3.1"
id 'edu.wpi.first.WpilibTools' version '1.3.0'
id 'com.google.protobuf' version '0.9.3' apply false
id 'edu.wpi.first.GradleJni' version '1.1.0'
Expand Down Expand Up @@ -33,7 +33,7 @@ ext.allOutputsFolder = file("$project.buildDir/outputs")
apply from: "versioningHelper.gradle"

ext {
wpilibVersion = "2025.2.1"
wpilibVersion = "2025.3.1"
wpimathVersion = wpilibVersion
openCVYear = "2025"
openCVversion = "4.10.0-3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Bonjour provides more stable networking when using Windows PCs. Install [Bonjour

## Installing Java

PhotonVision requires a JDK installed and on the system path. **JDK 17 is needed. Windows Users must use the JDK that ships with WPILib.** [Download and install it from here.](https://github.com/wpilibsuite/allwpilib/releases/tag/v2025.2.1) Either ensure the only Java on your PATH is the WPILIB Java or specify it to gradle with `-Dorg.gradle.java.home=C:\Users\Public\wpilib\2025\jdk`:
PhotonVision requires a JDK installed and on the system path. **JDK 17 is needed. Windows Users must use the JDK that ships with WPILib.** [Download and install it from here.](https://github.com/wpilibsuite/allwpilib/releases/tag/v2025.3.1) Either ensure the only Java on your PATH is the WPILIB Java or specify it to gradle with `-Dorg.gradle.java.home=C:\Users\Public\wpilib\2025\jdk`:

```
> ./gradlew run "-Dorg.gradle.java.home=C:\Users\Public\wpilib\2025\jdk"
Expand Down
10 changes: 5 additions & 5 deletions photon-lib/py/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@
version=versionString,
install_requires=[
"numpy~=2.1",
"wpilib<2026,>=2025.2.1",
"robotpy-wpimath<2026,>=2025.2.1",
"robotpy-apriltag<2026,>=2025.2.1",
"robotpy-cscore<2026,>=2025.2.1",
"pyntcore<2026,>=2025.2.1",
"wpilib<2026,>=2025.3.1",
"robotpy-wpimath<2026,>=2025.3.1",
"robotpy-apriltag<2026,>=2025.3.1",
"robotpy-cscore<2026,>=2025.3.1",
"pyntcore<2026,>=2025.3.1",
"opencv-python;platform_machine!='roborio'",
],
description=descriptionStr,
Expand Down
6 changes: 3 additions & 3 deletions photonlib-cpp-examples/aimandrange/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
id "cpp"
id "google-test-test-suite"
id "edu.wpi.first.GradleRIO" version "2025.2.1"
id "edu.wpi.first.GradleRIO" version "2025.3.1"
}

repositories {
Expand All @@ -11,8 +11,8 @@ repositories {

wpi.maven.useLocal = false
wpi.maven.useDevelopment = false
wpi.versions.wpilibVersion = "2025.2.1"
wpi.versions.wpimathVersion = "2025.2.1"
wpi.versions.wpilibVersion = "2025.3.1"
wpi.versions.wpimathVersion = "2025.3.1"

// Define my targets (RoboRIO) and artifacts (deployable files)
// This is added by GradleRIO's backing project DeployUtils.
Expand Down
6 changes: 3 additions & 3 deletions photonlib-cpp-examples/aimattarget/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
id "cpp"
id "google-test-test-suite"
id "edu.wpi.first.GradleRIO" version "2025.2.1"
id "edu.wpi.first.GradleRIO" version "2025.3.1"
}

repositories {
Expand All @@ -11,8 +11,8 @@ repositories {

wpi.maven.useLocal = false
wpi.maven.useDevelopment = false
wpi.versions.wpilibVersion = "2025.2.1"
wpi.versions.wpimathVersion = "2025.2.1"
wpi.versions.wpilibVersion = "2025.3.1"
wpi.versions.wpimathVersion = "2025.3.1"

// Define my targets (RoboRIO) and artifacts (deployable files)
// This is added by GradleRIO's backing project DeployUtils.
Expand Down
6 changes: 3 additions & 3 deletions photonlib-cpp-examples/poseest/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
id "cpp"
id "google-test-test-suite"
id "edu.wpi.first.GradleRIO" version "2025.2.1"
id "edu.wpi.first.GradleRIO" version "2025.3.1"
}

repositories {
Expand All @@ -11,8 +11,8 @@ repositories {

wpi.maven.useLocal = false
wpi.maven.useDevelopment = false
wpi.versions.wpilibVersion = "2025.2.1"
wpi.versions.wpimathVersion = "2025.2.1"
wpi.versions.wpilibVersion = "2025.3.1"
wpi.versions.wpimathVersion = "2025.3.1"

// Define my targets (RoboRIO) and artifacts (deployable files)
// This is added by GradleRIO's backing project DeployUtils.
Expand Down
6 changes: 3 additions & 3 deletions photonlib-java-examples/aimandrange/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id "java"
id "edu.wpi.first.GradleRIO" version "2025.2.1"
id "edu.wpi.first.GradleRIO" version "2025.3.1"
}

sourceCompatibility = JavaVersion.VERSION_17
Expand All @@ -13,8 +13,8 @@ repositories {
}

wpi.maven.useDevelopment = true
wpi.versions.wpilibVersion = "2025.2.1"
wpi.versions.wpimathVersion = "2025.2.1"
wpi.versions.wpilibVersion = "2025.3.1"
wpi.versions.wpimathVersion = "2025.3.1"


// Define my targets (RoboRIO) and artifacts (deployable files)
Expand Down
6 changes: 3 additions & 3 deletions photonlib-java-examples/aimattarget/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id "java"
id "edu.wpi.first.GradleRIO" version "2025.2.1"
id "edu.wpi.first.GradleRIO" version "2025.3.1"
}

sourceCompatibility = JavaVersion.VERSION_17
Expand All @@ -9,8 +9,8 @@ targetCompatibility = JavaVersion.VERSION_17
def ROBOT_MAIN_CLASS = "frc.robot.Main"

wpi.maven.useDevelopment = true
wpi.versions.wpilibVersion = "2025.2.1"
wpi.versions.wpimathVersion = "2025.2.1"
wpi.versions.wpilibVersion = "2025.3.1"
wpi.versions.wpimathVersion = "2025.3.1"


// Define my targets (RoboRIO) and artifacts (deployable files)
Expand Down
6 changes: 3 additions & 3 deletions photonlib-java-examples/poseest/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id "java"
id "edu.wpi.first.GradleRIO" version "2025.2.1"
id "edu.wpi.first.GradleRIO" version "2025.3.1"
}

sourceCompatibility = JavaVersion.VERSION_17
Expand All @@ -9,8 +9,8 @@ targetCompatibility = JavaVersion.VERSION_17
def ROBOT_MAIN_CLASS = "frc.robot.Main"

wpi.maven.useDevelopment = true
wpi.versions.wpilibVersion = "2025.2.1"
wpi.versions.wpimathVersion = "2025.2.1"
wpi.versions.wpilibVersion = "2025.3.1"
wpi.versions.wpimathVersion = "2025.3.1"


// Define my targets (RoboRIO) and artifacts (deployable files)
Expand Down
2 changes: 1 addition & 1 deletion photonlib-python-examples/aimandrange/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[tool.robotpy]

# Version of robotpy this project depends on
robotpy_version = "2025.2.1"
robotpy_version = "2025.3.1"

# Which extra RobotPy components should be installed
# -> equivalent to `pip install robotpy[extra1, ...]
Expand Down
2 changes: 1 addition & 1 deletion photonlib-python-examples/aimattarget/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[tool.robotpy]

# Version of robotpy this project depends on
robotpy_version = "2025.2.1"
robotpy_version = "2025.3.1"

# Which extra RobotPy components should be installed
# -> equivalent to `pip install robotpy[extra1, ...]
Expand Down
2 changes: 1 addition & 1 deletion photonlib-python-examples/poseest/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[tool.robotpy]

# Version of robotpy this project depends on
robotpy_version = "2025.2.1"
robotpy_version = "2025.3.1"

# Which extra RobotPy components should be installed
# -> equivalent to `pip install robotpy[extra1, ...]
Expand Down
Loading