View Single Post
  #9   Spotlight this post!  
Unread 02-06-2010, 00:15
biojae's Avatar
biojae biojae is offline
Likes Omni drives :)
AKA: Justin Stocking
FTC #5011 (BOT SQUAD) && FTC#72(Garage bots)&& FRC#0399 (Eagle Robotics)
Team Role: College Student
 
Join Date: Oct 2008
Rookie Year: 2008
Location: Lancaster
Posts: 276
biojae is a jewel in the roughbiojae is a jewel in the roughbiojae is a jewel in the rough
Re: Java VS C++ || The Final Decision

As much as I like C++, Netbeans was an easier IDE to use.
Some of the things that made it easier were:
- Integrated Netconsole, Serial comms without a long cord, (connecting to the remote server never worked for us)
- Automatic reboot on download, when not using the debug mode, this saved lots of time
- Automatic file uploader, uploads the correct program file without going to a configuration page even when changing projects

Though, it seemed that there was a memory leak somewhere which would limit us in how many times we could upload / minutes open before we would have to restart netbeans.

And library support was a little lacking this year.
Only the vision libraries that were needed to get the vision tracking were ported.
To access any other parts of the NIvision libraries, JNA (Java Native Access) was required, (Writing a method in C++, compiling it in windriver, and then uploading it)

CAN support for the closed loop modes (current, position, speed) for java was the last language implemented, with a gap between Labview and C++.

But, even without all of the libraries, Java was perfectly capable language for programming the cRIO, and FRC robots.
__________________
FTC Team 72 - No site
FRC Team 399 - http://www.team399.org
2010 Rockwell Collins Innovation in Control Award - (Use of the CAN bus, among other reasons) Phoenix, Arizona!