Package swervelib.parser.json.modules
Class AngleGearingJson
java.lang.Object
swervelib.parser.json.modules.AngleGearingJson
Angle motor conversion factors composite JSON parse class.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the gear ratio of this object to another.
-
Field Details
-
gearRatio
public double gearRatioReduction ratio for the motor to the wheel. X where "X:1"
-
-
Constructor Details
-
AngleGearingJson
public AngleGearingJson()
-
-
Method Details
-
equals
Compare the gear ratio of this object to another.- Parameters:
o- OtherDriveGearingJsonto compare against.- Returns:
- True if the gear ratios are equal.
-