Conversation
Member
Author
|
@CoolSpy3 could you review pls |
Contributor
There was a problem hiding this comment.
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()tosetSetpoint()and updated related imports - Replaced deprecated
Command.schedule()withCommandScheduler.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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is just doing the update script, updating vendordeps and changing the deprecated revlib methods with the new ones