|
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;"
|