Package com.thunder.lib.trajectory
Class FieldDimensions
java.lang.Object
com.thunder.lib.trajectory.FieldDimensions
Represents the dimensions of a FRC field.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFieldDimensions(double length, double width) Constructs FieldDimensions with the specified length and width. -
Method Summary
-
Field Details
-
length
public final double lengthLength of the field in meters (Y dimension). -
width
public final double widthWidth of the field in meters (X dimension).
-
-
Constructor Details
-
FieldDimensions
public FieldDimensions(double length, double width) Constructs FieldDimensions with the specified length and width.- Parameters:
length- Length in meters.width- Width in meters.
-