View Single Post
  #8   Spotlight this post!  
Unread 22-02-2004, 15:23
jacob_dilles's Avatar
jacob_dilles jacob_dilles is offline
Registered User
AKA: theshadow
FRC #0620 (WarBots)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Vienna, VA
Posts: 245
jacob_dilles will become famous soon enough
Send a message via AIM to jacob_dilles
Re: 2 questions (programming)

when the OI is in disabled mode, the robot sees it as off and no data at all is transmited or received. when it is in auton mode, it does send and recieve data, but because of the construction of the RC (i.e. 2 pics that talk to eachother) you cant get to any of the data while the auton bit is high. i believe if you call the getDataFromMasterRc() all of the vars will return 127. however if you got a second RS232 reciever you may be able to snatch some values. i doubt this is legal tho. your best bet is to put a switch on your robot and run out just before the match and flip it.
__________________
--------------------------
"You're not a real programmer until all your sentences end with semicolons;"