Files
YAGSL/swervelib/parser/json/modules/LocationJson.java
thenetworkgrinch 6a40ec018e Updated swervelib
2023-02-13 14:37:05 -06:00

20 lines
557 B
Java

package frc.robot.subsystems.swervedrive2.swervelib.parser.json.modules;
/**
* 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.
*/
public class LocationJson
{
/**
* Location of the swerve module in inches from the center of the robot horizontally.
*/
public double x;
/**
* Location of the swerve module in inches from the center of the robot vertically.
*/
public double y;
}