Class WristIO.WristIOInputs
java.lang.Object
frc.alotobots.reefscape.subsystems.wrist.io.WristIO.WristIOInputs
- Direct Known Subclasses:
WristIOInputsAutoLogged
- Enclosing interface:
- WristIO
Data structure for inputs from wrist hardware.
-
Field Summary
FieldsModifier and TypeFieldDescriptionboolean
Whether the bottom limit switch/soft limit is triggeredboolean
Whether the CANCoder is connectedCurrent angle of the wrist mechanismCurrent voltage being applied to the motorboolean
Whether the motor controller is connectedCurrent being drawn by the motorint
Current PID slot being used (0 for velocity, 1 for position)Current angular velocity of the wristboolean
Whether the top limit switch/soft limit is triggered -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
pidSlot
public int pidSlotCurrent PID slot being used (0 for velocity, 1 for position) -
motorConnected
public boolean motorConnectedWhether the motor controller is connected -
cancoderConnected
public boolean cancoderConnectedWhether the CANCoder is connected -
topLimit
public boolean topLimitWhether the top limit switch/soft limit is triggered -
bottomLimit
public boolean bottomLimitWhether the bottom limit switch/soft limit is triggered -
mechanismAngle
Current angle of the wrist mechanism -
rotationVelocity
Current angular velocity of the wrist -
rotationAcceleration
-
motorAppliedVolts
Current voltage being applied to the motor -
motorCurrent
Current being drawn by the motor
-
-
Constructor Details
-
WristIOInputs
public WristIOInputs()
-