Skip to content
This repository was archived by the owner on Jan 17, 2025. It is now read-only.
This repository was archived by the owner on Jan 17, 2025. It is now read-only.

Phoenix 5 API has been deprecated #21

@J-The-Fox

Description

@J-The-Fox

Overview

As of the latest update of Phoenix5 (5.32.0-beta-3), parts of the Phoenix 5 API has been deprecated and is scheduled for removal for the 2025 release. For us, this includes the CANCoder (com.ctre.phoenix.sensors.CANCoder) and TalonFX (com.ctre.phoenix.motorcontrol.can.TalonFX) classes.

There are 2 options we can do

First Option:

We can just leave it be for this season as it won't go into effect until next season. This would, of course, be the easiest of the options as this isn't scheduled for removal until the 2024-2025 season

Second Option:

Migrate all of our code to use the new Phoenix 6 API. This would be more work in the start but once it's complete we wouldn't have to change it again until the next major release of the Phoenix API. This is my preferred method as this will give us the knowledge of this new API while also having it be an easy start for the next season as we won't have to figure out how to migrate about-to-be-removed API code. There is a migration post here to help make the migration a little easier.

I personally prefer that we plan to update to the new Phoenix 6 API but that can be up for discussion here, let me know your thoughts on the matter

Metadata

Metadata

Labels

WPILibIssue relating to WPILibgood first issueGood for newcomersjavaIssue relating to Java

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions