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 TypeMethodDescriptionvoidrunDutyCycleVelocity(double velocity) voidrunTorqueCurrentVelocity(double velocity) voidsetConstants(FlywheelConstants constants) voidupdateInputs(ShooterIO.ShooterInputs inputs)
-
Constructor Details
-
ShooterReal
public ShooterReal()Create new shooter.
-
-
Method Details
-
runDutyCycleVelocity
public void runDutyCycleVelocity(double velocity) - Specified by:
runDutyCycleVelocityin interfaceShooterIO
-
runTorqueCurrentVelocity
public void runTorqueCurrentVelocity(double velocity) - Specified by:
runTorqueCurrentVelocityin interfaceShooterIO
-
updateInputs
- Specified by:
updateInputsin interfaceShooterIO
-
setConstants
- Specified by:
setConstantsin interfaceShooterIO
-