commit | 554cec00193fad93906e7a639936bf857da871fd | [log] [tgz] |
---|---|---|
author | Alex Perry <alex.perry96@gmail.com> | Sat Mar 23 20:15:12 2019 -0700 |
committer | Alex Perry <alex.perry96@gmail.com> | Sat Mar 23 22:15:36 2019 -0700 |
tree | a4222b74bfcb58ecfa5f9f8849cadb55db41718d | |
parent | 357f9b946b732499d2a105756890ba867f4bdfa6 [diff] [blame] |
Client code for robot position webpage. Change-Id: I935dfe7242cd4a8c5b9b3bc8d6e137d29786e0f1
diff --git a/y2019/vision/server/www/constants.ts b/y2019/vision/server/www/constants.ts new file mode 100644 index 0000000..6180df1 --- /dev/null +++ b/y2019/vision/server/www/constants.ts
@@ -0,0 +1,5 @@ +// Conversion constants to meters +export const IN_TO_M = 0.0254; +export const FT_TO_M = 0.3048; +// Width of the field in meters +export const FIELD_WIDTH = 27 * FT_TO_M;