View Single Post
  #2   Spotlight this post!  
Unread 05-04-2010, 00:08
FRC4ME FRC4ME is offline
Registered User
FRC #0339
 
Join Date: Feb 2008
Rookie Year: 2007
Location: Fredericksburg, VA
Posts: 324
FRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant future
Re: What was the hardest to program this year in Java?

Oh, and I forgot to mention: finding and fixing bugs in WPI's code.

So far we're overriding three of WPI's classes with our own versions: PWM, because someone forgot to cast two integers to doubles before dividing them; Encoder, because someone divided by 0.25 when they should have divided by four; and DriverStation, because the scaling on the joystick axes is wrong (it goes from -1.0 to 0.9 rather than -1.0 to 1.0 due to the use of two's complement).

Not that I'm complaining; when volunteers write 20,000 lines of code there are bound to be a few errors. In fact, I'm glad WPILib isn't perfect, because then my programming team would have nothing to do after week one.
__________________
Go directly to queue. Do not pass pit.

Last edited by FRC4ME : 05-04-2010 at 09:24.
Reply With Quote