Interface ClimbIO

All Known Implementing Classes:
ClimbIOSim, ClimbIOSpark

public interface ClimbIO
Interface for the climb mechanism input/output abstraction.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    Contains all of the inputs received from the climb hardware.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Clears all faults and warnings.
    default void
    Run the lift motors at the specified voltage.
    default void
    Updates the set of loggable inputs.
  • Method Details

    • updateInputs

      default void updateInputs(ClimbIO.ClimbIOInputs inputs)
      Updates the set of loggable inputs.
      Parameters:
      inputs - The inputs object to update.
    • setLiftVoltage

      default void setLiftVoltage(Voltage voltage)
      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.