Auto Exposure:
- Filter results down to the three best.
- Changing exposure based on distance to the target or at random.
- Plumb exposure through the debug framework.
- Refactor into target finder.
Change-Id: Ia083f56859938bf0825472fd15d248c545f6f2fc
diff --git a/y2019/vision/target_geometry.cc b/y2019/vision/target_geometry.cc
index de76acb..212759a 100644
--- a/y2019/vision/target_geometry.cc
+++ b/y2019/vision/target_geometry.cc
@@ -254,6 +254,7 @@
::aos::math::NormalizeAngle(IR.backup_extrinsics.r1);
IR.backup_extrinsics.r2 =
::aos::math::NormalizeAngle(IR.backup_extrinsics.r2);
+ IR.target_width = target.width();
// Ok, let's look at how perpendicular the corners are.
// Vector from the outside to inside along the top on the left.