-
Notifications
You must be signed in to change notification settings - Fork 615
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
Add checkstyle check for deprecation #7738
base: main
Are you sure you want to change the base?
Conversation
Ensures java deprecated notation is paired with javadoc and vice versa. Adds javadoc deprecation for MecanumControllerCommand, ArmFeedForward, ElevatorFeedforward, and MecanumDriveMotorVoltages Fixes wpilibsuite#7736 Supersedes wpilibsuite#7737
This PR modifies commands. Please open a corresponding PR in Python Commands and include a link to this PR. |
MecanumControllerCommand isn't implemented in python, so no PR necessary |
* @deprecated MecanumControllerCommand does not allow for much visibility for troubleshooting. | ||
* Compose HolonomicDriveController within a subystem. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* @deprecated MecanumControllerCommand does not allow for much visibility for troubleshooting. | |
* Compose HolonomicDriveController within a subystem. | |
* @deprecated Use {@link MecanumVoltagesConsumer} instead of {@code Consumer<MecanumDriveMotorVoltages}. |
The deprecation was added in #6760, and the MecanumVoltagesConsumer overloads are not deprecated. We could deprecate those as well for the in the original codereason, but that would be a separate PR.
* @deprecated MecanumControllerCommand does not allow for much visibility for troubleshooting. | ||
* Compose HolonomicDriveController within a subystem. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* @deprecated MecanumControllerCommand does not allow for much visibility for troubleshooting. | |
* Compose HolonomicDriveController within a subystem. | |
* @deprecated Use {@link MecanumVoltagesConsumer} instead of {@code Consumer<MecanumDriveMotorVoltages>}. |
/** | ||
* Represents the motor voltages for a mecanum drive drivetrain. | ||
* | ||
* @deprecated use a fuctional interface intead. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* @deprecated use a fuctional interface intead. | |
* @deprecated Use {@link MecanumControllerCommand.MecanumVoltagesConsumer} |
Ensures java deprecated notation is paired with javadoc and vice versa.
Adds javadoc deprecation for MecanumControllerCommand, ArmFeedForward, ElevatorFeedforward, and MecanumDriveMotorVoltages
Fixes #7736
Supersedes #7737