Files
YAGSL/swervelib/parser/json/modules/LocationJson.java

19 lines
539 B
Java
Raw Normal View History

2023-02-13 17:21:24 -06:00
package swervelib.parser.json.modules;
2023-02-13 14:37:05 -06:00
/**
* 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.
2023-02-13 14:37:05 -06:00
*/
public class LocationJson
{
/**
* Location of the swerve module in inches from the center of the robot horizontally.
*/
public double front = 0, x = 0;
2023-02-13 14:37:05 -06:00
/**
* Location of the swerve module in inches from the center of the robot vertically.
*/
public double left = 0, y = 0;
2023-02-13 14:37:05 -06:00
}