Quote:
Originally Posted by Alan Anderson
Here's another piece of useful advice: if you have limit switches to protect mechanisms from moving too far, put the code to read the switches (and take action based on them) in the Process_Data_From_Local_IO() function, and call that function from within the autonomous loop. The default code only calls it when in teleoperated mode.
|
Also note, when you call it, call it towards the end of the autonomous loop or after all other functions have been called.