Class RotationalPivotStates

java.lang.Object
frc.robot.turretRotationalPivot.RotationalPivotStates

public class RotationalPivotStates extends Object
  • Constructor Details

    • RotationalPivotStates

      public RotationalPivotStates()
  • Method Details

    • setupDefaultCommand

      public static void setupDefaultCommand()
    • aimingAtTarget

      public static Trigger 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