Package frc.robot.subsystems.climb
Interface ClimbIO
- All Known Implementing Classes:
ClimbIOSim,ClimbIOSpark
public interface ClimbIO
Interface for the climb mechanism input/output abstraction.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classContains all of the inputs received from the climb hardware. -
Method Summary
Modifier and TypeMethodDescriptiondefault voidClears all faults and warnings.default voidsetLiftVoltage(Voltage voltage) Run the lift motors at the specified voltage.default voidupdateInputs(ClimbIO.ClimbIOInputs inputs) Updates the set of loggable inputs.
-
Method Details
-
updateInputs
Updates the set of loggable inputs.- Parameters:
inputs- The inputs object to update.
-
setLiftVoltage
Run the lift motors at the specified voltage.- Parameters:
voltage- The voltage to apply to the motor controller.
-
clearFaults
default void clearFaults()Clears all faults and warnings.
-