How do you start the auton in the code and where would it be? Would it be under the configuration?
Elaborate, for Vex V5, or ROBOTC?
V5
If your using C++ pro heres what you do: First use the competition template. Then under the int autonamous(){ (it might be called something different idk) put your code here. Really to start heres a sample of something simple that togles a low flag:
int autonamous(){
int speed = 100;//This is in percentage so it represents 100% power you can replace speed with whatever you want
drivea.spin(vex::directionType::fwd, speed, vex::velocityUnits::pct);//drivea could be whatever motor ur using
driveb.spin(vex::directionType::fwd, speed, vex::velocityUnits::pct);
vex::task::sleep(4000);//moves robot forward for 4 seconds
drivea.stop(vex::brakeType::coast);
driveb.stop(vex::brakeType::coast);
}
And to start the code to like run it use a comp switch if you have one i know robotc had one inbuilt in there program idk about Vex Coding Studio
or download it using a comp template and go into the controller into programs into your program and two spaces from run is competition and has either auton or drive
I am not using C ++pro I am using C ++ for vex