public void drive( double xAxis, double yAxis, double mid) { // xaxis rotates, yaxis forward and back, mid goes side to side hDrive.arcadeDrive(yAxis, xAxis); middleMotor1.set(-mid); }
public void disable() { leftMotor.set(0.0); rightMotor.set(0.0); rightEncoder.reset(); leftEncoder.reset(); } // end disable