Class LocationJson

java.lang.Object
swervelib.parser.json.modules.LocationJson

public class LocationJson extends Object
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 Details

    • front

      public double front
      Location of the swerve module in inches from the center of the robot horizontally.
    • left

      public double left
      Location of the swerve module in inches from the center of the robot vertically.
  • Constructor Details

    • LocationJson

      public LocationJson()