public void tankDrive() { double left = OI.getInstance().getLeftStick().getY(); double right = OI.getInstance().getRightStick().getY(); drive.tankDrive(left, right); frontRight.set(RobotMap.REAR_RIGHT_MOTOR); frontLeft.set(RobotMap.REAR_LEFT_MOTOR); }
public void arcadeDrive() { drive.arcadeDrive(OI.getInstance().getLeftStick()); frontRight.set(RobotMap.REAR_RIGHT_MOTOR); frontLeft.set(RobotMap.REAR_LEFT_MOTOR); }