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/constants.cc b/y2022/constants.cc
index fb2c602..88b0e90 100644
--- a/y2022/constants.cc
+++ b/y2022/constants.cc
@@ -132,8 +132,15 @@
// Interpolation table for comp and practice robots
r.shot_interpolation_table = InterpolationTable<Values::ShotParams>({
- {1, {0.03, 18.0}},
- {10, {0.03, 18.0}},
+ {1, {0.1, 19.0}},
+ {1.9, {0.1, 19.0}}, // 1.7 in reality
+ {2.12, {0.15, 18.8}}, // 2.006 in reality
+ {2.9, {0.25, 19.2}}, // 2.92 in reality
+ {3.8, {0.30, 20.8}}, // 3.8 in reality
+ {4.9, {0.32, 22.8}}, // 4.97 in reality
+ {6.9, {0.40, 24.0}}, // 6.1 in reality
+ {7.9, {0.40, 25.0}}, // 6.5 in reality
+ {10, {0.40, 24.0}},
});
switch (team) {