Quote:
Originally Posted by Arhowk
Your teleop shooter is wrong, it should be like this
if(condition1)
shooter.set(speed)
else if(condition2)
shooter.set(otherspeed)
else
shooter.set(0)
endif
the way you have it up is
if(condition1)
shooter.set(speed)
else
shooter.set(0)
endif
if(condition2)
shooter.set(other)
else
shooter.set(0)
endif
If conditon1 is met, it will still be 0 because the second time around, its setting it to 0
|
i tried it but the shooter still doesn't work...