RobotDrive problem

I’m currently having some trouble with the robotdrive class with 2 jaguar attached to pwm 1 (left) and pwm3 (right).

I call .drive(1.0, 0) and the pwm3 jaguar moves backwards (blinking red) and the pwm1 jaguar moves forward.

If I do rightjaguar.set(1.0), the right jaguar will go forward.

What’s going on?

The method should drive one motor forward and the other reversed. This is because the motors are typically mounted left/right both facing in opposite directions. You can invert a single motor by using the RobotDrive.setInvertedMotor() method.


I was gonna say exactly what Brad said.