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.Command
static edu.wpi.first.wpilibj2.command.Command
static DoubleSupplier
static edu.wpi.first.wpilibj2.command.Command
home()
protected static edu.wpi.first.wpilibj2.command.Command
log
(edu.wpi.first.wpilibj2.command.Command cmd) static edu.wpi.first.wpilibj2.command.Command
move
(DoubleSupplier degrees, String name) static edu.wpi.first.wpilibj2.command.Command
move
(DoubleSupplier degrees, DoubleSupplier exDegrees, String name) static edu.wpi.first.wpilibj2.command.Command
move
(DoubleSupplier degrees, DoubleSupplier exDegrees, DoubleSupplier delay, String name) static edu.wpi.first.wpilibj2.command.Command
runShoulder
(DoubleSupplier speed) static void
static void
static edu.wpi.first.wpilibj2.command.Command
slowHome()
static edu.wpi.first.wpilibj2.command.Command
slowMove
(DoubleSupplier degrees, String name) static edu.wpi.first.wpilibj2.command.Command
slowMove
(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)
-