robotdotnet / WPILib

DotNet implementation of WPILib for FIRST Robotics Competition (FRC)
27 stars 8 forks source link

Adds the official NavX MXP Code #85

Closed ThadHouse closed 8 years ago

ThadHouse commented 8 years ago

Turns out spinloops take too much code to run.

Changed Timer.Delay back to a Thread.Sleep, and added a PreciseDelay that will use a SpinLoop to work. NavX uses the regular delay.

This clones the official NavX code. It has all the features implements that the custom implementation didnt. So should be much more reliable.

codecov-io commented 8 years ago

Current coverage is 28.93%

Merging #85 into master will decrease coverage by -4.04% as of 01ee9c5

@@            master     #85   diff @@
======================================
  Files          114     121     +7
  Stmts         6973    7928   +955
  Branches       885    1029   +144
  Methods          0       0       
======================================
- Hit           2299    2294     -5
+ Partial        155     154     -1
- Missed        4519    5480   +961

Review entire Coverage Diff as of 01ee9c5

Powered by Codecov. Updated on successful CI builds.