Package frc.team88.swerve.motion.state
Class ModuleState
- java.lang.Object
-
- frc.team88.swerve.motion.state.ModuleState
-
public class ModuleState extends java.lang.Object
Encapsulates the running state of a single swerve module.
-
-
Constructor Summary
Constructors Constructor Description ModuleState(double azimuthPosition, double wheelSpeed)
Constructs a module state.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getAzimuthPosition()
Gets the azimuth position.double
getWheelSpeed()
Gets the wheel speed.
-