Quote:
|
Originally Posted by Ryan M.
Technically speaking, you can set it to "disabled autonomous," which as far as I know runs autonomous, but doesn't send the output out... just like in regular disabled.
|
Hmm...I'd better code that case into my code...
I'm hijacking this thread from the thread hijacker!
I realized that in the default code, when autonomous starts, the User_Autonomous_Code (I think) enters into an infinite loop, where the Process_Data_From_Master_uP and Process_Data_From_Local_IO functions are not called. Now, I realize that I don't want to process I/O that isn't valid during auton, but all the camera initialization and tracking code is there in the functions that aren't called during auton. Do you forsee any problems with removing this loop and just processing auton every 26 ms? That's all I really need. It seemed to run fine on our system, but I don't know if there would be any issues with competition.
Thanks,
JBotAlan