Go to Post 50% of the time that 330 used mcmaster 2717T51, we went to Einstein. Your mileage may vary. - Joe Ross [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
View Poll Results: Does your team use Java or C++ for programming your robot?
Java 35 51.47%
C++ 33 48.53%
Voters: 68. You may not vote on this poll

Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 01-06-2010, 22:10
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: Java VS C++ || The Final Decision

If I had to choose between C++ and Java, I would choose C++ for robot programming:

1. The gigantic advantage Java has over C++ is that it can make pretty GUI's. However, that is completely useless in cRio programming as there is no GUI interface.

2. This year, Java was on its first year and C++ was on its second, however the old control system has been using C since 2004. C/C++ is much more proven and tested in FRC robotics as of now then Java.

3. I already know C++. I don't already know Java. I also know and like LabVIEW.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
  #2   Spotlight this post!  
Unread 01-06-2010, 22:44
LavaEagle LavaEagle is offline
Registered User
FRC #2660
 
Join Date: Oct 2009
Location: WA
Posts: 22
LavaEagle is an unknown quantity at this point
Re: Java VS C++ || The Final Decision

Quote:
Originally Posted by apalrd View Post
If I had to choose between C++ and Java, I would choose C++ for robot programming....
You sir make a very good point.
  #3   Spotlight this post!  
Unread 02-06-2010, 00:06
timothyb89 timothyb89 is offline
code monkey
FRC #1977 (Loveland High Robotics)
Team Role: Alumni
 
Join Date: Oct 2008
Rookie Year: 2009
Location: Loveland, Colorado
Posts: 45
timothyb89 will become famous soon enough
Re: Java VS C++ || The Final Decision

Quote:
Originally Posted by apalrd View Post
If I had to choose between C++ and Java, I would choose C++ for robot programming:

1. The gigantic advantage Java has over C++ is that it can make pretty GUI's. However, that is completely useless in cRio programming as there is no GUI interface.

2. This year, Java was on its first year and C++ was on its second, however the old control system has been using C since 2004. C/C++ is much more proven and tested in FRC robotics as of now then Java.

3. I already know C++. I don't already know Java. I also know and like LabVIEW.
1. Trust me when I say that Java is *much* more capable than that. Desktop Java, as in version 1.6 with standard libraries is considerably more capable than vanilla C++. Even with the limited version you get on the cRIO (Java 1.3 with J2ME libraries) you can still do plenty. I have plenty of examples if you'd like .

2. With a new and different environment (the cRIO) you can hardly call it 'proven'. The (completely) new C libraries only have a year's head start on their Java equivalent, and having used both, I can say that both work very well.

3. A valid point, but I'd certainly recommend you give it a try- in most cases the syntax is identical or even simpler than a C/++ equivalent so the learning curve is actually quite small.

Quote:
Originally Posted by Alan Anderson
So is the provided FRC dashboard application.
That doesn't make it good. Trust me when I say that's one of the most inefficient programs I've seen in a long time. I honestly feel bad for the processor on our XO laptop while it (the dashboard) is running- the CPU usage shoots up to 100% rendering something that should barely take any CPU at all.

My opinion on LabVIEW: It may make coding convenient or easy, but that doesn't make it better than other tools.
__________________
FRC-DB: A detailed, web-based scouting database for FRC teams with lots of interesting statistics.

Last edited by timothyb89 : 02-06-2010 at 01:58. Reason: C++ -> vanilla C++
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dean Kamen wrestles with decision: should he quit the Segway? Leon Machado IV FIRST In the News... 4 13-01-2009 16:07
Worst Decision of the Week! JJMax7 General Forum 44 08-03-2006 00:49
The decision of indecision on FIRST's part. cdawzrd General Forum 14 18-01-2005 21:41
pic: The First Big Decision CD47-Bot Extra Discussion 3 10-05-2004 17:57
pic: The final...final match CD47-Bot Extra Discussion 4 17-04-2003 16:24


All times are GMT -5. The time now is 03:31.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi