Interface HoodIO

All Known Implementing Classes:
HoodIOServo, HoodIOSim

public interface HoodIO
Interface for the shooter hood subsystem input/output abstraction.
  • Nested Class Summary

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

    Modifier and Type
    Method
    Description
    default void
    Retracts the hood mechanism to its minimum length (default state).
    default void
    Commands the hood actuator to move to a specific length.
    default void
    Updates the set of loggable inputs with the latest data from the hood hardware.
  • Method Details

    • updateInputs

      default void updateInputs(HoodIO.HoodIOInputs inputs)
      Updates the set of loggable inputs with the latest data from the hood hardware.
      Parameters:
      inputs - The inputs object to update.
    • setLength

      default void setLength(Distance length)
      Commands the hood actuator to move to a specific length.
      Parameters:
      length - The target length for the actuator.
    • retract

      default void retract()
      Retracts the hood mechanism to its minimum length (default state).