I have a question on the jumpers also, my code looks like this:
Code:
enum{
ARCADE_MODE = 1,
ENABLE_AUTONOMOUS = 2,
DRIVE = 3,
}jumpers;
....
....
void OperatorControl(void)
{
while(1)
{
if(ds->GetDigtalIn(DRIVE)==1)
{
myRobot->TankDrive(-rightstick->GetY(), -leftstick->GetY());
}
else
{
myRobot->Drive(-leftstick->GetY(), -rightstick->GetX());
}
}
}
This isn't really for competition reasons, except for merely trying to get the jumpers to work. When I don't plug in the jumper it drives like how the else statement is written, but when I put a jumper on jumper pin#3 on the driver station it doesn't go at all, and I've tried restarting the driver station and robot, and still same results, what is going on here? (I have counted the jumpers many times to make sure it was on the right one)