Go to Post What else could you do with a t-shirt? Wait... never mind... I retract my previous statement and realized this is FIRST and we can do anything with anything. ;) - Jeremiah Johnson [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 11-10-2012, 17:08
inkspell4's Avatar
inkspell4 inkspell4 is offline
Registered User
FRC #3650 (Robo Raptors)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Maryland
Posts: 326
inkspell4 will become famous soon enough
Chosing a Programming Language

Can anyone who has a pro or con for java,c++, or labview for FRC please post them here along with your team number and the programming language your team uses

Thanks
__________________
Chesapeake Regional : 2013, 2012, 2011
Rookie Year: 2011
2013 RoboRaptors Team 3650 Programming Team Captain
Team Website : http://www.roboraptorsfrcteam3650.com/index.html
_____________________________________________
Reply With Quote
  #2   Spotlight this post!  
Unread 11-10-2012, 17:11
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,124
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Chosing a Programming Language

Quote:
Originally Posted by inkspell4 View Post
Can anyone who has a pro or con for java,c++, or labview for FRC please post them here along with your team number and the programming language your team uses

Thanks
If you do just a bit of searching, you'll find hundreds of posts about this topic. They're worth reading.


Reply With Quote
  #3   Spotlight this post!  
Unread 11-10-2012, 17:12
MARS_James's Avatar
MARS_James MARS_James is offline
Always Scouting
AKA: James Comstock
FRC #0179 (The Children of The Swamp)
Team Role: Tactician
 
Join Date: Jan 2010
Rookie Year: 2006
Location: Jupiter, Florida
Posts: 1,968
MARS_James has a reputation beyond reputeMARS_James has a reputation beyond reputeMARS_James has a reputation beyond reputeMARS_James has a reputation beyond reputeMARS_James has a reputation beyond reputeMARS_James has a reputation beyond reputeMARS_James has a reputation beyond reputeMARS_James has a reputation beyond reputeMARS_James has a reputation beyond reputeMARS_James has a reputation beyond reputeMARS_James has a reputation beyond repute
Send a message via AIM to MARS_James
Re: Chosing a Programming Language

This might help you out:

Similar Thread Premise

But to answer your question 1523 used:
2005-2008 C++
2009-2010 Java
2011-Now Labview

Labview has been the easiest to teach
__________________
Driving Record: 24-8
Coaching Record: 66-31
2014 South Florida Regional Woodie Flowers Finalist


Reply With Quote
  #4   Spotlight this post!  
Unread 11-10-2012, 18:05
connor.worley's Avatar
connor.worley connor.worley is offline
Registered User
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Mar 2011
Rookie Year: 2010
Location: Berkeley/San Diego
Posts: 601
connor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond repute
Re: Chosing a Programming Language

Use what you know how to. If you need to learn one, LabVIEW is widely supported in FRC, but Java is also popular due to its use in AP CS classes. Despite C++'s lesser popularity, we use it because our mentor and I are most comfortable with it.
__________________
Team 973 (2016-???)
Team 5499 (2015-2016)
Team 254 (2014-2015)

Team 1538 (2011-2014)
2014 Driver (25W 17L 1T)
日本語でOK

Last edited by connor.worley : 11-10-2012 at 18:16.
Reply With Quote
  #5   Spotlight this post!  
Unread 11-10-2012, 18:09
inkspell4's Avatar
inkspell4 inkspell4 is offline
Registered User
FRC #3650 (Robo Raptors)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Maryland
Posts: 326
inkspell4 will become famous soon enough
Re: Chosing a Programming Language

I thought that C++ was more popular than java with FRC teams
__________________
Chesapeake Regional : 2013, 2012, 2011
Rookie Year: 2011
2013 RoboRaptors Team 3650 Programming Team Captain
Team Website : http://www.roboraptorsfrcteam3650.com/index.html
_____________________________________________
Reply With Quote
  #6   Spotlight this post!  
Unread 11-10-2012, 19:04
ttldomination's Avatar
ttldomination ttldomination is offline
Sunny
no team
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 2007
Location: Roanoke, TX
Posts: 2,066
ttldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond repute
Re: Chosing a Programming Language

Quote:
Originally Posted by inkspell4 View Post
I thought that C++ was more popular than java with FRC teams
C++ appears popular due to it's increased use in the upper echelon, and you'll find no lack of teams who run C++ on these forums. However, connor hit the nail on the head with those descriptions, which also describes why my team is going down the C++/C road.

- Sunny G.
__________________
1261: 2007-2012
1648: 2013-2014
5283: 2015
Reply With Quote
  #7   Spotlight this post!  
Unread 11-10-2012, 22:35
F22Rapture's Avatar
F22Rapture F22Rapture is offline
College Student, Mentor
AKA: Daniel A
FRC #3737 (4H Rotoraptors)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Goldsboro, NC
Posts: 476
F22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant future
Re: Chosing a Programming Language

If you're a starting team with no programming experience whatsoever, LabView is the best choice because of the comprehensive documentation available.

If you have students with some programming experience, Java might be more useful. Most computer programming classes in high schools teach in Java. It's a bit more flexible than LabView, it's easier to write very complex programs, and once the students leave FIRST Java and C++ will both be more useful later on than Labview would be.

If you have a team with a lot of time and resources, C++ is worth a shot, though I don't necessarily think in the context of FRC that C++ is necessary. C++ is the "fastest" of the three, but the cRIO (and definitely the cRIO II) is fast enough to handle any language without problems. Any vision processing should be handled on the driver station, so that shouldn't even be an issue. C++ is harder to debug than Java, and Windriver is a ... well ... pos. Overall it's much easier to produce working code in Java. But it does have a few advantages that might make up for it if your team has the ability to debug all the issues.
__________________
Research is what I’m doing when I don’t know what I’m doing.
- Wernher von Braun
Attending: Raleigh NC Regional
Reply With Quote
  #8   Spotlight this post!  
Unread 11-10-2012, 23:08
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: Chosing a Programming Language

Quote:
Originally Posted by F22Rapture View Post
If you have students with some programming experience, Java might be more useful. Most computer programming classes in high schools teach in Java. It's a bit more flexible than LabView, it's easier to write very complex programs, and once the students leave FIRST Java and C++ will both be more useful later on than Labview would be.
While this might be true for "desktop" programming (the kind taught by most Comp Sci programs), I respectfully disagree.

LabVIEW is used a lot in industry for what it was originally designed for - instrumentation and testing. Many test setups I know of use NI hardware and run LabVIEW code. LV is an important skill for many engineers who aren't CS's.

LabVIEW is also an extremely powerful language. There is nothing that I know of that is simply impossible (although a few things are tricky). The FIRST libraries are also fairly easy to use from a users perspective (although there are a few design quirks that are clear marks of different code authors not collaborating closely enough - "To Digital Source" for encoders is a great example).

I also don't see any reason why Java or C++ would be harder to debug than the other - Your basically limited to printf's/language equivalents in any form, and most FRC operations don't touch pointer math so you shouldn't get segfaults with no explanation (which are almost always the worst to debug).
__________________
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
Reply With Quote
  #9   Spotlight this post!  
Unread 12-10-2012, 00:40
F22Rapture's Avatar
F22Rapture F22Rapture is offline
College Student, Mentor
AKA: Daniel A
FRC #3737 (4H Rotoraptors)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Goldsboro, NC
Posts: 476
F22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant future
Re: Chosing a Programming Language

Quote:
Originally Posted by apalrd View Post
While this might be true for "desktop" programming (the kind taught by most Comp Sci programs), I respectfully disagree.

LabVIEW is used a lot in industry for what it was originally designed for - instrumentation and testing. Many test setups I know of use NI hardware and run LabVIEW code. LV is an important skill for many engineers who aren't CS's.

LabVIEW is also an extremely powerful language. There is nothing that I know of that is simply impossible (although a few things are tricky). The FIRST libraries are also fairly easy to use from a users perspective (although there are a few design quirks that are clear marks of different code authors not collaborating closely enough - "To Digital Source" for encoders is a great example).

I also don't see any reason why Java or C++ would be harder to debug than the other - Your basically limited to printf's/language equivalents in any form, and most FRC operations don't touch pointer math so you shouldn't get segfaults with no explanation (which are almost always the worst to debug).
Fair enough, I'm well aware that LabView is very well-used in embedded and analytical systems, but my point was that for the majority of students a more conventional programming language would probably be more useful. Java, C++, and C# are 3 of the most-used languages on the planet, and they're all quite similar in many respects.

As for debugging, I probably generalized a bit more than I should have, though Java does have a few extra debugging features such as printstacktrace()
__________________
Research is what I’m doing when I don’t know what I’m doing.
- Wernher von Braun
Attending: Raleigh NC Regional
Reply With Quote
  #10   Spotlight this post!  
Unread 12-10-2012, 01:41
daniel_dsouza daniel_dsouza is offline
does what needs to be done.
FRC #2449 (Out of Orbit Robotics)
Team Role: Alumni
 
Join Date: May 2011
Rookie Year: 2011
Location: Chandler, AZ
Posts: 231
daniel_dsouza has a spectacular aura aboutdaniel_dsouza has a spectacular aura about
Re: Chosing a Programming Language

There are dozens of other threads out there, some discussing the finer points between languages. But to answer your question:

We use Java. If we were to pick a second, we'd pick C++, and Labview last. Our mentors are fluent in Java, so we use Java. Personally, the write, debug, repeat cycle is much faster for me on Java, but I haven't used too many of WindRiver's amazing features yet.

JAVA:
- Quick code deploy
- easy to read
- not as much image support, but its enough for many teams' needs
- free programming platforms (netbeans, eclipse), no license, year round development
- Java ME (the software on robot) is older
- For FRC purposes, is just as fast as C++
- great for that AP test
- easy to teach...very important

C++:
- Quick code deploy
- options to choose permanent, or stay-till-robot-reboots deploy
- there is a windriver license, and you need discs
- provides an opportunity to use Python
- C++ is used for a wide variety of everything
- a great excuse to take advantage of MS dreamspark (if you want to explore Visual Studio), who gave us vouchers in the KOP.

Labview:
- can't give you much here, haven't used it much
- very visual - take that as you wish
- takes way longer to install than a java environment
- installs from USB and runs "well" on netbooks (what runs well on netbooks anyway)

The easiest way to conclude, is to say that there is no BEST programming language. As with life, you use whichever language gets you the maximum yield with the resources you have.
Reply With Quote
  #11   Spotlight this post!  
Unread 12-10-2012, 19:58
CLandrum3081's Avatar
CLandrum3081 CLandrum3081 is offline
Alumni? Wait, what?!
AKA: Catherine Landrum
FRC #3081 (RoboEagles)
Team Role: Alumni
 
Join Date: Jul 2012
Rookie Year: 2012
Location: Bloomington, MN
Posts: 100
CLandrum3081 has a reputation beyond reputeCLandrum3081 has a reputation beyond reputeCLandrum3081 has a reputation beyond reputeCLandrum3081 has a reputation beyond reputeCLandrum3081 has a reputation beyond reputeCLandrum3081 has a reputation beyond reputeCLandrum3081 has a reputation beyond reputeCLandrum3081 has a reputation beyond reputeCLandrum3081 has a reputation beyond reputeCLandrum3081 has a reputation beyond reputeCLandrum3081 has a reputation beyond repute
Re: Chosing a Programming Language

This is from my experience. I am not a programmer for the team but have outside experience programming and am currently working with our programming mentor. Keep in mind this is a general overview and my experience is limited.

3081 has had a weird situation (a year or two out of our four previous years, I think) with programming in both LabView and C++ because our programmers weren't agreeing on which one to use. This year, we're switching completely to C++.

We don't use Java and haven't used it recently and I don't have experience with it.

LabView is easy to learn and use, but it can be limiting if you want to do something fairly complicated.

C++ is very hard to learn and master, but once it is mastered (or at least understood enough to use properly), you can do more with it.

All in all, if you're a beginner, use LabView. If you have some experience or a mentor that does, use C++. I'm new to C++ and while it's a great language, it's also a great headache.

Hope that helped somewhat.

Catherine
__________________


FRC Team 3081 John F. Kennedy HS RoboEagles
2012: Rookie, person who does anything everyone else is too lazy to do, de facto scouting lead
2013: Co-Captain and Build Lead who still does anything everyone else is too lazy to do
2014: Co-Captain (AGAIN?!) and Scouting/Strategy/CAD/Pit Representative who has finally learned how to delegate tasks to others responsibly
2012 MN Land of 10,000 Lakes Regional Champions (with 3747 ChaoTech and 525 Swartdogs)
2012 Inaugural MN State High School League 2nd Seed Alliance Captain and Runner-Up (with 3747 ChaoTech and 2232 Deus Ex Machina)
2013 Ehm.... not much! Attended Northern Lights and 10K
2014 Attended Wisconsin and MN Land of 10K Lakes Regionals
Reply With Quote
  #12   Spotlight this post!  
Unread 15-10-2012, 15:06
Anupam Goli's Avatar
Anupam Goli Anupam Goli is offline
PCH Q&A co-founder/Scouting Mentor
AKA: noops
FRC #1648 (G3 Robotics)
Team Role: Mentor
 
Join Date: Dec 2010
Rookie Year: 2008
Location: Atlanta, Georgia
Posts: 1,242
Anupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond repute
Re: Chosing a Programming Language

Honestly, there isn't a huge difference in the language you use.

When you get down to it, Computer Science and Software Design is the same regardless of the language you use. Of course, you can't jump into things right away, but for any student going into CS or ECE should know be well versed enough in Computer Science or Software Design to overlook the language and to know the concepts. Example: I only used Java in high school, but in the past semester, I've had to learn MATLAB, LabVIEW, and C for my courses as Computer Engineering major. It honestly was not a big deal at all, as the concepts were the same, just the way of writing it was different.

That being said, are your students well versed in computing or are they not?

If they are, then the language used isn't a big deal. The differences in processing speed and power are negligible. Documentation on all of the languages is pretty expansive.

If your students are new, starting them on something like Java (If you have mentors experienced with TEACHING computing concepts or if the school has a Computer Science class) or LabVIEW(very simple to pick up initially, though frustrating for veterans used to text-based coding) are recommended. Java is very very easy for any student to learn due to the thought process behind the Object Oriented programming setup in Java. LabVIEW uses a GUI and drag-and-drop interface. C++ is for people with knowledge, but once again, if the students understand the basic computing concepts, any programming language can be used to no detrimental effect.
__________________
Team 1002: 2008-2012
Team 1648: 2012-2016
Georgia Tech Class of 2016
Reply With Quote
  #13   Spotlight this post!  
Unread 04-11-2012, 19:59
inkspell4's Avatar
inkspell4 inkspell4 is offline
Registered User
FRC #3650 (Robo Raptors)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Maryland
Posts: 326
inkspell4 will become famous soon enough
Thanks everyone for the input
__________________
Chesapeake Regional : 2013, 2012, 2011
Rookie Year: 2011
2013 RoboRaptors Team 3650 Programming Team Captain
Team Website : http://www.roboraptorsfrcteam3650.com/index.html
_____________________________________________
Reply With Quote
Reply


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


All times are GMT -5. The time now is 20:39.

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