Class Routines

java.lang.Object
org.team1126.robot.commands.Routines

public final class Routines extends Object
The Routines class contains command compositions, such as sequences or parallel command groups, that require multiple subsystems.
  • Constructor Details

    • Routines

      public Routines(Robot robot)
  • Method Details

    • shootFuel

      public edu.wpi.first.wpilibj2.command.Command shootFuel()
    • releaseAll

      public edu.wpi.first.wpilibj2.command.Command releaseAll()
    • lightsPreMatch

      public edu.wpi.first.wpilibj2.command.Command lightsPreMatch(BooleanSupplier defaultAutoSelected)
      Displays the pre-match animation.
      Parameters:
      defaultAutoSelected - If the default auto is selected.
    • refuelFromNeutral

      public edu.wpi.first.wpilibj2.command.Command refuelFromNeutral()
      Method that allows us to go where we would expect to find fuel in the neutral zone.
    • refuelFromDepot

      public edu.wpi.first.wpilibj2.command.Command refuelFromDepot()
    • pivot

      public edu.wpi.first.wpilibj2.command.Command pivot(boolean left)