Interface HoodIO
- All Known Implementing Classes:
HoodIOServo,HoodIOSim
public interface HoodIO
Interface for the shooter hood subsystem input/output abstraction.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classContains all of the inputs received from the hood hardware. -
Method Summary
Modifier and TypeMethodDescriptiondefault voidretract()Retracts the hood mechanism to its minimum length (default state).default voidCommands the hood actuator to move to a specific length.default voidupdateInputs(HoodIO.HoodIOInputs inputs) Updates the set of loggable inputs with the latest data from the hood hardware.
-
Method Details
-
updateInputs
Updates the set of loggable inputs with the latest data from the hood hardware.- Parameters:
inputs- The inputs object to update.
-
setLength
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).
-