|
Re: New autonomous outline tutorial
Quote:
Originally Posted by apalrd
I see. You are able to launch the next command before the previous command finishes.
That makes a lot of sense. However, when do you really need to do that? I spent a very long time trying to get my script system to allow asynchronous command execution and decided that it was too difficult of a tradeoff in code complexity. I found that there was no reasonable case in which it was impossible to write autonomous code with only one autonomous commanded action executing at a time, with the blocks I wanted to write.
The tradeoff is always between simplicity in execution and flexibility in design.
|
The other reason I would do something like this(Which I have not yet been able to try) is to allow errors. As you see if one of the functions returns false the rest do not execute.
__________________
/*
* Team 3574 Alumni
*
* 2011 - Highest Seeded Rookie
* 2011 - Rookie All-Star
* 2012 - Engineering Inspiration
* 2012 - Olympic Deans List Winner
* 2013 - Engineering Inspiration
* 2013 - Judges Award (For unique circular robot and the way the team works together.)
*/
|