Denis experienced some strange behaviors where balls seems to not answer but still have power (color is on). A reboot is needed to get back to normal. The origin of this problem is not known. Potential causer are :
a bug from Denis max patch
(+) pro: max manage a lot of things, javascript has no level of priority
(-) con: it would cause lags not crash, the external should filter bad message
a problem within network path (router, etc...)
(+) pro: we don't now how the router handle priorities
(-) con: would lag for a while
a lost connection
(+) pro: would totaly react like that
(-) con: should reconnect automatically (tested home by moving away from my router)
corrupted datagrams
(>) test : printing everything on a serial print and cover the ball antena to lower the signal, could be better if not charging at the same time (via and Arduino ?)
buffer overflow
(>) test : same test as above, at one point it should stop receiving (printing something local in parallel)
ball system crash (watchdog, memory fault)
(+) pro: could definitely freeze the system
(-) con: usually watch dog reset result in a reboot not a freeze
(>) test : try to provoque a memory fault or watchdog timeout on purpose, make a led blinking locally to know if the program is still running
ball running out of battery
(+) pro: not enough power to run WiFi but enough to lit Leds
(-) con: the power supply system should cut before that
(>) test : could be tested by powering a ball through a lab power supply, reducing the power gradually and observing the behaviour
CONTEXT
This doesn't seems to happen at home only on stage rehersal or with an audience. This differes from one case to another :
max drives others elements (could cause lags)
balls are moving (potential bad reception)
electromagnetic noise (lights, sound, stage cage)
the computer is farther (WiFi )
STRESS-TEST
n balls, connected to a network, 1 emitter, change colors every 30 seconds, one led goes red when low energy, wait for evey ball to stop working
DESCRIPTION
Denis experienced some strange behaviors where balls seems to not answer but still have power (color is on). A reboot is needed to get back to normal. The origin of this problem is not known. Potential causer are :
CONTEXT
This doesn't seems to happen at home only on stage rehersal or with an audience. This differes from one case to another :
STRESS-TEST
n balls, connected to a network, 1 emitter, change colors every 30 seconds, one led goes red when low energy, wait for evey ball to stop working