mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-19 00:41:41 +00:00
Upgrade to wpilib alpha-6 (#2434)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Ryanforce08 <rradtke1208@gmail.com> Co-authored-by: PJ Reiniger <pj.reiniger@gmail.com> Co-authored-by: Jade Turner <spacey-sooty@proton.me> Co-authored-by: Matt Morley <matthew.morley.ca@gmail.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
plugins {
|
||||
id "cpp"
|
||||
id "google-test-test-suite"
|
||||
id "edu.wpi.first.GradleRIO2027" version "2027.0.0-alpha-2"
|
||||
id "org.wpilib.GradleRIO" version "2027.0.0-alpha-6"
|
||||
}
|
||||
|
||||
repositories {
|
||||
@@ -11,7 +11,7 @@ repositories {
|
||||
|
||||
wpi.maven.useLocal = false
|
||||
wpi.maven.useDevelopment = false
|
||||
wpi.versions.wpilibVersion = "2027.0.0-alpha-4"
|
||||
wpi.versions.wpilibVersion = "2027.0.0-alpha-6"
|
||||
|
||||
// Define my targets (SystemCore) and artifacts (deployable files)
|
||||
// This is added by GradleRIO's backing project DeployUtils.
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
#include <frc/ADXRS450_Gyro.h>
|
||||
#include <frc/SPI.h>
|
||||
#include <frc/simulation/ADXRS450_GyroSim.h>
|
||||
#include <frc/simulation/OnboardIMUSim.h>
|
||||
#include <wpi/math/estimator/SwerveDrivePoseEstimator.hpp>
|
||||
#include <wpi/math/kinematics/wpi/math/kinematics/SwerveDriveKinematics.hpppp>
|
||||
|
||||
@@ -75,7 +75,7 @@ class SwerveDrive {
|
||||
wpi::math::SwerveDrivePoseEstimator<4> poseEstimator;
|
||||
wpi::math::ChassisSpeeds targetChassisSpeeds{};
|
||||
|
||||
wpi::sim::ADXRS450_GyroSim gyroSim;
|
||||
wpi::sim::OnboardIMUSim gyroSim;
|
||||
SwerveDriveSim swerveDriveSim;
|
||||
wpi::units::ampere_t totalCurrentDraw{0};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user