From 2d5ee4aa1022de03709c839cf9daa973030b4693 Mon Sep 17 00:00:00 2001 From: Zach3292 Date: Mon, 27 Nov 2023 17:53:47 -0500 Subject: [PATCH] Changement type Pipeline limelight A tester Co-Authored-By: Nahuelpoet <125915501+Nahuelpoet@users.noreply.github.com> Co-Authored-By: ScootKampfer <125150185+scootkampfer@users.noreply.github.com> --- src/main/java/frc/robot/commands/TourelleLimeLightCommand.java | 2 +- src/main/java/frc/robot/subsystems/Limelight.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/frc/robot/commands/TourelleLimeLightCommand.java b/src/main/java/frc/robot/commands/TourelleLimeLightCommand.java index 99a51b1..69064cf 100644 --- a/src/main/java/frc/robot/commands/TourelleLimeLightCommand.java +++ b/src/main/java/frc/robot/commands/TourelleLimeLightCommand.java @@ -19,7 +19,7 @@ public TourelleLimeLightCommand(Tourelle tourelle, Limelight limelight, XboxCont // The controller that the command will use new PIDController(0.5, 0, 0), // This should return the measurement - () -> limelight.getRobotPosition()[1],//TODO change for the right tracking target + () -> limelight.getRobotPosition()[2],//TODO change for the right tracking target (1 instead of 2) // This should return the setpoint (can also be a constant) () -> -3, // This uses the output diff --git a/src/main/java/frc/robot/subsystems/Limelight.java b/src/main/java/frc/robot/subsystems/Limelight.java index 1a2be1c..ffd68e4 100644 --- a/src/main/java/frc/robot/subsystems/Limelight.java +++ b/src/main/java/frc/robot/subsystems/Limelight.java @@ -238,7 +238,7 @@ public double getPipeline(){ } /** - * Returns current Pipeling of the Lime Light + * Returns current Pipeline of the Lime Light * @return Pipelinge */ public Integer getPipelineInt(){