Package frc.robot.subsystems.shooter
Class ShooterSim
java.lang.Object
frc.robot.subsystems.shooter.ShooterSim
- All Implemented Interfaces:
ShooterIO
Shooter Sim Implementation
-
Nested Class Summary
Nested classes/interfaces inherited from interface frc.robot.subsystems.shooter.ShooterIO
ShooterIO.ShooterInputs -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrunDutyCycleVelocity(double velocity) voidrunTorqueCurrentVelocity(double velocity) voidsetConstants(FlywheelConstants constants) voidshootOne()voidupdateInputs(ShooterIO.ShooterInputs inputs)
-
Field Details
-
flywheel
-
-
Constructor Details
-
ShooterSim
public ShooterSim()
-
-
Method Details
-
updateInputs
- Specified by:
updateInputsin interfaceShooterIO
-
runDutyCycleVelocity
public void runDutyCycleVelocity(double velocity) - Specified by:
runDutyCycleVelocityin interfaceShooterIO
-
runTorqueCurrentVelocity
public void runTorqueCurrentVelocity(double velocity) - Specified by:
runTorqueCurrentVelocityin interfaceShooterIO
-
shootOne
public void shootOne() -
setConstants
- Specified by:
setConstantsin interfaceShooterIO
-