|
Re: Passing Parameters with Command-Based Robot Structure
Our autonomous code reads the desired motions from a text file and executes them. We make up our own command language each year, build a parser and call functions/methods to execute a series of motions or actions. That way we do not have to change the code for each match or before playoffs, we just FTP a new command file to the robot.
HTH
__________________
Fast, cheap or working - pick any two!
|