test moving head with right hand tracking
This commit is contained in:
1 parent
87c4ce5fad
commit
0228a0bca4
1 file changed
+2
-2
@@ -169,11 +169,11 @@ class DMXController:
|
|||||||
|
|
||||||
def set_tilt(self, tilt_val: int) -> None:
|
def set_tilt(self, tilt_val: int) -> None:
|
||||||
"""Schreibt den Tilt-Wert auf den für den Modus zuständigen DMX-Kanal."""
|
"""Schreibt den Tilt-Wert auf den für den Modus zuständigen DMX-Kanal."""
|
||||||
tilt_ch = 3 if self.mode_12ch else 2
|
tilt_ch = 2 if self.mode_12ch else 2
|
||||||
self.set_channel(tilt_ch, tilt_val)
|
self.set_channel(tilt_ch, tilt_val)
|
||||||
|
|
||||||
def get_tilt(self) -> int:
|
def get_tilt(self) -> int:
|
||||||
tilt_ch = 3 if self.mode_12ch else 2
|
tilt_ch = 2 if self.mode_12ch else 2
|
||||||
return self.get_channel(tilt_ch)
|
return self.get_channel(tilt_ch)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|||||||
Reference in new issue
Block a user