Hello :), I need help with something. I’m having trouble with a line of code. . . I was trying to make two motors work at the same time but one starts at different times. Any help, recommendation, inspiration will be appreciated thanks. I’ll leave the code at the bottom.
if (Controller1.ButtonDown.pressing()){
RollerBottomBack.setVelocity(100, vex::percentUnits::pct);
RollerTopBack.setVelocity(100, vex::percentUnits::pct);
//Motors that need to move at the same time
RollerBottomBack.spinFor(vex::directionType::fwd,1000, vex::rotationUnits::deg);
RollerTopBack.spinFor(vex::directionType::rev,1000, vex::rotationUnits::deg);
}