Package frc.robot.subsystems.shooter
Class ShooterVortex
java.lang.Object
frc.robot.subsystems.shooter.ShooterVortex
- All Implemented Interfaces:
ShooterIO
Class for ShooterVortex
-
Nested Class Summary
Nested classes/interfaces inherited from interface frc.robot.subsystems.shooter.ShooterIO
ShooterIO.ShooterIOInputs
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal com.revrobotics.spark.SparkFlex
final com.revrobotics.spark.SparkFlex
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor Shooter Subsystem - sets motor and encoder preferences -
Method Summary
Modifier and TypeMethodDescriptionvoid
setBottomMotor
(double power) void
setTopMotor
(double power) void
updateInputs
(frc.robot.subsystems.shooter.ShooterIOInputsAutoLogged inputs)
-
Field Details
-
topShooterMotor
public final com.revrobotics.spark.SparkFlex topShooterMotor -
bottomShooterMotor
public final com.revrobotics.spark.SparkFlex bottomShooterMotor
-
-
Constructor Details
-
ShooterVortex
public ShooterVortex()Constructor Shooter Subsystem - sets motor and encoder preferences
-
-
Method Details
-
setTopMotor
public void setTopMotor(double power) - Specified by:
setTopMotor
in interfaceShooterIO
-
setBottomMotor
public void setBottomMotor(double power) - Specified by:
setBottomMotor
in interfaceShooterIO
-
updateInputs
public void updateInputs(frc.robot.subsystems.shooter.ShooterIOInputsAutoLogged inputs) - Specified by:
updateInputs
in interfaceShooterIO
-