View Single Post
  #2   Spotlight this post!  
Unread 11-03-2003, 14:11
mtrawls's Avatar
mtrawls mtrawls is offline
I am JVN! (John von Neumann)
#0122 (NASA Knights)
Team Role: Programmer
 
Join Date: Mar 2003
Location: Hampton, VA
Posts: 295
mtrawls is a splendid one to beholdmtrawls is a splendid one to beholdmtrawls is a splendid one to beholdmtrawls is a splendid one to beholdmtrawls is a splendid one to beholdmtrawls is a splendid one to beholdmtrawls is a splendid one to behold
Send a message via AIM to mtrawls
Team 122 did something very similar to this at the VCU regional in Richmond this past weekend. Since comp_mode is 1 before the match and after the match, we used this fact to set our program (that it is 1 after the match was inconsequential to us). When the operator would put down the board, she would hit the sensor override switch to "tell" the program that it was time to pick an autonomous program. Next we used the joystick to pick the from 0-8 -- since we have nine to choose from, this is the easist to do without adding any more switches to the program. And when the joystick is in the right position, the sensor override switch was hit back to its previous state, and the choice was then "locked."

Yes, the crew must be behind the line during the 10 seconds, but it worked great for us to just choose while we were setting the control board up. We used this method, and we had no problems with it ... (I suppose I should note that we had no problems with the selection code; now as to what was actually chosen, that's another story! Anyway, that's fixed now.)