added and used Time support for Queue messages
diff --git a/frc971/input/sensor_receiver.cc b/frc971/input/sensor_receiver.cc
index 7648db8..3def0d7 100644
--- a/frc971/input/sensor_receiver.cc
+++ b/frc971/input/sensor_receiver.cc
@@ -138,8 +138,8 @@
                     const ::aos::time::Time &cape_timestamp,
                     State *state) {
   ::frc971::logging_structs::CapeReading reading_to_log(
-      cape_timestamp.sec(), cape_timestamp.nsec(),
-      sizeof(*data), sonar_translate(data->main.ultrasonic_pulse_length),
+      cape_timestamp, static_cast<uint16_t>(sizeof(*data)),
+      sonar_translate(data->main.ultrasonic_pulse_length),
       data->main.low_left_drive_hall, data->main.high_left_drive_hall,
       data->main.low_right_drive_hall, data->main.high_right_drive_hall);
   LOG_STRUCT(DEBUG, "cape reading", reading_to_log);
diff --git a/frc971/queues/to_log.q b/frc971/queues/to_log.q
index ded9b64..341d921 100644
--- a/frc971/queues/to_log.q
+++ b/frc971/queues/to_log.q
@@ -1,9 +1,8 @@
 package frc971.logging_structs;
 
 struct CapeReading {
-  uint32_t sec;
-  uint32_t nsec;
-  uint64_t struct_size;
+  Time time;
+  uint16_t struct_size;
   double sonar;
 
   uint16_t left_low;