degc437 / cellbots

Automatically exported from code.google.com/p/cellbots
0 stars 0 forks source link

Break Out The Command Parsing From The Subroutines #13

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Currently the commandparse() function processes incoming commands, but also 
has too much sub-logic in it. While it calls other functions for some things, 
action like speaking the GPS location are all done within.

We should have a clear function that is dedicated to parsing commands and 
deciding what action to take. Any action should then live within another 
function.

Original issue reported on code.google.com by rhickman on 28 Mar 2010 at 11:56

GoogleCodeExporter commented 8 years ago
This is done now (thanks to Glen). We have very little logic in the command 
parsing.

Original comment by rhickman on 2 Jun 2010 at 3:15