View Single Post
  #1   Spotlight this post!  
Unread 09-10-2014, 04:58
GuyM142's Avatar
GuyM142 GuyM142 is offline
Registered User
AKA: Guy
FRC #3339 (BumbleBee)
Team Role: Mentor
 
Join Date: Jul 2013
Rookie Year: 2012
Location: Israel
Posts: 157
GuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really nice
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
Reply With Quote