Skip to content

Commit 46c53a7

Browse files
authored
Updating Field Coordinate System with DECODE (#365)
1 parent d6a0cea commit 46c53a7

File tree

2 files changed

+29
-10
lines changed

2 files changed

+29
-10
lines changed

docs/source/game_specific_resources/field_coordinate_system/field-coordinate-system.rst

Lines changed: 29 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -122,22 +122,41 @@ Square Field
122122
The Into The Deep game field
123123

124124
In a square field configuration the two Alliances face each other across the field.
125-
The field is oriented such that the Red Wall is on the right as seen from the audience.
126-
The Y axis points across the field from the Red Wall towards the Blue Alliance.
127-
The X axis points away from the audience to the rear of the field.
125+
126+
* The field is oriented such that the Red Wall is on the right as seen from the audience.
127+
* The Y axis points across the field from the Red Wall towards the Blue Alliance.
128+
* The X axis points away from the audience to the rear of the field.
129+
130+
Square Field (Inverted ALLIANCE AREA)
131+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
132+
133+
.. figure:: images/decode-field.png
134+
:alt: A square field with X, Y and Z axes shown, with inverted ALLIANCE AREA.
135+
136+
The DECODE game field
137+
138+
The DECODE game field is essentially a square field, but the red and blue ALLIANCE
139+
AREAS are swapped from their typical configuration (red ALLIANCE AREA on the left
140+
when viewed from the audience). In this configuration, the X and Y axes are "inverted"
141+
in which direction the positive axis points. This is still consistent with the field
142+
coordinate system definition, but the field is inverted.
143+
144+
* The field is oriented such that the Red Wall is on the left as seen from the audience.
145+
* The Y axis points across the field from the Red Wall towards the Blue Alliance.
146+
* The X axis points towards the audience to the front of the field.
147+
128148

129149
Coordinate Position Example
130150
---------------------------
131151

132-
Let's consider the coordinates (0, -24, 26) in inches on the Into The Deep field, which is a square field.
133-
Given the order of coordinates then X = 0, Y = -24, and Z = 26.
152+
Let's consider the coordinates (-58.3727, 55.6425, 29.5) in inches on the DECODE field, which is a square field with inverted red/blue.
153+
Given the order of coordinates then X = -58.3727, Y = 55.6425, and Z = 29.5.
134154

135-
The X axis value of 0 is located at the origin in the center of the field.
136-
The Y axis value of negative 24 would be located closer to the Red Wall, away from the origin by the width of one tile.
137-
This the center of the wall of the submersible structure on the red side of the field.
155+
* The X axis value of -58.3727 is located deep in the back (away from the Audience Wall) of the field.
156+
* The Y axis value of 55.6425 would be located closer to the Blue Wall, about a 3/4 tile length from the Blue wall.
157+
* The Z axis value of 29.5 is 29.5 inches above the field tiles.
138158

139-
The Z axis value of 26 indicates the coordinates refer to the center and top of the Red Alliance "high chamber"
140-
(which is the higher of the two red crossbars).
159+
This set of coordinates is the center of the Red Goal AprilTag on the Red Goal.
141160

142161
Measured Values
143162
---------------
115 KB
Loading

0 commit comments

Comments
 (0)