Class ShootWhileMoving

java.lang.Object
edu.wpi.first.wpilibj2.command.Command
frc.robot.commands.ShootWhileMoving
All Implemented Interfaces:
Sendable

public class ShootWhileMoving extends Command
Shooting while moving command
  • Constructor Details

  • Method Details

    • execute

      public void execute()
      Overrides:
      execute in class Command
    • getDesiredRotation

      public static Rotation2d getDesiredRotation(Pose2d swervePose, Translation2d target)
      Get target rotation for a given pose to shoot into the speaker.