Quote:
Originally Posted by Mr.Roboto3335
Our motors are backwards and my team does not want to reverse the wiring. How do I reverse the motors with Java?
|
An easy way to do it is just put in the opposite power level. So if you want 0.5 power put in -0.5 instead.
Quote:
public void drive(double leftPower, double rightPower) {
robotDrive.tankDrive(-leftPower, -rightPower);
}
|