Class TurretStates

java.lang.Object
frc.robot.turret.TurretStates

public class TurretStates extends Object
  • Constructor Details

    • TurretStates

      public TurretStates()
  • Method Details

    • setupDefaultCommand

      public static void setupDefaultCommand()
    • aimAtHub

      public static void aimAtHub()
    • 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 a subsystem only if it's not already the running command
      Parameters:
      subsystem - the subsystem the command requires
      command - the command to schedule