Closed Doomfest closed 9 years ago
I added code which validates the values before sending them to the micro. @psyomn i was testing your client and the server was receiving everything . We need to check which numbers the client sends to the server. It seems like it sends all numbers and doesnt care about forward, reverse, turn left , right and stop movements.
I'm not sure I understand what you mean. The server understands what command is sent - that's why there are the constants, then the commands (patterns) which are executed, and finally fire the hooks if any exist.
The validation code happens within the ucontroller manager.
Need to detech if values received to the ucontr manager are valid before sending them to the ucontroller for movement.