Package frc.robot.subsystems
Class Head
java.lang.Object
edu.wpi.first.wpilibj2.command.SubsystemBase
frc.robot.subsystems.Head
- All Implemented Interfaces:
edu.wpi.first.util.sendable.Sendable,edu.wpi.first.wpilibj2.command.Subsystem
public class Head
extends edu.wpi.first.wpilibj2.command.SubsystemBase
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionedu.wpi.first.wpilibj2.command.Commanddoubledoubledoubleedu.wpi.first.wpilibj2.command.Commandbooleanbooleanbooleanedu.wpi.first.wpilibj2.command.Commandvoidperiodic()edu.wpi.first.wpilibj2.command.CommandShoot()edu.wpi.first.wpilibj2.command.CommandShoot(boolean stopShooter) edu.wpi.first.wpilibj2.command.Commandedu.wpi.first.wpilibj2.command.CommandSpinUpShooter(double rpm) edu.wpi.first.wpilibj2.command.Commandedu.wpi.first.wpilibj2.command.Commandedu.wpi.first.wpilibj2.command.Commandedu.wpi.first.wpilibj2.command.Commandvoidedu.wpi.first.wpilibj2.command.CommandMethods 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, register, removeDefaultCommand, run, runEnd, runOnce, setDefaultCommand, simulationPeriodic, startEnd
-
Constructor Details
-
Head
public Head()Creates a new Head.
-
-
Method Details
-
periodic
public void periodic() -
StartIntake
public edu.wpi.first.wpilibj2.command.Command StartIntake() -
StartOutake
public edu.wpi.first.wpilibj2.command.Command StartOutake() -
StopIntake
public edu.wpi.first.wpilibj2.command.Command StopIntake() -
IntakePiece
public edu.wpi.first.wpilibj2.command.Command IntakePiece() -
OutakePiece
public edu.wpi.first.wpilibj2.command.Command OutakePiece() -
stopShooter
public void stopShooter() -
getShooterBottomSpeed
public double getShooterBottomSpeed() -
getShooterTopSpeed
public double getShooterTopSpeed() -
getShooterSetPoint
public double getShooterSetPoint() -
SpinUpShooter
public edu.wpi.first.wpilibj2.command.Command SpinUpShooter(double rpm) -
SpinUpShooter
public edu.wpi.first.wpilibj2.command.Command SpinUpShooter(Constants.ShootingConstants.ShootingPosition position) -
SpinDownShooter
public edu.wpi.first.wpilibj2.command.Command SpinDownShooter() -
isReadyToShoot
public boolean isReadyToShoot() -
Shoot
public edu.wpi.first.wpilibj2.command.Command Shoot() -
Shoot
public edu.wpi.first.wpilibj2.command.Command Shoot(boolean stopShooter) -
isNoteWithinSensor
public boolean isNoteWithinSensor() -
isNoteWithinAlignmentSensor
public boolean isNoteWithinAlignmentSensor() -
ToggleBreakModes
public edu.wpi.first.wpilibj2.command.Command ToggleBreakModes() -
EnableBrakeMode
public edu.wpi.first.wpilibj2.command.Command EnableBrakeMode()
-