Package frc.lib.util.swerve
Interface SwerveModuleIO
- All Known Implementing Classes:
SwerveModuleIO.Empty,SwerveModuleReal,SwerveModuleSim
public interface SwerveModuleIO
IO Class for SwerveModule
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classEmpty implementation of a Swerve Module (for replay)static classInputs Class for SwerveModule -
Method Summary
Modifier and TypeMethodDescriptionvoidsetAngleMotor(double angle) voidsetDriveMotor(double mps) voidsetDriveMotorPower(double power) voidsetPositionAngleMotor(double absolutePosition) void
-
Method Details
-
updateInputs
-
setDriveMotor
void setDriveMotor(double mps) -
setDriveMotorPower
void setDriveMotorPower(double power) -
setAngleMotor
void setAngleMotor(double angle) -
setPositionAngleMotor
void setPositionAngleMotor(double absolutePosition)
-