Quote:
Originally Posted by compboy07
OK, so for simple working code, you'll want something like this in your main loop (having initialized the respective joystick and victors, of course).
lazySusanVictor.set(yourJoystick.getX());
if (yourJoystick.getRawButton(buttonTriggerNumber)) shooterVictor.set(1);
else shooterVictor.set(0);
|
Thank you, but What do you mean by 'shooterVictor'? The shooter mechanism will be using a
Banebots motor. We have one victor we will be using- which would be the lazySusanVictor -to turn it left and right. As a rookie, Not sure how this motor would be added or implemented into the code.
Thanks.
And thanks DominickC-not the answer I was hoping for, but thanks for the answer all the same.
