View Single Post
  #11   Spotlight this post!  
Unread Yesterday, 22:36
BitTwiddler's Avatar
BitTwiddler BitTwiddler is offline
electronics/programming mentor
AKA: Mr Tanguay
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Oct 2008
Rookie Year: 2006
Location: Sierra Vista, AZ
Posts: 259
BitTwiddler is on a distinguished road
Re: Breaking loops when switching to tele-op?

Quote:
Originally Posted by Greg McKaskle View Post
You don't mention what language you are using. LabVIEW aborts the autonomous when the period ends. It will break out of loops.

I don't believe the other language frameworks do that.

Greg McKaskle
We use LabView. Last year we got stuck in a control loop for Autonomous during an entire match. The problem code was a while loop running in Timed Tasks that never completed its task. If the while loops are executing within the Autonomous VI you should be safe but beware of loops running in Timed Tasks because that VI is running in Teleop as well as Autonomous.
Reply With Quote