ok… so… the 2 picker motors are not running on the robot. can you help?
while (1){
Left.spin(vex::directionType::rev, Controller1.Axis2.value(), vex::velocityUnits::pct);
Right.spin(vex::directionType::fwd, Controller1.Axis3.value(),vex::velocityUnits::pct);
BackLeft.spin(vex::directionType::rev, Controller1.Axis2.value(),vex::velocityUnits::pct);
BackRight.spin(directionType::fwd, Controller1.Axis3.value(),vex::velocityUnits::pct);
if(Controller1.ButtonR2.pressing())
{
Picker.spin(vex::directionType::fwd,50, vex::velocityUnits::pct);
ClawTighten.spin(vex::directionType::fwd, 50, vex::velocityUnits::pct);
}
else if(Controller1.ButtonR1.pressing())
{
Picker.spin(vex::directionType::rev,50, vex::velocityUnits::pct);
ClawTighten.spin(vex::directionType::rev, 50, vex::velocityUnits::pct);
}
}
if(Controller1.ButtonL1.pressing())
{
Lifter1.spin(vex::directionType::fwd,75, vex::velocityUnits::pct);
Lifter2.spin(vex::directionType::fwd,75, vex::velocityUnits::pct);
}
else if(Controller1.ButtonL2.pressing())
{
Lifter1.spin(vex::directionType::rev,90, vex::velocityUnits::pct);
Lifter2.spin(vex::directionType::rev,90, vex::velocityUnits::pct);
}
else
{
Lifter1.stop();
Lifter2.stop();
}
vex::task::sleep(20);
}