i have been volentold to be the team programmer and i have done so well so far but i dont know how to do auton so i need a basic auton that spins 1 motor for the whole 15 seconds. any help would be deeply apreciated. i am using Vexcode Pro for V5.
You can get started with these tutorials:
There have been quite a few requests for instructions on how to use motor groups and creating a drivetrain with more than 2 motors in VEXcode. I’m going to discuss these classes a little and provide a simple example.
What is a motor group ?
A motor group collects two or more motors together and allows control as if they were a single entity. Just about all motor class member functions (by that I mean spin, spinTo, setVelocity etc.) are available on the motor group class. We introduced motor…
I am doing this off the top of my head but this should work.
motorname.spin(forward, 100, percent);
motorName.rotateFor(15, seconds, 100, velocityUnits::pct);