Package frc.robot.subsystems.swerve.mod
Class ModuleConstants
java.lang.Object
frc.robot.subsystems.swerve.mod.ModuleConstants
Per-module constants
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal intCAN ID for the angle motorfinal Rotation2dReported angle when wheel is straightfinal intCAN ID for the CANCoderfinal intCAN ID for the drive motor -
Constructor Summary
ConstructorsConstructorDescriptionModuleConstants(int driveMotorId, int angleMotorId, int canCoderId, Rotation2d angleOffset) Per-module constants -
Method Summary
-
Field Details
-
driveMotorId
public final int driveMotorIdCAN ID for the drive motor -
angleMotorId
public final int angleMotorIdCAN ID for the angle motor -
canCoderId
public final int canCoderIdCAN ID for the CANCoder -
angleOffset
Reported angle when wheel is straight
-
-
Constructor Details
-
ModuleConstants
Per-module constants
-