Package frc.robot.subsystems.shooter
Class Shooter
java.lang.Object
edu.wpi.first.wpilibj2.command.SubsystemBase
frc.robot.subsystems.shooter.Shooter
Shooter Subsystem
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidperiodic()voidsetVelocity(double velocity) Set shooter velocityshoot(double velocity) Shoot at a given velocityMethods inherited from class edu.wpi.first.wpilibj2.command.SubsystemBase
addChild, getName, getSubsystem, initSendable, setName, setSubsystemMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface edu.wpi.first.wpilibj2.command.Subsystem
defer, getCurrentCommand, getDefaultCommand, idle, register, removeDefaultCommand, run, runEnd, runOnce, setDefaultCommand, simulationPeriodic, startEnd, startRun
-
Constructor Details
-
Shooter
Shooter Subsystem Constructor- Parameters:
io- Shooter IO implementation
-
-
Method Details
-
periodic
public void periodic() -
setVelocity
public void setVelocity(double velocity) Set shooter velocity -
shoot
Shoot at a given velocity
-