blob: d6ecfaf815fe6035f459abb478e783a3d33532c7 [file] [log] [blame]
Ariv Diggi0af59c02023-10-07 13:15:39 -07001// Conversion constants to meters
2export const IN_TO_M = 0.0254;
3export const FT_TO_M = 0.3048;
4// Dimensions of the field in meters
5// Numbers are slightly hand-tuned to match the PNG that we are using.
6export const FIELD_WIDTH = 26 * FT_TO_M + 7.25 * IN_TO_M;
7export const FIELD_LENGTH = 54 * FT_TO_M + 5.25 * IN_TO_M;
8