mirror of
https://github.com/BroncBotz3481/YAGSL
synced 2026-06-19 06:21:40 +00:00
Updated swervelib
This commit is contained in:
19
swervelib/parser/json/modules/LocationJson.java
Normal file
19
swervelib/parser/json/modules/LocationJson.java
Normal file
@@ -0,0 +1,19 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user