Make SwerveDriveKinematics.toChassisSpeeds() public (#1976)

This commit is contained in:
CTT
2019-10-24 09:13:04 -07:00
committed by Peter Johnson
parent 103c1b121c
commit 4b0ed910ee

View File

@@ -149,7 +149,7 @@ public class SwerveDriveKinematics {
* module states should be same as passed into the constructor of this class.
* @return The resulting chassis speed.
*/
ChassisSpeeds toChassisSpeeds(SwerveModuleState... wheelStates) {
public ChassisSpeeds toChassisSpeeds(SwerveModuleState... wheelStates) {
if (wheelStates.length != m_numModules) {
throw new IllegalArgumentException(
"Number of modules is not consistent with number of wheel locations provided in "