Class AngleGearingJson

java.lang.Object
swervelib.parser.json.modules.AngleGearingJson

public class AngleGearingJson extends Object
Angle motor conversion factors composite JSON parse class.
  • Field Details

    • gearRatio

      public double gearRatio
      Reduction ratio for the motor to the wheel. X where "X:1"
  • Constructor Details

    • AngleGearingJson

      public AngleGearingJson()
  • Method Details

    • equals

      public boolean equals(DriveGearingJson o)
      Compare the gear ratio of this object to another.
      Parameters:
      o - Other DriveGearingJson to compare against.
      Returns:
      True if the gear ratios are equal.