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. +x is towards the robot front, and +y is towards robot
left.
-
Field Summary
Modifier and TypeFieldDescriptiondouble
Location of the swerve module in inches from the center of the robot horizontally.double
Location of the swerve module in inches from the center of the robot vertically.double
Location of the swerve module in inches from the center of the robot horizontally.double
Location of the swerve module in inches from the center of the robot vertically. -
Constructor Summary
-
Method Summary
-
Field Details
-
front
public double frontLocation of the swerve module in inches from the center of the robot horizontally. -
x
public double xLocation of the swerve module in inches from the center of the robot horizontally. -
left
public double leftLocation of the swerve module in inches from the center of the robot vertically. -
y
public double yLocation of the swerve module in inches from the center of the robot vertically.
-
-
Constructor Details
-
LocationJson
public LocationJson()
-