Class SwerveModuleIO.SwerveModuleInputs

java.lang.Object
frc.robot.subsystems.swerve.mod.SwerveModuleIO.SwerveModuleInputs
Enclosing interface:
SwerveModuleIO

public static class SwerveModuleIO.SwerveModuleInputs extends Object
Inputs for swerve module
  • Field Details

    • driveConnected

      public boolean driveConnected
    • drivePositionRad

      public double drivePositionRad
    • driveVelocityRadPerSec

      public double driveVelocityRadPerSec
    • driveAppliedVolts

      public double driveAppliedVolts
    • driveSupplyCurrentAmps

      public double driveSupplyCurrentAmps
    • driveStatorCurrentAmps

      public double driveStatorCurrentAmps
    • angleConnected

      public boolean angleConnected
    • anglePosition

      public Rotation2d anglePosition
    • angleVelocityRadPerSec

      public double angleVelocityRadPerSec
    • angleAppliedVolts

      public double angleAppliedVolts
    • angleSupplyCurrentAmps

      public double angleSupplyCurrentAmps
    • angleStatorCurrentAmps

      public double angleStatorCurrentAmps
    • absoluteAngleConnected

      public boolean absoluteAngleConnected
    • angleAbsolutePosition

      public Rotation2d angleAbsolutePosition
    • odometryDrivePositionsRad

      public double[] odometryDrivePositionsRad
    • odometryDriveVelocityRadsPerSec

      public double[] odometryDriveVelocityRadsPerSec
    • odometryAnglePositions

      public Rotation2d[] odometryAnglePositions
  • Constructor Details

    • SwerveModuleInputs

      public SwerveModuleInputs()