Package frc.robot

Class CommandFactory

java.lang.Object
frc.robot.CommandFactory

public class CommandFactory extends Object
Command Factory
  • Constructor Details

    • CommandFactory

      public CommandFactory()
  • Method Details

    • autoPass

      public static Command autoPass(Supplier<Pose2d> supplierSwervePose, Turret turret, AdjustableHood hood, Shooter shooter)
      Sets the turret's target to the left or right based off of its closest distence, then sets the angle of the hood, then the velocity of the shooter, then it shoots.