Override Hood and Shooter goals with vision distance

Change-Id: I9741880fe7f96cf4208ca2cf75d584d683a30cea
diff --git a/y2017/control_loops/superstructure/BUILD b/y2017/control_loops/superstructure/BUILD
index 797791f..307b8c5 100644
--- a/y2017/control_loops/superstructure/BUILD
+++ b/y2017/control_loops/superstructure/BUILD
@@ -23,6 +23,7 @@
     'superstructure.h',
   ],
   deps = [
+    ':vision_distance_average',
     ':superstructure_queue',
     '//aos/common/controls:control_loop',
     '//y2017/control_loops/superstructure/column',
@@ -96,3 +97,27 @@
     '//aos/testing:test_shm',
   ],
 )
+
+cc_library(
+  name = 'vision_distance_average',
+  hdrs = [
+    'vision_distance_average.h',
+  ],
+  deps = [
+    '//aos/common:time',
+    '//aos/common:ring_buffer',
+    '//y2017/vision:vision_queue',
+  ],
+)
+
+cc_test(
+  name = 'vision_distance_average_test',
+  srcs = [
+    'vision_distance_average_test.cc',
+  ],
+  deps = [
+    ':vision_distance_average',
+    '//aos/common:time',
+    '//aos/testing:googletest',
+  ],
+)