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
-
Method Summary
Modifier and TypeMethodDescriptionedu.wpi.first.wpilibj2.command.Command
double
double
double
edu.wpi.first.wpilibj2.command.Command
boolean
boolean
boolean
edu.wpi.first.wpilibj2.command.Command
void
periodic()
edu.wpi.first.wpilibj2.command.Command
Shoot()
edu.wpi.first.wpilibj2.command.Command
Shoot
(boolean stopShooter) edu.wpi.first.wpilibj2.command.Command
edu.wpi.first.wpilibj2.command.Command
SpinUpShooter
(double rpm) edu.wpi.first.wpilibj2.command.Command
edu.wpi.first.wpilibj2.command.Command
edu.wpi.first.wpilibj2.command.Command
edu.wpi.first.wpilibj2.command.Command
void
edu.wpi.first.wpilibj2.command.Command
Methods inherited from class edu.wpi.first.wpilibj2.command.SubsystemBase
addChild, getName, getSubsystem, initSendable, setName, setSubsystem
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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()
-