
04-22-2010, 05:26 AM
|
|
National Instruments
AKA: Joe Hershberger
 FRC #2468 (Appreciate)
Team Role: Mentor
|
|
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
|
|
|
Re: What was the hardest to program this year in Java?
Quote:
Originally Posted by FRC4ME
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. 
|
Have you reported all the bugs you found so that the library can be improved for everyone? Even better would be patches that implement the fixes.
Visit http://firstforge.wpi.edu/sf/tracker...wpilib/tracker to report bugs!
Thanks,
-Joe
|