Class SwerveModule

java.lang.Object
frc.robot.subsystems.Swerve.SwerveModule

public class SwerveModule extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • configureAll

      public com.ctre.phoenix6.StatusCode configureAll()
    • setTargetState

      public com.ctre.phoenix6.StatusCode setTargetState(edu.wpi.first.math.kinematics.SwerveModuleState state)
    • setTargetState

      public com.ctre.phoenix6.StatusCode setTargetState(edu.wpi.first.math.kinematics.SwerveModuleState state, edu.wpi.first.units.measure.LinearAcceleration feedForward)
    • getState

      public edu.wpi.first.math.kinematics.SwerveModuleState getState()
    • getPosition

      public edu.wpi.first.math.kinematics.SwerveModulePosition getPosition()
    • resetEncoders

      public void resetEncoders()
    • getName

      public String getName()
    • updateTelemetry

      public void updateTelemetry()