Exemplo n.º 1
0
  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);
  }
Exemplo n.º 2
0
  public void arcadeDrive() {
    drive.arcadeDrive(OI.getInstance().getLeftStick());

    frontRight.set(RobotMap.REAR_RIGHT_MOTOR);
    frontLeft.set(RobotMap.REAR_LEFT_MOTOR);
  }