You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This change breaks line 188: SwerveDriveKinematics.normalizeWheelSpeeds(states, MAX_VELOCITY_METERS_PER_SECOND); in DrivetrainSubsystem.java.
This should be replaced with SwerveDriveKinematics.desaturateWheelSpeeds(states, MAX_VELOCITY_METERS_PER_SECOND); This is just a rename and from my understanding should not break how the code in the template works.
The text was updated successfully, but these errors were encountered:
Per WPILib Doc's 2022 Breaking Changes
NormalizeWheelSpeeds
has been renamed toDesaturateWheelSpeeds
in SwerveDriveKinematics.This change breaks line 188:
SwerveDriveKinematics.normalizeWheelSpeeds(states, MAX_VELOCITY_METERS_PER_SECOND);
in DrivetrainSubsystem.java.This should be replaced with
SwerveDriveKinematics.desaturateWheelSpeeds(states, MAX_VELOCITY_METERS_PER_SECOND);
This is just a rename and from my understanding should not break how the code in the template works.The text was updated successfully, but these errors were encountered: