View Single Post
  #7   Spotlight this post!  
Unread 13-03-2007, 07:40
Cody Carey's Avatar
Cody Carey Cody Carey is offline
,':-)
AKA: C. Carey
FRC #0306 (CRT)
Team Role: Alumni
 
Join Date: Feb 2005
Rookie Year: 2004
Location: Corry, PA
Posts: 1,137
Cody Carey has a reputation beyond reputeCody Carey has a reputation beyond reputeCody Carey has a reputation beyond reputeCody Carey has a reputation beyond reputeCody Carey has a reputation beyond reputeCody Carey has a reputation beyond reputeCody Carey has a reputation beyond reputeCody Carey has a reputation beyond reputeCody Carey has a reputation beyond reputeCody Carey has a reputation beyond reputeCody Carey has a reputation beyond repute
Send a message via AIM to Cody Carey Send a message via Yahoo to Cody Carey
Re: Autonomous Switching

What we've been doing is putting a potentiometer on the Operator Interface, marking positions on it... and using it for autonomous selection. Even though your robot is disabled at the beginning of a match, it still reads what value the potentiometer is sending. This allows for unlimited autonomous modes.

The code is just saying that if the value is 0-50, then do one autonomous, and if it is between 50-100 do another, etc. or whatever values you want based on how many auto modes you have.
__________________
Reply With Quote