I am more of a builder and I need help with adding code. I would like my robot to drive forward for 10 seconds. wait for 2 sec, and then turn right and pick up something with its claw. The claw is the one that comes with the classroom kit. I am using vexcode the newer one.
Please give more info on your code so far. It would aide us in helping.
it would be something like:
leftdrive.spin(fwd, whatever speed, whatever units); rightdrive.spin(fwd, whatever speed, whatever units); //use the line below or wait(10000, msec); vex::task::sleep(10000); leftdrive.stop(); rightdrive.stop();
for turning right you would spin left forward and right backwards