Package swervelib.parser.json.modules
Class ConversionFactorsJson
java.lang.Object
swervelib.parser.json.modules.ConversionFactorsJson
Conversion Factors parsed JSON class
-
Field Summary
Modifier and TypeFieldDescriptionAngle motor conversion factors composition.Drive motor conversion factors composition. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Check if the conversion factors are set for the angle motor.boolean
Check if the conversion factors are set for the drive motor.
-
Field Details
-
drive
Drive motor conversion factors composition. -
angle
Angle motor conversion factors composition.
-
-
Constructor Details
-
ConversionFactorsJson
public ConversionFactorsJson()
-
-
Method Details
-
isDriveEmpty
public boolean isDriveEmpty()Check if the conversion factors are set for the drive motor.- Returns:
- Empty
-
isAngleEmpty
public boolean isAngleEmpty()Check if the conversion factors are set for the angle motor.- Returns:
- Empty
-