Package edu.wpi.first.math.kinematics
Class SwerveDriveKinematics.SwerveDriveWheelStates
java.lang.Object
edu.wpi.first.math.kinematics.SwerveDriveKinematics.SwerveDriveWheelStates
- Enclosing class:
- SwerveDriveKinematics
public static class SwerveDriveKinematics.SwerveDriveWheelStates extends Object
Wrapper class for swerve module states.
-
Field Summary
Fields Modifier and Type Field Description SwerveModuleState[]
states
Swerve module states. -
Constructor Summary
Constructors Constructor Description SwerveDriveWheelStates(SwerveModuleState[] states)
Creates a new SwerveDriveWheelStates instance. -
Method Summary
-
Field Details
-
states
Swerve module states.
-
-
Constructor Details
-
SwerveDriveWheelStates
Creates a new SwerveDriveWheelStates instance.- Parameters:
states
- The swerve module states. This will be deeply copied.
-