Toggling between modes

Our team has gotten the basic functions down for tank control, and a button to run a certain motor, etc, but were having trouble with another part. It’s kind of confusing but i’ll try to explain what were aimed for.

When the trigger on the joystick (button 1) is NOT pressed, the forward/back axis (axis 2) will control one motor.
When the trigger on the joystick is pressed, the forward/back axis, will control both motors.

Hi there!

If I’m understanding you correctly, then it seems you could do something like this:

If you have any questions, feel free to ask!

  • Austin

Looks like a good starting point to me.

Greg McKaskle

Thanks! Exactly what i was looking for.