From 9804a3cfbfd0d254c41e3e1a248881666505afc0 Mon Sep 17 00:00:00 2001 From: samuel desharnais Date: Wed, 30 Oct 2024 19:22:48 -0400 Subject: [PATCH] apriltag mieu --- src/main/java/frc/robot/Commands/FollowAprilTag.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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.