Class HoodIOSim
java.lang.Object
frc.robot.subsystems.shooter.hood.HoodIOSim
- All Implemented Interfaces:
HoodIO
Simulation implementation of
HoodIO.
This class simulates the movement of the hood actuator over time based on its configured maximum velocity, allowing for realistic testing of shooter command logic without physical hardware.
-
Nested Class Summary
Nested classes/interfaces inherited from interface frc.robot.subsystems.shooter.hood.HoodIO
HoodIO.HoodIOInputs -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidSets the target length for the simulated hood actuator.voidupdateInputs(HoodIO.HoodIOInputs inputs) Updates inputs by modeling the movement of the hood actuator in the simulator.
-
Constructor Details
-
HoodIOSim
public HoodIOSim()
-
-
Method Details
-
updateInputs
Updates inputs by modeling the movement of the hood actuator in the simulator.- Specified by:
updateInputsin interfaceHoodIO- Parameters:
inputs- The inputs object to update.
-
setLength
Sets the target length for the simulated hood actuator.
-