Class MotorConfigDouble

java.lang.Object
swervelib.parser.json.MotorConfigDouble

public class MotorConfigDouble extends Object
Used to store doubles for motor configuration.
  • Field Details

    • drive

      public double drive
      Drive motor.
    • angle

      public double angle
      Angle motor.
  • Constructor Details

    • MotorConfigDouble

      public MotorConfigDouble()
      Default constructor.
    • MotorConfigDouble

      public MotorConfigDouble(double angle, double drive)
      Default constructor.
      Parameters:
      angle - Angle data.
      drive - Drive data.