Example #1
0
    def __init__(self, dmx_addr):
        """Create a new wrapper for the Venus."""
        self.dmx_addr = dmx_addr - 1

        self.base_rotation = RampingParameter()
        self.cradle_motion = RampingParameter()
        self.head_rotation = RampingParameter()
        self.color_rotation = RampingParameter()

        self.lamp_on = False
Example #2
0
    def __init__(self, dmx_addr):
        self.dmx_addr = dmx_addr - 1

        # unipolar
        self.lamp_1_intensity = 0.0
        self.lamp_2_intensity = 0.0

        # bipolar
        self.ball_rotation = RampingParameter()

        self.ball_start = False

        # unipolar
        self.color_rotation = 0.0
        self.color_start = False

        self.strobe_1_state = False
        self.strobe_2_state = False

        # unipolar
        self.strobe_1_intensity = 0.0
        self.strobe_2_intensity = 0.0
        self.strobe_1_rate = 0.0
        self.strobe_2_rate = 0.0