This commit is contained in:
TheRealGreydon 2026-10-15 20:41:29 -04:00
parent 4d70146076
commit 8325261429
1 changed files with 3 additions and 5 deletions

View File

@ -35,6 +35,7 @@ public class UltraShooterCommand extends Command{
private final Translation2d CENTER_TURRET_TO_ROBOT = new Translation2d(-0.1335024, -0.1824736); // Defines physical offset of turret from robot center private final Translation2d CENTER_TURRET_TO_ROBOT = new Translation2d(-0.1335024, -0.1824736); // Defines physical offset of turret from robot center
private Alliance alliance; // Shooting behavior is based on the robot's alliance private Alliance alliance; // Shooting behavior is based on the robot's alliance
public boolean isFinished = false;
public UltraShooterCommand(HopperSubsystem hopperSubsystem, TurretSubsystem turretSubsystem, DriveSubsystem driveSubsystem){ public UltraShooterCommand(HopperSubsystem hopperSubsystem, TurretSubsystem turretSubsystem, DriveSubsystem driveSubsystem){
this.hopperSubsystem = hopperSubsystem; this.hopperSubsystem = hopperSubsystem;
@ -202,10 +203,7 @@ public class UltraShooterCommand extends Command{
Logger.recordOutput("UltraShooter-OkToShoot", okToShoot); Logger.recordOutput("UltraShooter-OkToShoot", okToShoot);
} }
@Override
public boolean isFinished() {
return false;
}
@Override @Override
public void end(boolean interrupted) { public void end(boolean interrupted) {