new method since no longer flippable due to angle being 54 and not 45

This commit is contained in:
2026-02-21 13:51:53 -06:00
parent 5a456e211f
commit 82c16b5402

View File

@@ -90,7 +90,7 @@ public class Targeting {
if (redAlliance){
sin54 = Math.sin(Math.toRadians(54));
} else {
sin54 = Math.sin(Math.toRadians(-54))
sin54 = Math.sin(Math.toRadians(-54));
}
// TODO: test these values determined from the fmap
double rotatedY = (robotX + cancelOffsetX) * sin54 + (robotY + cancelOffsetY) * cos54;