[photonlib] Invert simulated target yaw (#1243)

This commit is contained in:
amquake
2024-02-18 17:59:54 -08:00
committed by GitHub
parent 428f926ac2
commit 39216db143
4 changed files with 7 additions and 5 deletions

View File

@@ -431,7 +431,7 @@ public class PhotonCameraSim implements AutoCloseable {
detectableTgts.add(
new PhotonTrackedTarget(
Math.toDegrees(centerRot.getZ()),
-Math.toDegrees(centerRot.getZ()),
-Math.toDegrees(centerRot.getY()),
areaPercent,
Math.toDegrees(centerRot.getX()),