From 0325bd5d7c82af5c0d639d4caa70c771f184b44c Mon Sep 17 00:00:00 2001 From: Logan Hollowood <98189655+GearBoxFox@users.noreply.github.com> Date: Thu, 8 Feb 2024 21:43:36 -0500 Subject: [PATCH] Update ObjectDetectionSubsystem.java --- .../frc/robot/subsystems/aispy/ObjectDetectionSubsystem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/frc/robot/subsystems/aispy/ObjectDetectionSubsystem.java b/src/main/java/frc/robot/subsystems/aispy/ObjectDetectionSubsystem.java index 36d06cdf..59b69405 100644 --- a/src/main/java/frc/robot/subsystems/aispy/ObjectDetectionSubsystem.java +++ b/src/main/java/frc/robot/subsystems/aispy/ObjectDetectionSubsystem.java @@ -24,7 +24,7 @@ public void periodic() { double[] obs = m_inputs.getObservations(); - for (int i = 2; i < obs[0]; i += 4) { + for (int i = 1; i < obs[0]; i += 4) { m_observations.add(new DetectionObservation( obs[i], obs[i + 1],