Very rarely, if we are using UDP, there may be chances that we loose data, or data coming in a different order, or other reasons the scanner is sending data that is outside the protocol.
For example, I've seen the #74.
In any case, the simulation should not stop by receiving wrong data.
Current
crashes when we have invalid data
it should
ignore, but keep on listening until we have the right value.
Very rarely, if we are using UDP, there may be chances that we loose data, or data coming in a different order, or other reasons the scanner is sending data that is outside the protocol.
For example, I've seen the #74. In any case, the simulation should not stop by receiving wrong data.
Current
crashes when we have invalid data
it should
ignore, but keep on listening until we have the right value.