Package frc.robot.subsystems.turret
Interface TurretIO
- All Known Implementing Classes:
TurretReal,TurretSim
public interface TurretIO
Hardware abstraction layer for the turret subsystem.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classContainer for all turret sensor inputs. -
Method Summary
Modifier and TypeMethodDescriptionvoidresetPosition(Angle angle) voidsetTargetAngle(Angle angle) Commands the turret to move toward the specified target angle.voidsetTurretVoltage(Voltage volts) voidupdateInputs(TurretIO.TurretInputs inputs) Updates the providedTurretIO.TurretInputsstructure with the latest sensor values.
-
Method Details
-
setTurretVoltage
-
updateInputs
Updates the providedTurretIO.TurretInputsstructure with the latest sensor values. -
setTargetAngle
Commands the turret to move toward the specified target angle. -
resetPosition
-