View Single Post
  #2   Spotlight this post!  
Unread 08-03-2004, 16:03
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Re: setting autonomous mode

Quote:
Originally Posted by Allison
is it allowed to have something like a switch or jumpers on your OI to set your autonomous mode or does it have to be done on the robot? if not how do we choose the autonomous mode we want?

thanks in advance
allison
Somebody will have to correct me if I'm wrong, but the way the code is, I believe that you read the inputs from the OI once before you enter autonomous mode. However, I'm not sure if the OI will actually send anything to the robot.

The safe way is to have switches on the robot that you set to indicate which autonomous mode you want. Your program then reads these and figures out what you want it to do from them.
__________________