Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wpilib] Deprecate MotorController #6648

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

calcmogul
Copy link
Member

The drive classes no longer need this interface, and it rigidly couples us to motor controller vendors who only update and do a major release of their vendordep once per year.

We were originally going to do this in #6053, but we wanted to gather feedback on the alternate approach during a season first (as far as I know, we received none).

@calcmogul calcmogul requested a review from a team as a code owner May 22, 2024 22:27
Copy link
Member

@Starlight220 Starlight220 left a comment

Choose a reason for hiding this comment

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

I think it's more important to deprecate the drive class methods/constructors that use MotorController.
It would be helpful to explain that we're deprecating the polymorphic access, not any end classes.

@calcmogul calcmogul force-pushed the wpilib-deprecate-motor-controller branch from 4d16fc7 to 230beb1 Compare May 24, 2024 06:11
The drive classes no longer need this interface, and it rigidly couples
us to motor controller vendors who only update and do a major release of
their vendordep once per year.

We were originally going to do this in wpilibsuite#6053, but we wanted to gather
feedback on the alternate approach during a season first (as far as I
know, we received none).
@calcmogul calcmogul force-pushed the wpilib-deprecate-motor-controller branch from 230beb1 to 0060841 Compare May 24, 2024 06:26
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