Improve localizer update debugging
* Only send LocalizerDebug messages when something interesting happens.
* On debug field, draw both the implied robot position of the update as
well as the camera position.
* Indicate accepted vs. rejected images via red/green colors.
* Leave old corrections on the display for 2 seconds and gradually fade
them out.
* Add aggregate statistics about why we are rejecting image corrections
to the readouts table.
Change-Id: Ibc3397cb5654aacbc6cce4e5f3eb71f0371692cc
Signed-off-by: James Kuszmaul <jabukuszmaul@gmail.com>
diff --git a/y2020/www/field.html b/y2020/www/field.html
index 14ebfb0..5b486ea 100644
--- a/y2020/www/field.html
+++ b/y2020/www/field.html
@@ -50,6 +50,14 @@
<div> Intake </div>
<div id="intake"> NA </div>
</div>
+ <div>
+ <div> Images Accepted </div>
+ <div id="images_accepted"> NA </div>
+ </div>
+ <div>
+ <div> Images Rejected </div>
+ <div id="images_rejected"> NA </div>
+ </div>
</div>
</body>
</html>