Translate my Camera by an Offset

I don’t have a limelight. Our camera is offset probably 7 inches on our robot. Right now our vision targeting is working great… but we need to manipulate the angle to the middle of the robot…

We calculate our vision angle by:
Translation2d t = new Translation2d(distance * angle.cos(), distance * angle.sin());

I was trying to find a way with the physics library to ‘translate’ this to account for this. RIght now all I do is get the angle out of this translation2D object to get the angle

Is there an easy way to do this?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.