Closed pmacalpine closed 6 years ago
Oh, I missed this and implemented pretty much the same fix here: https://github.com/magmaOffenburg/RoboViz/commit/9c8740735718239d5ce357ff28c317a1ba1a4e05
I'm not sure if it's actually a good idea to use it though, as this makes it look like everything is fine (when in fact one player is missing).
Yeah, and your fix might be better in that it still prints the stack trace of the error. Not sure if setting a[i] to 0 like I was doing or not changing it is best.
Catching bad nan value sent by server. This should fix #99 .