This VI imlements the framework and scheduler for your robotics program. It should not be necessary to modify the framework. You are expected to add your code to the VIs called from Robot Main, the ones located in the Team Code within the project.











This VI is called for each autonomous packet from the DS where the robot is not disabled. It is used to carry out the autonomous tasks in a iterative style that returns within 20 milliseconds and will be called again with the next autonomous packet.






Called before other user functions, this VI is expected to open initial I/O refnums, select autonomous style, load in file data, and do all program initialization.



This VI is called each time a disabled packet is received from the DS. It is often used to prepare for the next robot mode, to calibrate sensors, etc.





This VI is called just before exiting. It is expected to close I/O refnum, save collected data, etc.





This VI runs in parallel to other tasks. It can contain as many user-defined periodic loops as you need. These can carry out PID or other sorts of timed response.









This VI is called for each TeleOp packet received from the DS where the robot is not disabled. It is often used to read from the joysticks and update I/O or to update setpoints for timed control loops. It should complete and return within 20 milliseconds or it may miss DS packets.









This VI runs in parallel to other tasks. It gets images from the camera, processes them for color or shape and use that information to affect robot behavior.









