Class ShootWhileMoveInterpolatedSource

java.lang.Object
frc.robot.superstructure.sources.ShootingSource
frc.robot.superstructure.sources.ShootWhileMoveInterpolatedSource
All Implemented Interfaces:
Supplier<Optional<ShooterValues>>

public class ShootWhileMoveInterpolatedSource extends ShootingSource
A shooting source that dynamically adjusts to allow for shooting from anywhere, using interpolation tables internally. This also accounts for drivetrain velocity, allowing for shooting on the move.
  • Constructor Details

    • ShootWhileMoveInterpolatedSource

      public ShootWhileMoveInterpolatedSource(CommandSwerveDrivetrain drivetrain)
      Creates a new ShootWhileMoveInterpolatedSource.
      Parameters:
      drivetrain - The drivetrain to poll for pose and velocity.
  • Method Details