diff --git a/wpilibc/src/main/native/include/frc/apriltag/AprilTagFieldLayout.h b/wpilibc/src/main/native/include/frc/apriltag/AprilTagFieldLayout.h index 69a6b51846..ec2217be1b 100644 --- a/wpilibc/src/main/native/include/frc/apriltag/AprilTagFieldLayout.h +++ b/wpilibc/src/main/native/include/frc/apriltag/AprilTagFieldLayout.h @@ -29,7 +29,7 @@ namespace frc { * The "tags" object is a list of all AprilTags contained within a layout. Each * AprilTag serializes to a JSON object containing an ID and a Pose3d. The * "field" object is a descriptor of the size of the field in meters with - * "width" and "height" values. This is to account for arbitrary field sizes + * "width" and "length" values. This is to account for arbitrary field sizes * when mirroring the poses. * * Pose3ds are assumed to be measured from the bottom-left corner of the field, diff --git a/wpilibj/src/main/java/edu/wpi/first/wpilibj/apriltag/AprilTagFieldLayout.java b/wpilibj/src/main/java/edu/wpi/first/wpilibj/apriltag/AprilTagFieldLayout.java index 1659e9082b..22f7d2765d 100644 --- a/wpilibj/src/main/java/edu/wpi/first/wpilibj/apriltag/AprilTagFieldLayout.java +++ b/wpilibj/src/main/java/edu/wpi/first/wpilibj/apriltag/AprilTagFieldLayout.java @@ -28,7 +28,7 @@ import java.util.Optional; *

The JSON format contains two top-level objects, "tags" and "field". The "tags" object is a * list of all AprilTags contained within a layout. Each AprilTag serializes to a JSON object * containing an ID and a Pose3d. The "field" object is a descriptor of the size of the field in - * meters with "width" and "height" values. This is to account for arbitrary field sizes when + * meters with "width" and "length" values. This is to account for arbitrary field sizes when * mirroring the poses. * *

Pose3ds are assumed to be measured from the bottom-left corner of the field, when the blue @@ -176,13 +176,13 @@ public class AprilTagFieldLayout { public double fieldWidth; @SuppressWarnings("MemberName") - @JsonProperty(value = "height") + @JsonProperty(value = "length") public double fieldLength; @JsonCreator() FieldDimensions( @JsonProperty(required = true, value = "width") double fieldWidth, - @JsonProperty(required = true, value = "height") double fieldLength) { + @JsonProperty(required = true, value = "length") double fieldLength) { this.fieldWidth = fieldWidth; this.fieldLength = fieldLength; }