Package frc.robot.subsystems.climb
Class ClimbIO.ClimbIOInputs
java.lang.Object
frc.robot.subsystems.climb.ClimbIO.ClimbIOInputs
- Enclosing interface:
- ClimbIO
Contains all of the inputs received from the climb hardware.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe current being drawn by the lift motor.The voltage currently being applied to the lift motor.booleanWhether the lift motor controller is currently connected and communicating.booleanWhether the lift motor is functioning correctly.booleanWhether the lower limit switch is currently pressed.int[]The full status of the lift motor controller.booleanWhether the upper limit switch is currently pressed. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
connected
public boolean connectedWhether the lift motor controller is currently connected and communicating. -
appliedVoltage
The voltage currently being applied to the lift motor. -
appliedCurrent
The current being drawn by the lift motor. -
healthy
public boolean healthyWhether the lift motor is functioning correctly. -
status
public int[] statusThe full status of the lift motor controller. -
lowerLimit
public boolean lowerLimitWhether the lower limit switch is currently pressed. -
upperLimit
public boolean upperLimitWhether the upper limit switch is currently pressed.
-
-
Constructor Details
-
ClimbIOInputs
public ClimbIOInputs()
-