Hi,
I have a robot that uses a conveyor belt to bring in the balls on the field, however we need the conveyor belt to spin both directions and we’re having troubles doing so. Here is our code
if (vexRT[Btn7U] == 1)
{
motor[WI] = -127;
motor[WI1] = -127;
}
else if (vexRT[Btn7U] == 0)
{
motor[WI] = 0;
motor[WI1] = 0;
}
if (vexRT[Btn5U] == 1)
{
motor[WI1] = 127;
motor[WI] = 127;
}
else if (vexRT[Btn5U] == 0)
{
motor[WI1] = 0;
motor[WI] = 0;
}
and the current problem is that the motors can spin in 1 direction completely fine, but it jerks around when spinning the other direction. We’ve tried this on multiple motors and every time it’s all the same so we assume it’s the program. Can anyone give some advice on why it is jerking so much?
Thanks!