View Single Post
  #7   Spotlight this post!  
Unread 24-03-2011, 21:25
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Autonomous problem.

There are many ways to break the autonomous routine so that the robot sits still.

The correct answer as to how you should disable it depends a bit on how you have modified the framework and initial code.

The VI that launches the autonomous has the green light on it. If you disable that, no auto. Periodic tasks will still run, so if you have control code there, be sure to set your setpoints in Begin or elsewhere.

You can also write another autonomous VI that does nothing and drag that over the VI refnum on Begin. That will specify that you would rather it call that VI instead of the Autonomous Init. This is also easy to fix and even make dependent on a DS setting.

And of course there is nothing wrong with disabling the code in the Auto VI.

Greg McKaskle
Reply With Quote