Is anyone using X Drives this season? We are using one but won’t get the code to work. Any Ideas on how to fix it?
we are are you sure you are running your program and not using the simple drive mode? also are you sure that you are using the right inputs?
While I do use text projects more, it does seem like the code is getting confused with what it needs to do. If you just rearrange/ remove the last four blocks it should work fine.
Another way to do this is to map the controller buttons to angles of the stick (at least from what I heard with our coders when using 6 motor drive stick) and just put stop when the signal is no longer received. Something else that might be happening is the x drive itself jamming. Make sure that they are arranged in this setup
Wheel. Wheel.
Motor—- —-motor.
—-motor. Motor—-
Wheel. Wheel
This is for forward, and the dashes are the directions of motors.
I know where you got your code. If you mean it goes back while you want forward. Change the positives. But explain if not.
Like when my teammate drives the bot the controls are wonky. We use the typical left joystick is forward/back and right joystick is the turning function, but the code doesn’t match that layout and we’re having trouble getting it to that layout that my driver wants.
I know i keep asking questions, but what do you mean by wonky. And is the motors reversed that need it, reversed?
I get confused on what controller positions to use and when to use the positive and negative signs.
