jo-ruether / led_table

LED table
5 stars 0 forks source link

Enable communication between bot, game etc. #9

Closed arjunsarin closed 4 years ago

arjunsarin commented 4 years ago

Idea One communication bus and each thread accesses that bus for sending and retrieving information. Or is this too much overhead

arjunsarin commented 4 years ago

Every class that wishes to draw on the canvas still needs a reference to an instance of Output. Otherwise it isn't possible to access the current image and use setters of Output, e.g. setValueRGB(..).

arjunsarin commented 4 years ago

Please find my suggestion in 7d8e0db03616b351830a3ac8e2ee1fad47cf659a

arjunsarin commented 4 years ago

I am experiencing a horrible latency at the moment. We have to check if that is due to my internet connection of to the new communication system.

jo-ruether commented 4 years ago

This was fixed with 7d8e0db03616b351830a3ac8e2ee1fad47cf659a