xVal = -this.gyroController
.calcPID(this.driveTrain.getAngle() - this.driveTrain.getZeroAngle());
}
- // System.out.println("turn: " + xVal);
double leftDrive = yVal - xVal;
double rightDrive = yVal + xVal;
this.driveTrain.setMotorValues(leftDrive, rightDrive);
driveTrain.printEncoderOutput();
- // System.out.println("motorval: " + yVal);
}
@Override