PWRFLcreative / Lightwork

Computer vision based LED mapping framework
GNU General Public License v3.0
156 stars 16 forks source link

ArtNet Calibration Freezes after first pattern #27

Open SynchronisticSavage opened 5 years ago

SynchronisticSavage commented 5 years ago

was able to get the Mapper and Scraper working in Ubuntu Studio 18.04 with a fade candy, but when i tried to use it with an ESP8266 Running an ArtNetNode Firmware ( https://github.com/bombcheck/ESP8266_ArtNet-LED-DMX-Node ) it seems to fail after the first calibration pattern is displayed (just changes the LEDs once) and displays the following error in the processing window: ArrayIndexOutOfBoundsException: 48 and the Interface seems to freeze, and does not respond to clicks.

please let me know if there is any insight into this issue, thanks.

and big ups to the creator(s) of this awesome little tool for pixel mapping...hope to be able to put it to use playing video from veejay via v4l2loopback with a WiFi enabled esp8266 over ArtNet or sACN

screenshot_2018-12-19_20-57-39

timrolls commented 5 years ago

Not actively working on the code, so this is just off the cuff, but I'm remembering this has to do with a mismatch in the array size for the LED colors/addresses. You can manually set the default number of LEDs and channels per LED in the Interface class.

Default for Artnet is 16 LEDs/ 3 channels per, so this might be a state issue.

Artnet was our least tested protocol because we didn't have dedicated hardware to test it with.

Staszek-org commented 1 year ago

was able to get the Mapper and Scraper working in Ubuntu Studio 18.04 with a fade candy, but when i tried to use it with an ESP8266 Running an ArtNetNode Firmware ( https://github.com/bombcheck/ESP8266_ArtNet-LED-DMX-Node ) it seems to fail after the first calibration pattern is displayed (just changes the LEDs once) and displays the following error in the processing window: ArrayIndexOutOfBoundsException: 48 and the Interface seems to freeze, and does not respond to clicks.

please let me know if there is any insight into this issue, thanks.

and big ups to the creator(s) of this awesome little tool for pixel mapping...hope to be able to put it to use playing video from veejay via v4l2loopback with a WiFi enabled esp8266 over ArtNet or sACN

screenshot_2018-12-19_20-57-39

Hello. How did you manage to make it work? I'm trying to run Lightwork, and although I think I've found most of the required processing libraries (which wasn't easy), it still doesn't work. Maybe I have too new versions of the libraries that are not compatible?

Do you have a working configured environment and could you send it to me (all the necessary processing libraries, etc.) along with a brief description of how you managed to run it? My email: staszek.org@gmail.com I can run it on Ubuntu (so far I've tried on Windows 10).

I would be very grateful. Best regards. Stanisław.

brendanmatkin commented 1 year ago

@Staszek-org I haven't tried to use this in many years. I'll give it a whirl some time soon but can't at the moment.

In the mean time, have you tried other protocols? I mostly used sACN (e.131) and that worked well. Can you give that a try in your environment?