Skip to content

Conversation

@timtogan
Copy link
Member

This is just doing the update script, updating vendordeps and changing the deprecated revlib methods with the new ones

Copilot AI review requested due to automatic review settings January 18, 2026 01:45
@timtogan timtogan requested a review from a team as a code owner January 18, 2026 01:45
@timtogan
Copy link
Member Author

@CoolSpy3 could you review pls

@timtogan timtogan requested a review from CoolSpy3 January 18, 2026 01:47
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request updates the codebase from the 2025 to 2026 FRC season by running the WPILib update script, updating all vendor dependencies to their 2026 versions, and migrating deprecated REVLib and WPILib API methods to their new equivalents.

Changes:

  • Updated all vendor dependency files (vendordeps) to 2026 versions
  • Migrated REVLib API calls from deprecated setReference() to setSetpoint() and updated related imports
  • Replaced deprecated Command.schedule() with CommandScheduler.getInstance().schedule() in tests
  • Removed deprecated REVLib control types (kSmartMotion, kSmartVelocity) from mock implementations
  • Updated build configuration and WPILib settings to 2026

Reviewed changes

Copilot reviewed 15 out of 16 changed files in this pull request and generated no comments.

Show a summary per file
File Description
vendordeps/playingwithfusion2026.json Updated to version 2026.1.16 with 2026 FRC year and removed windowsx86 platform support
vendordeps/WPILibNewCommands.json Updated frcYear to 2026
vendordeps/Studica.json Updated to version 2026.0.0 with restructured dependencies and updated Maven URLs
vendordeps/REVLib.json Updated to version 2026.0.1 with new backend driver dependencies
vendordeps/Phoenix6-26.1.0.json Updated to version 26.1.0, removed deprecated simCANCoder dependency
vendordeps/Phoenix5-5.36.0.json Updated to version 5.36.0 with 2026 FRC year
vendordeps/PathplannerLib-2026.1.2.json Updated to version 2026.1.2 with 2026 FRC year
src/test/java/org/carlmontrobotics/lib199/safeMode/SafeModeCommandsTest.java Replaced deprecated Command.schedule() with CommandScheduler.getInstance().schedule()
src/main/java/org/carlmontrobotics/lib199/swerve/SwerveModule.java Updated imports for PersistMode and ResetMode from SparkBase nested classes to top-level package
src/main/java/org/carlmontrobotics/lib199/sim/MockedSparkClosedLoopController.java Removed deprecated kSmartMotion and kSmartVelocity control type handling
src/main/java/org/carlmontrobotics/lib199/SparkVelocityPIDController.java Migrated from setReference() to setSetpoint() and updated imports
src/main/java/org/carlmontrobotics/lib199/MotorErrors.java Updated imports for PersistMode and ResetMode
src/main/java/org/carlmontrobotics/lib199/MotorControllerFactory.java Updated imports for PersistMode and ResetMode
settings.gradle Updated frcYear from 2025 to 2026
build.gradle Updated GradleRIO plugin version to 2026.2.1
.wpilib/wpilib_preferences.json Updated projectYear to 2026

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Member

@CoolSpy3 CoolSpy3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Such fast 🚀

@timtogan timtogan merged commit f30d84c into master Jan 18, 2026
9 checks passed
@timtogan timtogan deleted the 2026 branch January 18, 2026 07:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants