Class WristIO.WristIOInputs

java.lang.Object
frc.alotobots.reefscape.subsystems.wrist.io.WristIO.WristIOInputs
Direct Known Subclasses:
WristIOInputsAutoLogged
Enclosing interface:
WristIO

public static class WristIO.WristIOInputs extends Object
Data structure for inputs from wrist hardware.
  • Field Details

    • pidSlot

      public int pidSlot
      Current PID slot being used (0 for velocity, 1 for position)
    • motorConnected

      public boolean motorConnected
      Whether the motor controller is connected
    • cancoderConnected

      public boolean cancoderConnected
      Whether the CANCoder is connected
    • topLimit

      public boolean topLimit
      Whether the top limit switch/soft limit is triggered
    • bottomLimit

      public boolean bottomLimit
      Whether the bottom limit switch/soft limit is triggered
    • mechanismAngle

      public Angle mechanismAngle
      Current angle of the wrist mechanism
    • rotationVelocity

      public AngularVelocity rotationVelocity
      Current angular velocity of the wrist
    • rotationAcceleration

      public AngularAcceleration rotationAcceleration
    • motorAppliedVolts

      public Voltage motorAppliedVolts
      Current voltage being applied to the motor
    • motorCurrent

      public Current motorCurrent
      Current being drawn by the motor
  • Constructor Details

    • WristIOInputs

      public WristIOInputs()