Skip to content

Commit 0b7e8fe

Browse files
committed
x position
1 parent 23ed237 commit 0b7e8fe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

robot-suede/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def estimate_pose() -> Pose | None:
171171

172172
camera_offset_mm = 60.0
173173
rad = math.radians(angle)
174-
true_x = float(data["x"]) - math.cos(rad) * camera_offset_mm
174+
true_x = float(data["x"]) + math.cos(rad) * camera_offset_mm
175175
true_y = float(data["y"]) - math.sin(rad) * camera_offset_mm
176176

177177
if data:

0 commit comments

Comments
 (0)