Upgraded the rest of Time.
Change-Id: I0ee083837e51d8f74a798b7ba14a3b6bb3859f35
diff --git a/y2016/vision/target_receiver.cc b/y2016/vision/target_receiver.cc
index 802c6e7..7ade8e7 100644
--- a/y2016/vision/target_receiver.cc
+++ b/y2016/vision/target_receiver.cc
@@ -201,8 +201,7 @@
status.FetchAnother();
::aos::MutexLocker locker(&lock_);
- data_[data_index_].time = monotonic_clock::time_point(
- chrono::nanoseconds(status->sent_time.ToNSec()));
+ data_[data_index_].time = status->sent_time;
data_[data_index_].left = status->estimated_left_position;
data_[data_index_].right = status->estimated_right_position;
++data_index_;
diff --git a/y2016/vision/vision.q b/y2016/vision/vision.q
index 872c9ae..47906dc 100644
--- a/y2016/vision/vision.q
+++ b/y2016/vision/vision.q
@@ -23,7 +23,7 @@
// The angle in radians of the bottom of the target.
double angle;
- // Capture time of the angle using the clock behind Time::Now().
+ // Capture time of the angle using the clock behind monotonic_clock::now().
int64_t target_time;
// The estimated positions of both sides of the drivetrain when the frame