Package frc.robot.shoulder
Class ShoulderStates
java.lang.Object
frc.robot.shoulder.ShoulderStates
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic edu.wpi.first.wpilibj2.command.Commandstatic edu.wpi.first.wpilibj2.command.Commandstatic DoubleSupplierstatic edu.wpi.first.wpilibj2.command.Commandhome()protected static edu.wpi.first.wpilibj2.command.Commandlog(edu.wpi.first.wpilibj2.command.Command cmd) static edu.wpi.first.wpilibj2.command.Commandmove(DoubleSupplier degrees, String name) static edu.wpi.first.wpilibj2.command.Commandmove(DoubleSupplier degrees, DoubleSupplier exDegrees, String name) static edu.wpi.first.wpilibj2.command.Commandmove(DoubleSupplier degrees, DoubleSupplier exDegrees, DoubleSupplier delay, String name) static edu.wpi.first.wpilibj2.command.CommandrunShoulder(DoubleSupplier speed) static voidstatic voidstatic edu.wpi.first.wpilibj2.command.CommandslowHome()static edu.wpi.first.wpilibj2.command.CommandslowMove(DoubleSupplier degrees, String name) static edu.wpi.first.wpilibj2.command.CommandslowMove(DoubleSupplier degrees, DoubleSupplier exDegrees, DoubleSupplier delay, String name) static edu.wpi.first.wpilibj2.command.Command
-
Field Details
-
isHome
-
isNetPosition
-
isAutonNetPosition
-
isL1Coral
-
isL2Coral
-
isL3Coral
-
isL4Coral
-
isL2Algae
-
isL3Algae
-
-
Constructor Details
-
ShoulderStates
public ShoulderStates()
-
-
Method Details
-
setupDefaultCommand
public static void setupDefaultCommand() -
setStates
public static void setStates() -
runShoulder
-
home
public static edu.wpi.first.wpilibj2.command.Command home() -
slowHome
public static edu.wpi.first.wpilibj2.command.Command slowHome() -
getPosition
-
move
-
slowMove
-
move
public static edu.wpi.first.wpilibj2.command.Command move(DoubleSupplier degrees, DoubleSupplier exDegrees, String name) -
move
public static edu.wpi.first.wpilibj2.command.Command move(DoubleSupplier degrees, DoubleSupplier exDegrees, DoubleSupplier delay, String name) -
slowMove
public static edu.wpi.first.wpilibj2.command.Command slowMove(DoubleSupplier degrees, DoubleSupplier exDegrees, DoubleSupplier delay, String name) -
coastMode
public static edu.wpi.first.wpilibj2.command.Command coastMode() -
stopMotor
public static edu.wpi.first.wpilibj2.command.Command stopMotor() -
ensureBrakeMode
public static edu.wpi.first.wpilibj2.command.Command ensureBrakeMode() -
log
protected static edu.wpi.first.wpilibj2.command.Command log(edu.wpi.first.wpilibj2.command.Command cmd)
-