diff --git a/src/main/java/frc/robot/Commands/FollowAprilTag.java b/src/main/java/frc/robot/Commands/FollowAprilTag.java index 57e8169..86ce2bd 100644 --- a/src/main/java/frc/robot/Commands/FollowAprilTag.java +++ b/src/main/java/frc/robot/Commands/FollowAprilTag.java @@ -6,19 +6,20 @@ package frc.robot.Commands; import edu.wpi.first.wpilibj2.command.Command; import frc.robot.Subsystems.Drive; +import frc.robot.Subsystems.Lanceur; import frc.robot.Subsystems.Limelight3G; public class FollowAprilTag extends Command { private Limelight3G enlignement; - private Drive drive; + private Lanceur lanceur; /** Creates a new Limelight3g. */ - public FollowAprilTag(Limelight3G enlignement, Drive drive) { + public FollowAprilTag(Limelight3G enlignement, Lanceur lanceur) { // Use addRequirements() here to declare subsystem dependencies. - this.drive = drive; + this.lanceur = lanceur; this.enlignement = enlignement; - addRequirements(drive, enlignement); + addRequirements(lanceur, enlignement); } // Called when the command is initially scheduled.