View Single Post
  #14   Spotlight this post!  
Unread 08-04-2010, 17:26
Egg 3141592654's Avatar
Egg 3141592654 Egg 3141592654 is offline
Now a mentor, always a student
FRC #0810 (Mechanical Bulls)
Team Role: Programmer
 
Join Date: Feb 2010
Rookie Year: 2008
Location: Long Island
Posts: 53
Egg 3141592654 is on a distinguished road
Re: What was the hardest to program this year in Java?

Quote:
Originally Posted by Lord_Jeremy View Post
For two days at our regional the robot didn't move on the field. It worked just fine in the pit, tethered and it worked fine at school on wireless. Eventually I solved the problem by reimaging the cRIO, but that was after the mentors had ordered me to remove the Java code I wrote and replace it with the default LabView code. (There was a lot of fighting about this. Apparently someone from another team that used Java but switched to LabView came over and said that the Java code was the problem.)
Interesting, because something similar happened, except by willingness of I. I have the robot coded in not just java, but in Labview as backup (boredom produces somewhat valuable things sometimes). Since I never had time to test either code before the robot was shipped, I scrapped the java code and perfected the Labview code. It was sad to see 4 days of hard work go to waste and STILL nothing worked (NOTE: it was not a code error that killed our robot, someone just wired all pwms backwards).

As for the actual question, hands down our parallel kicker. It wasn't the code itself, but the implementation and lag prevention that was very difficult.
__________________
"The answers to the book of life are not found in the back." Charlie Brown

Software Mentor - Team Apex Robotics 5803

Lead Programmer - Team 810 Mechanical Bulls '09-'11
Reply With Quote