From 53fbca6f4046ff4eae0bb282180a180e3f0fba97 Mon Sep 17 00:00:00 2001 From: Lukas Lindinger Date: Wed, 4 Nov 2026 17:03:36 +0100 Subject: [PATCH] test moving head with both hands --- Moving_Head_Test/pan_tilt_combined.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Moving_Head_Test/pan_tilt_combined.py b/Moving_Head_Test/pan_tilt_combined.py index 40c9aed..87b709f 100644 --- a/Moving_Head_Test/pan_tilt_combined.py +++ b/Moving_Head_Test/pan_tilt_combined.py @@ -247,7 +247,7 @@ def calculate_tilt(x_m: float, y_m: float, z_m: float, ceiling_mode: bool = Fals tilt_rad = math.atan2(-dy, dist_horiz) tilt_deg = math.degrees(tilt_rad) - tilt_dmx = 127.5 + (tilt_deg / (TILT_RANGE_DEG / 2.0)) * 127.5 + tilt_dmx = 40.5 + (tilt_deg / (TILT_RANGE_DEG / 2.0)) * 40.5 if ceiling_mode: tilt_dmx = 255.0 - tilt_dmx