RobotC Joystick Help

Hey, I don’t know if this is the right place or not, but I’m trying to figure out how to make two motors go to one joystick. Ch3, and Ch2.
We have 4 wheels, originally only the back 2 wheels had a motor. We added motors to the front two wheel also, and I can’t figure out how to make both right wheels go to the right joystick, and both left wheel go to the left joystick.

		motor[leftMotor1]  = (vexRT[Ch2] + vexRT[Ch1])/2;
		motor[leftMotor2]  = (vexRT[Ch2] + vexRT[Ch1])/2;
		motor[rightMotor] = (vexRT[Ch2] - vexRT[Ch1])/2;
		motor[rightMotor] = (vexRT[Ch2] - vexRT[Ch1])/2;

Something just like this should work perfectly fine. :}

In robotC menus, go: File > Open Sample Program > Remote Control > Dual Joystick Control with 4 Motors.c. There you will find a file that does what you are asking about, with explanatory comments.

Those sample programs are a great place to start.

Ya, that really doesn’t do what he asked.
1 that’s arcade
2 that will never run all the motors at full power for some reason.

I think you are talking about tank drive, are you?
It should be as simple as this(you may have to edit the ports n stuffins):

task main {
while (1==1) {