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

31 lines
752 B
Java

package frc.robot.subsystems.swervedrive2.swervelib.parser.json;
/**
* {@link frc.robot.subsystems.swervedrive2.swervelib.SwerveDrive} JSON parsed class. Used to access parsed data from
* the swervedrive.json file.
*/
public class SwerveDriveJson
{
/**
* Maximum robot speed in feet per second.
*/
public double maxSpeed;
/**
* Optimal voltage to compensate to and base feedforward calculations off of.
*/
public double optimalVoltage;
/**
* Robot IMU used to determine heading of the robot.
*/
public DeviceJson imu;
/**
* Invert the IMU of the robot.
*/
public boolean invertedIMU;
/**
* Module JSONs in order clockwise order starting from front left.
*/
public String[] modules;
}