Package frc.robot.turretRotationalPivot
Class RotationalPivotStates
java.lang.Object
frc.robot.turretRotationalPivot.RotationalPivotStates
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic voidstatic Triggerprotected static edu.wpi.first.wpilibj2.command.Commandlog(edu.wpi.first.wpilibj2.command.Command cmd) static voidneutral()static voidscheduleIfNotRunning(edu.wpi.first.wpilibj2.command.Command command) Schedules a command for the rotational pivot subsystem only if it's not already the running commandstatic void
-
Constructor Details
-
RotationalPivotStates
public RotationalPivotStates()
-
-
Method Details
-
setupDefaultCommand
public static void setupDefaultCommand() -
aimingAtTarget
-
aimAtTarget
public static void aimAtTarget() -
aimAtPresetPosition
public static void aimAtPresetPosition() -
neutral
public static void neutral() -
log
protected static edu.wpi.first.wpilibj2.command.Command log(edu.wpi.first.wpilibj2.command.Command cmd) -
scheduleIfNotRunning
public static void scheduleIfNotRunning(edu.wpi.first.wpilibj2.command.Command command) Schedules a command for the rotational pivot subsystem only if it's not already the running command- Parameters:
command- the command to schedule
-