Class SwerveDriveJson
java.lang.Object
swervelib.core.parser.json.SwerveDriveJson
SwerveDrive JSON parsed class. Used to access parsed data from the swervedrive.json file.-
Field Summary
FieldsModifier and TypeFieldDescriptionRobot Gyroscope used to determine the heading of the robot.Gyro axis that points up through the robot, one ofyaw,pitch, orroll.booleanInvert the Gyroscope heading of the robot.String[]Module JSONs in order clockwise order starting from front left. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
gyro
Robot Gyroscope used to determine the heading of the robot. -
gyroAxis
Gyro axis that points up through the robot, one ofyaw,pitch, orroll. Passed toSwerveDriveConfig.withGyroHeadingAxis(yams.core.mechanisms.config.enums.GyroAxis). -
gyroInvert
public boolean gyroInvertInvert the Gyroscope heading of the robot. -
modules
Module JSONs in order clockwise order starting from front left.
-
-
Constructor Details
-
SwerveDriveJson
public SwerveDriveJson()
-