|
Parallel loops vs. One loop?
Hey guys,
We have several loops in our robot code (in periodic tasks vi) each controls a different sub system and all of them have a 20ms delay in them.
I was wondering if this is the right way to do it.
Will it make the code (Especially teleop.vi) run faster if I will merge all of the loops into one main loop with a 20ms delay?
__________________
2016-2017 - Programming Mentor
► Curie Sub-Division Champions with 694, 379 & 1511
2015 - Team Captain & Head of Programming Crew
► Carson Sub-Division Champions with 1325, 20 & 1711
► First ever Israeli team on Einstein
2014 - Team Captain & Head of Programming Crew
2013 - Head of Programming Crew
2012 - Member of Programming Crew
|