Skip to content
Roy Kakkenberg edited this page Nov 18, 2023 · 1 revision

The LightsControllerManager is responsible for sending SocketIO commands to each of the corresponding listeners. This is necessary, because a handler calculates the behaviour for a group of lights, but a controller is responsible for one or more groups of lights.

Therefore, the LightsControllerManager calls the tick() function of each handler. This is done at a rate of 40Hz, which the maximum refresh rate of the physical ARTnet controller we use. The list of handlers is fetched dynamically from the singleton HandlerManager instance.

The manager then creates 512-channel DMX messages and sends these over the SocketIO channel to the listeners.

Clone this wiki locally