We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 828b2f8 commit f2bdd93Copy full SHA for f2bdd93
src/main/java/org/steelhawks/subsystems/vision/objdetect/ObjectVision.java
@@ -94,9 +94,9 @@ private void addCoralObservationToPose(ObjectVisionIO.ObjectObservation observat
94
Logger.recordOutput("CoralObservation/centerY_normalized", centerY);
95
96
// 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
+ // limelight 4 H:82° V:56.2°
+ double horizontalFOV = 82; // degrees
+ double verticalFOV = 56.2; // degrees
100
101
double tx = centerX * (horizontalFOV / 2.0); // angle in degrees
102
double ty = centerY * (verticalFOV / 2.0); // angle in degrees
0 commit comments