From 5b2291e992e8569160df6545ae33a4367c18820d Mon Sep 17 00:00:00 2001 From: Tomico-DEV Date: Thu, 13 Aug 2026 12:11:12 +0900 Subject: [PATCH] camera_viz: fixed reversed head locked display issue Signed-off-by: Tomico-DEV --- examples/camera_viz/placements/lock_modes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/camera_viz/placements/lock_modes.py b/examples/camera_viz/placements/lock_modes.py index 159944e78..cf69e40ec 100644 --- a/examples/camera_viz/placements/lock_modes.py +++ b/examples/camera_viz/placements/lock_modes.py @@ -142,7 +142,7 @@ def update(self, head_pos: Vec3, head_orientation: Quat) -> Placement: head_pos[1] + forward[1] * d + right[1] * ox + up[1] * oy, head_pos[2] + forward[2] * d + right[2] * ox + up[2] * oy, ) - orientation = quat_mul(head_orientation, _ROT_Y_180) + orientation = head_orientation # Anchor = the head itself (plus the configured offsets, already # baked into ``position``): pull the plane back by ``distance``. # Orientation is the UNflipped head pose so the anchor's local −z