Add initial shot table.
Also adjust the turret camera's mounting angle to match reality better
so the balls go in the middle of the goal.
Change-Id: Ifa0333fe5477002b7873f7cbfa0cf20c7b201d02
Signed-off-by: Austin Schuh <austin.linux@gmail.com>
diff --git a/y2022/www/field_handler.ts b/y2022/www/field_handler.ts
index 63e73c7..bda6828 100644
--- a/y2022/www/field_handler.ts
+++ b/y2022/www/field_handler.ts
@@ -308,7 +308,11 @@
}
if (this.superstructureStatus) {
this.shotDistance.innerHTML = this.superstructureStatus.aimer() ?
- this.superstructureStatus.aimer().shotDistance().toFixed(2) :
+ (this.superstructureStatus.aimer().shotDistance() /
+ 0.0254).toFixed(2) +
+ 'in, ' +
+ this.superstructureStatus.aimer().shotDistance().toFixed(2) +
+ 'm' :
'NA';
this.fire.innerHTML = this.superstructureStatus.fire() ? 'true' : 'false';