control loop timeout code now uses robot_state->outputs_enabled
The outputs_enabled flag falls low as soon as the robot disables the
outputs. They will stay at the last value that was commanded before
it disables for 100 ms, but we can conservatively tell the robot that
they are disabled at that point (since they practically are).
Change-Id: I47f883591dbe2e3696d3958a0ce4281232a5f1e1
diff --git a/y2016/joystick_reader.cc b/y2016/joystick_reader.cc
index bb966d7..af01a8b 100644
--- a/y2016/joystick_reader.cc
+++ b/y2016/joystick_reader.cc
@@ -488,7 +488,7 @@
bool is_expanding_ = false;
::aos::util::SimpleLogInterval no_drivetrain_status_ =
- ::aos::util::SimpleLogInterval(::aos::time::Time::InSeconds(0.2), WARNING,
+ ::aos::util::SimpleLogInterval(::std::chrono::milliseconds(200), WARNING,
"no drivetrain status");
};