Package frc.robot.elevator
Class ElevatorStates
java.lang.Object
frc.robot.elevator.ElevatorStates
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DoubleSupplierprotected static edu.wpi.first.wpilibj2.command.Commandlog(edu.wpi.first.wpilibj2.command.Command cmd) static edu.wpi.first.wpilibj2.command.Commandmove(DoubleSupplier rotations, String name) static edu.wpi.first.wpilibj2.command.Commandmove(DoubleSupplier rotations, DoubleSupplier exRotaitons, String name) static voidstatic voidstatic edu.wpi.first.wpilibj2.command.CommandslowMove(DoubleSupplier rotations, String name) static edu.wpi.first.wpilibj2.command.CommandslowMove(DoubleSupplier rotations, DoubleSupplier exRotaitons, String name)
-
Field Details
-
isUp
-
isHigh
-
isHome
-
isL1Coral
-
isL2Coral
-
isL3Coral
-
isL4Coral
-
isL2Algae
-
isL3Algae
-
-
Constructor Details
-
ElevatorStates
public ElevatorStates()
-
-
Method Details
-
setupDefaultCommand
public static void setupDefaultCommand() -
setStates
public static void setStates() -
getPosition
-
move
-
move
public static edu.wpi.first.wpilibj2.command.Command move(DoubleSupplier rotations, DoubleSupplier exRotaitons, String name) -
slowMove
public static edu.wpi.first.wpilibj2.command.Command slowMove(DoubleSupplier rotations, String name) -
slowMove
public static edu.wpi.first.wpilibj2.command.Command slowMove(DoubleSupplier rotations, DoubleSupplier exRotaitons, String name) -
log
protected static edu.wpi.first.wpilibj2.command.Command log(edu.wpi.first.wpilibj2.command.Command cmd)
-