View Single Post
  #1   Spotlight this post!  
Unread 24-06-2012, 20:11
jhellr13 jhellr13 is offline
Registered User
FRC #4272
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: US
Posts: 187
jhellr13 is an unknown quantity at this point
Question Code Check Please!

Over the past few days, I have been working on taking my labview code from this previous year and converting it to java. I have some knowledge of java from taking AP Computer Science this previous school year, and learned some stuff from looking around on here and the API. I believe I wrote the code code somewhat correctly, but I am not with the robot so I cannot run it to see. I was wondering if anyone could look it over. Give some tips, find any problems, help me out.

I have commented most of my code, so it will hopefully be easy to understand.
My main concerns are if I did the limit switches correctly, my drive system, relays, autonomous, my tasks that run over time(there is one servo where this is done, and the thrower motor), and how I initialized all my variables.

If you have any questions regarding the code or how our robot operated, please ask! I will help you out to the best of my ability.

Here is the code: http://code.google.com/p/jared-1751-...ource/checkout

Thank you!!!
Reply With Quote