Interface AdjustableHoodIO
- All Known Implementing Classes:
AdjustableHoodReal,AdjustableHoodSim
public interface AdjustableHoodIO
Hardware abstraction layer for the adjustable hood subsystem.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classContainer for all adjustable hood sensor inputs. -
Method Summary
Modifier and TypeMethodDescriptionvoidsetAdjustableHoodVoltage(double volts) voidsetTargetAngle(Angle angle) Commands the adjustable hood to move to a specific anglevoidUpdates the providedAdjustableHoodIO.AdjustableHoodInputsstructure with the latest sensor values.
-
Method Details
-
setAdjustableHoodVoltage
void setAdjustableHoodVoltage(double volts) -
updateInputs
Updates the providedAdjustableHoodIO.AdjustableHoodInputsstructure with the latest sensor values.- Parameters:
inputs- updates inputs
-
setTargetAngle
Commands the adjustable hood to move to a specific angle- Parameters:
angle- - the wanted angle
-