apriltag mieu
This commit is contained in:
parent
9f51699e35
commit
9804a3cfbf
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user