Your First Program

Beginner driver control + a simple auton.

Driver Control

void usercontrol() {
  while (true) {
    clasi_easy::controller_arcade(drive, Controller);
    vex::wait(20, vex::msec);
  }
}

Auton Example

void auton() {
  drive.odom().reset(0,0,0);
  clasi_easy::drive_forward(drive, 24, 60);
  clasi_easy::turn_deg(drive, 90, 50);
}