View Single Post
  #2   Spotlight this post!  
Unread 06-02-2009, 21:01
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Switching between Autonomous and Teleoperated

During development and practice, you choose between Autonomous and Teleoperated by using the Driver Station switch. During competition, the Field Management System will control the mode.

The Basic Get Mode VI in the LabVIEW code provides a way to read the competition state. Feeding it into a case structure lets you do different blocks of code depending on whether the state is Autonomous or Teleoperated.

You can find this information (and a lot of other important facts) in the Using the LabVIEW FRC Framework document, which is linked to on the http://www.usfirst.org/frccontrolsystem page.
Reply With Quote