Upgraded the rest of Time.
Change-Id: I0ee083837e51d8f74a798b7ba14a3b6bb3859f35
diff --git a/y2015/constants.h b/y2015/constants.h
index eed5616..8cefe7e 100644
--- a/y2015/constants.h
+++ b/y2015/constants.h
@@ -3,9 +3,10 @@
#include <stdint.h>
+#include "aos/common/time.h"
+#include "frc971/constants.h"
#include "frc971/control_loops/state_feedback_loop.h"
#include "frc971/shifter_hall_effect.h"
-#include "frc971/constants.h"
namespace y2015 {
namespace constants {
@@ -76,7 +77,7 @@
// Time between sending commands to claw opening pistons and them reaching
// the new state.
- double piston_switch_time;
+ ::aos::monotonic_clock::duration piston_switch_time;
// How far on either side we look for the index pulse before we give up.
double zeroing_range;
};