RMRobotics / FTC_5421_2014-2015

Assets for 2014-2015 Team 5421 FIRST Tech Challenge.
MIT License
6 stars 1 forks source link

Create Timer library (as programming exercise after autonomous is done) #66

Open jimmyli97 opened 9 years ago

jimmyli97 commented 9 years ago

This is a really good programming exercise for Josh, Daniel, Anika/whoever else wants to learn!

Basically, the way RobotC implements timers is very messy and has ridiculous limitations (you can't measure in milliseconds if you want to go past 30 seconds, you have to use centiseconds to get timer values up to 2 minutes, etc.). It also restricts us to using four timers.

If you guys are able to write a good timer library, that that's 1) great practice for you guys and 2) lets us get past these limtiations.

Of course Xander has already written a timer library that does all of this, but try not to look at it :) It's better if you guys practice on your own.