Package frc.robot.subsystems.shooter
Class ShooterReal
java.lang.Object
frc.robot.subsystems.shooter.ShooterReal
- All Implemented Interfaces:
ShooterIO
Shooter Real Implementation
-
Nested Class Summary
Nested classes/interfaces inherited from interface frc.robot.subsystems.shooter.ShooterIO
ShooterIO.ShooterInputs -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrunVelocity(double velocity) voidrunVolts(double volts) voidsetConstants(FlywheelConstants constants) voidupdateInputs(ShooterIO.ShooterInputs inputs)
-
Constructor Details
-
ShooterReal
public ShooterReal()Create new shooter.
-
-
Method Details
-
runVolts
public void runVolts(double volts) -
runVelocity
public void runVelocity(double velocity) - Specified by:
runVelocityin interfaceShooterIO
-
updateInputs
- Specified by:
updateInputsin interfaceShooterIO
-
setConstants
- Specified by:
setConstantsin interfaceShooterIO
-