Package robot.swerve
Class SwerveModule
java.lang.Object
robot.swerve.SwerveModule
- All Implemented Interfaces:
edu.wpi.first.util.sendable.Sendable
-
Constructor Summary
ConstructorsConstructorDescriptionSwerveModule(String name, CustomTalonFX driveMotor, SmartMotorController rotMotor, CustomDutyCycleEncoder rotEncoder, edu.wpi.first.math.geometry.Translation2d pos) -
Method Summary
Modifier and TypeMethodDescriptionvoidinitSendable(edu.wpi.first.util.sendable.SendableBuilder builder)
-
Constructor Details
-
SwerveModule
public SwerveModule(String name, CustomTalonFX driveMotor, SmartMotorController rotMotor, CustomDutyCycleEncoder rotEncoder, edu.wpi.first.math.geometry.Translation2d pos)
-
-
Method Details
-
initSendable
public void initSendable(edu.wpi.first.util.sendable.SendableBuilder builder) - Specified by:
initSendablein interfaceedu.wpi.first.util.sendable.Sendable
-