My teams v5 robot that we recently finished has been moving motors at a low power when first turned on can someone help me. We have a competition tommorow so we need help asap.
Thanks,
60466A
My teams v5 robot that we recently finished has been moving motors at a low power when first turned on can someone help me. We have a competition tommorow so we need help asap.
Thanks,
60466A
Your joystick needs to be calibrated.
You should also use a system to make the motors shut off if the joystick value is below 10
LeftFrontDrive.spin(vex::directionType::fwd, Controller1.Axis3.value(), vex::velocityUnits::pct);
RightFrontDrive.spin(vex::directionType::fwd, Controller1.Axis2.value(), vex::velocityUnits::pct);
LeftBackDrive.spin(vex::directionType::fwd, Controller1.Axis3.value(), vex::velocityUnits::pct);
RightBackDrive.spin(vex::directionType::fwd, Controller1.Axis2.value(), vex::velocityUnits::pct);
if(abs(Controller1.Axis2.value())<10){
RightFrontDrive.stop(vex::brakeType::brake);
RightBackDrive.stop(vex::brakeType::brake);
}
if(abs(Controller1.Axis3.value())<10){
LeftFrontDrive.stop(vex::brakeType::brake);
LeftBackDrive.stop(vex::brakeType::brake);
}