Skip to content

Using autonomous modes in user control

Jeffrey Shen edited this page Jul 24, 2017 · 1 revision

This functionality requires the LCD. See how to use that here.

You can have custom behaviors for each autonomous mode in user control. For example, you can have different controls for robot skills. Do that through a simple if statement as shown below:

if(MODE == NAME_OF_MODE){
   //Do cool stuff here
}

These are the available modes: AUTO_A, AUTO_B, AUTO_C, RBT_SKILL, PRG_SKILL, and TESTING (selected using the LCD).