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(){