View Single Post
  #7   Spotlight this post!  
Unread 03-07-2003, 11:34 PM
rbayer's Avatar Unsung FIRST Hero
rbayer rbayer is offline
Blood, Sweat, and Code
no team (Teamless Orphan)
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Minnetonka, MN
Posts: 1,087
rbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of light
Send a message via AIM to rbayer
Re: Solution

Quote:
Originally posted by K. Skontrianos
You can't test your controls during autonomous control, because they default to 0/127. Instead you must test any autonomous selection switch in your non-autonomous code and then save this value in a "dummy variable" for the autonomous period.
That's true of the switches that connect to the OI, but the ones on the RC should still work fine. (ie you can't use p1_sw_trig, but you can use rc_sw1).
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php