Override Hood and Shooter goals with vision distance

Change-Id: I9741880fe7f96cf4208ca2cf75d584d683a30cea
diff --git a/aos/common/ring_buffer.h b/aos/common/ring_buffer.h
index 331991a..693ac95 100644
--- a/aos/common/ring_buffer.h
+++ b/aos/common/ring_buffer.h
@@ -26,8 +26,13 @@
     }
   }
 
+  void Shift() {
+    oldest_ = (oldest_ + 1) % buffer_size;
+    --size_;
+  }
+
   // Return the value of the index requested, adjusted so that the RingBuffer
-  // contians the oldest element first and the newest last.
+  // contains the oldest element first and the newest last.
   Data &operator[](size_t index) {
     return data_[(oldest_ + index) % buffer_size];
   }