We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de82ed4 commit 237216dCopy full SHA for 237216d
wpimath/src/main/java/edu/wpi/first/math/kinematics/SwerveDriveKinematics.java
@@ -203,7 +203,7 @@ public SwerveModuleState[] toWheelSpeeds(ChassisSpeeds chassisSpeeds) {
203
* @return The resulting chassis speed.
204
*/
205
@Override
206
- public ChassisSpeeds toChassisSpeeds(SwerveModuleState... moduleStates) {
+ public ChassisSpeeds toChassisSpeeds(SwerveModuleState[] moduleStates) {
207
if (moduleStates.length != m_numModules) {
208
throw new IllegalArgumentException(
209
"Number of modules is not consistent with number of module locations provided in "
0 commit comments