Package frc.robot.elbow
Class ElbowStates
java.lang.Object
frc.robot.elbow.ElbowStates
-
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 edu.wpi.first.wpilibj2.command.Command
groundMove
(DoubleSupplier degrees, String name) 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 void
static void
static edu.wpi.first.wpilibj2.command.Command
slowMove
(DoubleSupplier degrees, String name) static edu.wpi.first.wpilibj2.command.Command
-
Field Details
-
isHome
-
pastElevator
-
aboveFloor
-
scoreL4
-
isL1Coral
-
isL2Coral
-
isL3Coral
-
isL4Coral
-
isL2Algae
-
isL3Algae
-
atTarget
-
-
Constructor Details
-
ElbowStates
public ElbowStates()
-
-
Method Details
-
setupDefaultCommand
public static void setupDefaultCommand() -
setStates
public static void setStates() -
move
-
move
public static edu.wpi.first.wpilibj2.command.Command move(DoubleSupplier degrees, DoubleSupplier exDegrees, String name) -
slowMove
-
groundMove
public static edu.wpi.first.wpilibj2.command.Command groundMove(DoubleSupplier degrees, 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)
-