Skip to content

Commit f2bdd93

Browse files
committed
update fov
1 parent 828b2f8 commit f2bdd93

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/org/steelhawks/subsystems/vision/objdetect/ObjectVision.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@ private void addCoralObservationToPose(ObjectVisionIO.ObjectObservation observat
9494
Logger.recordOutput("CoralObservation/centerY_normalized", centerY);
9595

9696
// Convert normalized coordinates to angles
97-
// Limelight 3 FOV at 1280x800: ~63.3° horizontal, ~49.7° vertical
98-
double horizontalFOV = 63.3; // degrees
99-
double verticalFOV = 49.7; // degrees
97+
// limelight 4 H:82° V:56.2°
98+
double horizontalFOV = 82; // degrees
99+
double verticalFOV = 56.2; // degrees
100100

101101
double tx = centerX * (horizontalFOV / 2.0); // angle in degrees
102102
double ty = centerY * (verticalFOV / 2.0); // angle in degrees

0 commit comments

Comments
 (0)