Skip to content
This repository has been archived by the owner on Sep 22, 2024. It is now read-only.

Create a SwerveModuleState2 for Second Order support #4

Open
Rob-Heslin opened this issue Jul 23, 2023 · 0 comments
Open

Create a SwerveModuleState2 for Second Order support #4

Rob-Heslin opened this issue Jul 23, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Rob-Heslin
Copy link
Collaborator

The default SwerveModuleState should be extended. Add another double(omegaRadiansPerSecond), with a default of 0. Change the constructor to support adding it.
-Override the equals method, copy the original, and add a comparison for omegaRadiansPerSecond.
-Override the toString method, copy the original, and add omegaRadiansPerSecond to string in same format as others.

@Rob-Heslin Rob-Heslin added the enhancement New feature or request label Jul 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant