Package frc.robot.subsystems.climber
Interface ClimberIO
- All Known Implementing Classes:
ClimberReal,ClimberSim
public interface ClimberIO
Hardware abstraction interface for the climber subsystem.
This interface defines the contract for all climber hardware implementations, enabling easy switching between real hardware and simulation. It handles both the telescope extension and pivot rotation mechanisms.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classInput container for climber sensor and state data. -
Method Summary
Modifier and TypeMethodDescriptionvoidsetAnglePivot(Angle angle) voidsetHeightTelescope(Distance height) voidsetVoltagePivot(double volts) voidsetVoltageTelescope(double volts) voidupdateInputs(ClimberIO.ClimberInputs inputs)
-
Method Details
-
updateInputs
-
setVoltageTelescope
void setVoltageTelescope(double volts) -
setVoltagePivot
void setVoltagePivot(double volts) -
setAnglePivot
-
setHeightTelescope
-