Class MotorConfigInt

java.lang.Object
swervelib.parser.json.MotorConfigInt

public class MotorConfigInt extends Object
Used to store ints for motor configuration.
  • Field Details

    • drive

      public int drive
      Drive motor.
    • angle

      public int angle
      Angle motor.
  • Constructor Details

    • MotorConfigInt

      public MotorConfigInt()
      Default constructor.
    • MotorConfigInt

      public MotorConfigInt(int drive, int angle)
      Default constructor with values.
      Parameters:
      drive - Drive data.
      angle - Angle data.