Fix turret calibration
* The calibration for the turret position was messed up following the
turret work done earlier.
* The camera extrinsics were absurdly far off.
Change-Id: Ife97b85a4ac426038b7ca30e6b9994597ff81810
Signed-off-by: James Kuszmaul <jabukuszmaul+collab@gmail.com>
diff --git a/y2020/constants.cc b/y2020/constants.cc
index 3f5cd2a..1336411 100644
--- a/y2020/constants.cc
+++ b/y2020/constants.cc
@@ -138,9 +138,11 @@
1.42977866919024 - Values::kIntakeZero();
turret->potentiometer_offset = 5.52519370141247 + 0.00853506822980376 +
- 0.0109413725126625 - 0.223719825811759;
+ 0.0109413725126625 - 0.223719825811759 +
+ 0.261356551915472;
+ ;
turret_params->zeroing_constants.measured_absolute_position =
- 0.547478339799516;
+ 0.588553036694566;
hood->zeroing_constants.measured_absolute_position = 0.0344482433884915;
hood->zeroing_constants.single_turn_measured_absolute_position =