commit | adf2cde48445f7947b98c1995ec44ec2ac39a1e9 | [log] [tgz] |
---|---|---|
author | Austin Schuh <austin@peloton-tech.com> | Sun Nov 08 20:35:16 2015 -0800 |
committer | Austin Schuh <austin@peloton-tech.com> | Sun Nov 08 21:24:25 2015 -0800 |
tree | 0875ab31dd44209fb3a0e9bbe6c02d26f11cbeb4 | |
parent | 0e997732d025d9b2d471b8e3989122bd62020199 [diff] [blame] |
Switched to 5ms cycles on the control loops. Change-Id: I1aae3b30a9c422f1920ccb1c15e035ae847f85a9
diff --git a/y2014/wpilib/wpilib_interface.cc b/y2014/wpilib/wpilib_interface.cc index f636dee..59cced3 100644 --- a/y2014/wpilib/wpilib_interface.cc +++ b/y2014/wpilib/wpilib_interface.cc
@@ -252,7 +252,7 @@ ::aos::SetCurrentThreadRealtimePriority(kPriority); while (run_) { - ::aos::time::PhasedLoopXMS(10, 9000); + ::aos::time::PhasedLoopXMS(5, 4000); RunIteration(); }