mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-19 00:41:41 +00:00
Bump wpilib versions to 2024 beta 1 (#947)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
plugins {
|
||||
id "cpp"
|
||||
id "google-test-test-suite"
|
||||
id "edu.wpi.first.GradleRIO" version "2023.4.2"
|
||||
id "edu.wpi.first.GradleRIO" version "2024.1.1-beta-1"
|
||||
|
||||
id "com.dorongold.task-tree" version "2.1.0"
|
||||
}
|
||||
|
||||
3
photonlib-cpp-examples/getinrange/gradlew
vendored
3
photonlib-cpp-examples/getinrange/gradlew
vendored
@@ -80,7 +80,8 @@ do
|
||||
esac
|
||||
done
|
||||
|
||||
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
|
||||
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
|
||||
APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
|
||||
|
||||
APP_NAME="Gradle"
|
||||
APP_BASE_NAME=${0##*/}
|
||||
|
||||
@@ -7,7 +7,7 @@ pluginManagement {
|
||||
mavenLocal()
|
||||
jcenter()
|
||||
gradlePluginPortal()
|
||||
String frcYear = '2023'
|
||||
String frcYear = '2024'
|
||||
File frcHome
|
||||
if (OperatingSystem.current().isWindows()) {
|
||||
String publicFolder = System.getenv('PUBLIC')
|
||||
|
||||
@@ -53,7 +53,7 @@ class Robot : public frc::TimedRobot {
|
||||
// PID constants should be tuned per robot
|
||||
const double P_GAIN = 0.1;
|
||||
const double D_GAIN = 0.0;
|
||||
frc2::PIDController controller{P_GAIN, 0.0, D_GAIN};
|
||||
frc::PIDController controller{P_GAIN, 0.0, D_GAIN};
|
||||
|
||||
// Change this to match the name of your camera
|
||||
photonlib::PhotonCamera camera{"photonvision"};
|
||||
|
||||
Reference in New Issue
Block a user