When I’m doing this I’m getting an error, vexcode.
void autonomous(void) {
FrontLeft.setVelocity(50, pct);
FrontRight.setVelocity(50, pct);
FrontLeft.spin();
FrontRight.spin();
vex::task::sleep(1000);
FrontLeft.stop();
FrontRight.stop();
}
According to the Problems tab, I have 2. They are the .spin
commands. Any reasons?