Package swervelib.parser.json.modules
Class LocationJson
java.lang.Object
swervelib.parser.json.modules.LocationJson
Location JSON parsed class. Used to access the JSON data. Module locations, in inches, as distances to the center of
the robot. Positive x is torwards the robot front, and * +y is torwards robot left.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
x
public double xLocation of the swerve module in inches from the center of the robot horizontally. -
y
public double yLocation of the swerve module in inches from the center of the robot vertically.
-
-
Constructor Details
-
LocationJson
public LocationJson()
-