Interface IndexerIO

All Known Implementing Classes:
IndexerIOSim, IndexerIOSpark

public interface IndexerIO
Interface for the indexer mechanism input/output abstraction.
  • Nested Class Summary

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

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

    • updateInputs

      default void updateInputs(IndexerIO.IndexerIOInputs inputs)
      Updates the set of loggable inputs.
      Parameters:
      inputs - The inputs object to update.
    • setVoltage

      default void setVoltage(Voltage voltage)
      Run the indexer motor at the specified voltage.
      Parameters:
      voltage - The voltage to apply to the motor controller.
    • clearFaults

      default void clearFaults()
      Clears all faults and warnings.