Put Small Eye lens rotate on channel 6 and zoom on channel 7.

The glass only spins with focus at full, so the chase scenes and the channel test follow the real map.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
jimmyandCursor committed 2026-10-21 15:53:22 +13:00
1 parent c72a8d6f26
commit 7ff1519abc
4 files changed
+307 -308

No files matched your search

Executable → Regular
+24 -25
View File
@@ -5,9 +5,9 @@ Pan/tilt (1–4) already look right. This script lights the centre LED, then
isolates:
CH5 pan/tilt speed — head should move fast at 0, crawl at 255
CH6 zoom — beam should grow/shrink
CH7 lens rotate — front glass spins only in 128–188 or 194–255,
and often only when zoom is fully in (narrow)
CH6 lens rotate — front glass spins only in 128–188 or 194–255,
and only when focus (CH8) is at 255
CH7 zoom — beam should grow/shrink
Quit with Ctrl+C (sends blackout). Stop QLC+ output first so the two
sources do not fight.
@@ -33,8 +33,8 @@ PROT_VER = 14
CH_PAN = 1
CH_TILT = 3
CH_SPEED = 5
CH_ZOOM = 6
CH_ROTATE = 7
CH_ROTATE = 6
CH_ZOOM = 7
CH_FOCUS = 8
CH_DIMMER = 9
CH_STROBE = 10
@@ -181,25 +181,26 @@ def test_speed(fixture: SmallEye, hold_s: float, pause: bool):
def test_zoom(fixture: SmallEye, hold_s: float, pause: bool):
say("CH6 ZOOM")
say("CH7 ZOOM")
print("Watch the SPOT size on the wall. Should grow then shrink.")
fixture.park_light()
fixture.set(CH_ROTATE, 0)
wait_enter(pause, "Ready for zoom sweep")
print(" CH6 0 → 255")
print(" CH7 0 → 255")
sweep(fixture, CH_ZOOM, 0, 255, hold_s * 2)
hold(1.5, "CH6 = 255 (hold)")
print(" CH6 255 → 0")
hold(1.5, "CH7 = 255 (hold)")
print(" CH7 255 → 0")
sweep(fixture, CH_ZOOM, 255, 0, hold_s * 2)
hold(1.5, "CH6 = 0 (hold, narrow)")
hold(1.5, "CH7 = 0 (hold, narrow)")
def test_rotate(fixture: SmallEye, hold_s: float, pause: bool):
say("CH7 LENS ROTATE")
say("CH6 LENS ROTATE")
print("Watch the FRONT GLASS. Index 0–127 does not spin.")
print("Spin is 128–188 (CCW) and 194–255 (CW). 189–193 is stop.")
print("If nothing moves, zoom is probably too wide — trying both extremes.")
print("The glass only spins when focus (CH8) is at 255.")
fixture.park_light()
fixture.set(CH_FOCUS, 255)
wait_enter(pause, "Ready for rotate")
points = [
@@ -212,28 +213,26 @@ def test_rotate(fixture: SmallEye, hold_s: float, pause: bool):
(255, "SPIN CW fast"),
(0, "back to index 0"),
]
for zoom in (0, 255):
fixture.set(CH_ZOOM, zoom)
fixture.set(CH_ROTATE, 0)
print(f"\n zoom CH6 = {zoom}")
hold(1.0)
for value, label in points:
fixture.set(CH_ROTATE, value)
hold(hold_s, f"CH7 = {value:3d} {label}")
fixture.set(CH_FOCUS, 255)
fixture.set(CH_ROTATE, 0)
fixture.set(CH_ZOOM, 0)
print("\n focus CH8 = 255")
hold(1.0)
for value, label in points:
fixture.set(CH_ROTATE, value)
hold(hold_s, f"CH6 = {value:3d} {label}")
fixture.set(CH_ROTATE, 0)
fixture.set(CH_FOCUS, 128)
def test_hunt(fixture: SmallEye, hold_s: float, pause: bool):
say("HUNT: put spin values on CH5, then CH6, then CH7")
print("Whichever channel actually spins the glass is lens rotate.")
print("Focus stays at 255 — the glass will not spin otherwise.")
fixture.park_light()
wait_enter(pause, "Ready to hunt rotate")
for candidate in (CH_SPEED, CH_ZOOM, CH_ROTATE):
for candidate in (CH_SPEED, CH_ROTATE, CH_ZOOM):
fixture.park_light()
# Narrow zoom on the other two optics channels
if candidate != CH_ZOOM:
fixture.set(CH_ZOOM, 0)
fixture.set(CH_FOCUS, 255)
print(f"\n putting spin (160, then 220) on CH{candidate}")
fixture.set(candidate, 160)
hold(hold_s, f"CH{candidate} = 160 CCW")