Go to Post It can't be too bad... it's Canada! :) - Brandon Martus [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 03-01-2013, 02:30
ENIAC's Avatar
ENIAC ENIAC is offline
Registered User
AKA: Matthew Petersen
FRC #5958 (Blue Wave Robotics)
Team Role: Coach
 
Join Date: Dec 2010
Rookie Year: 2009
Location: Providence, RI
Posts: 94
ENIAC is a jewel in the roughENIAC is a jewel in the roughENIAC is a jewel in the roughENIAC is a jewel in the rough
New Team, which lang?

I will be joining a rookie team this year, and I was wondering: what is a good choice for a team that will not have a KOP until Jan. 10 and has never competed before?
  #2   Spotlight this post!  
Unread 03-01-2013, 02:33
davidthefat davidthefat is offline
Alumni
AKA: David Yoon
FRC #0589 (Falkons)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: California
Posts: 792
davidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud of
Re: New Team, which lang?

I would go with Java just because of the fact that AP Computer Science is taught in Java. Chances are, if the school has APCS, there will be kids that know Java. Less likely C++.
__________________
Do not say what can or cannot be done, but, instead, say what must be done for the task at hand must be accomplished.
  #3   Spotlight this post!  
Unread 03-01-2013, 03:01
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: New Team, which lang?

Quote:
Originally Posted by ENIAC View Post
I will be joining a rookie team this year, and I was wondering: what is a good choice for a team that will not have a KOP until Jan. 10 and has never competed before?
This is a conversation that requires the search because this conversation happens nearly every few months on this forum.

- Sunny G.
__________________
1261: 2007-2012
1648: 2013-2014
5283: 2015
  #4   Spotlight this post!  
Unread 03-01-2013, 11:09
robodude2765's Avatar
robodude2765 robodude2765 is offline
Registered User
FRC #2765 (4H STARs)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2009
Location: Oklahoma
Posts: 4
robodude2765 is an unknown quantity at this point
Re: New Team, which lang?

I would recommend Labview if no one on your team knows how to program.

If you have people who know how to program with Java then I would go with that. But I believe that Labview would be the easiest to pick up and go with.

Good luck!
  #5   Spotlight this post!  
Unread 03-01-2013, 11:25
EricS-Team180's Avatar
EricS-Team180 EricS-Team180 is offline
SPAM, the lunchmeat of superheroes!
AKA: Eric Schreffler
FRC #0180 (SPAM)
Team Role: Engineer
 
Join Date: Apr 2002
Rookie Year: 2001
Location: Stuart, Florida
Posts: 561
EricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond repute
Re: New Team, which lang?

Quote:
Originally Posted by ttldomination View Post
This is a conversation that requires the search because this conversation happens nearly every few months on this forum.

- Sunny G.
Sunny G. speaks wisdom. Check out the many language threads on these forums. Weigh the Pro's and Con's.

I always suggest "Go with what you Know". If you have a student or mentor with skills in LabView, Java or C++, then make use of those skills! Time is short.

With no previous skills, a graphical language interface like Labview may be easier to grasp than a syntactical language. Having said that, check out WPI's RobotBuilder videos on YouTube. It will be available with the Java Netbeans and C++ WindRiver/Eclipse IDE's this year. "Pictures-to-Code" is a leap up the learning curve.

Lastly, post and "Search" your questions! There are superb software engineers and programmers on these forums that are waiting to help.

Good Luck!
Eric
__________________

Don't PANIC!
S. P. A. M.
  #6   Spotlight this post!  
Unread 03-01-2013, 13:42
saikiranra's Avatar
saikiranra saikiranra is offline
UCI
AKA: Saikiran Ramanan
FRC #3476 (Code Orange)
Team Role: Mentor
 
Join Date: Oct 2012
Rookie Year: 2011
Location: Irvine, CA
Posts: 200
saikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond reputesaikiranra has a reputation beyond repute
Re: New Team, which lang?

I agree with David on this.
From what I have seen about programming with the three languages, Java is the best for a beginning language.

LabView makes hard things easy, but easy things hard. You can not declare a variable like "int a" which was frustrating to me.

C++ is a pretty powerful language and I think (citation needed) runs the fastest on the CRIO. However, our team has had some problems deploying C++ code on the robot that will actually run (might of been IP problems that we fixed later).

Java is a pretty easy language to learn and has similar syntax compared with C++. One thing I like about Java running in Netbeans is that you can easily access the Object library files be control clicking on the Object. In addition, it told you how to fix syntax errors and ect. in Netbeans while I do not recall a similar feature in C++ or LabView.

Well, this season, I do not think it should matter. With the new robot builder, I think that it should be easier for rookie teams to program in C++ or Java.

Good luck!
  #7   Spotlight this post!  
Unread 03-01-2013, 14:50
Mr B's Avatar
Mr B Mr B is offline
Registered User
AKA: Andy Bradley
FRC #0233 (The Pink Team)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 1998
Location: Cocoa, FL
Posts: 29
Mr B is a name known to allMr B is a name known to allMr B is a name known to allMr B is a name known to allMr B is a name known to allMr B is a name known to all
Re: New Team, which lang?

For a new team, I would recommend Lab View. It is every bit as capable as the other languages, and much easier to learn. It does take a while to deploy to your robot though. Although it may only take a minute or two, it seems like an eternity when you are rushing to the next match. However, a huge benefit of LabView is the ability to tune PID constants in real-time.
  #8   Spotlight this post!  
Unread 03-01-2013, 15:10
z_beeblebrox's Avatar
z_beeblebrox z_beeblebrox is offline
Custom User Title
AKA: Cal
FRC #4183 (Bit Buckets)
Team Role: Alumni
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Cambridge MA
Posts: 811
z_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond repute
Re: New Team, which lang?

Quote:
Originally Posted by Mr B View Post
For a new team, I would recommend Lab View. It is every bit as capable as the other languages, and much easier to learn. It does take a while to deploy to your robot though. Although it may only take a minute or two, it seems like an eternity when you are rushing to the next match. However, a huge benefit of LabView is the ability to tune PID constants in real-time.
With the new C++/ Java features, you can tune PID in real-time.
__________________
2012 Utah Regional Rookie All-Star
2013 Phoenix Regional Judge's Award for "design process and prototyping"
2014 Hub City Regional Quality Award, Arizona Regional Excellence in Engineering Award
2015 Arizona East Regional Creativity Award, Winner
2016 Arizona North Regional Finalist, Arizona West Excellence in Engineering Award, Finalist
  #9   Spotlight this post!  
Unread 03-01-2013, 15:53
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: New Team, which lang?

The NetworkTables communication framework is supported in all three languages. It can provide features similar to LabVIEW's interactive front panels.

I believe LabVIEW is hands down the easiest environment for inexperienced programmers to use. I typically see people having real difficulty with it only when they are already familiar with text-based languages. There's obviously a lot of support for it from National Instruments, the provider of the cRIO. This year, the built-in robot simulator might make it even better.

Java comes in second in my estimation, and I have a strong impression that it's the favorite of the people who maintain the WPIlib code. There's a very nice tool to generate robot code automatically for either Java or C++, and I think that tool is written in Java.
  #10   Spotlight this post!  
Unread 05-01-2013, 22:48
ctccromer's Avatar
ctccromer ctccromer is offline
Animus
AKA: Tucker Campbell
FRC #3753 (Bulah Bots)
Team Role: Alumni
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Baton Rouge, Louisiana
Posts: 190
ctccromer is a name known to allctccromer is a name known to allctccromer is a name known to allctccromer is a name known to allctccromer is a name known to allctccromer is a name known to all
Re: New Team, which lang?

I know basic C++ and Java and I STILL think LabVIEW is your best choice if you're new to the robotics scene. (This is only my team's 3rd year so we're pretty new too). LabVIEW is visual so not that hard to understand and seems to have a lot more support for it than the other two
__________________
Team 3753 BulahBots
  #11   Spotlight this post!  
Unread 05-01-2013, 23:08
s1900ahon s1900ahon is offline
Registered User
AKA: Scott McMahon
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 156
s1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant future
Re: New Team, which lang?

The language best understood by the mentors.
  #12   Spotlight this post!  
Unread 05-01-2013, 23:56
knuckleduster knuckleduster is offline
Registered User
AKA: Jack Manning
FRC #0058 (The Riot Crew)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2007
Location: South Portland
Posts: 12
knuckleduster is an unknown quantity at this point
Re: New Team, which lang?

here's a way to decide.

1. previous experience: if anyone has any exp with anything use that to your advantage
2. any coding familiarity: when I started coding on my team I knew some syntax from LUA (GMod) and Arduino coding, so stepping into Java was pretty easy for me. After coding the robot with that I attempted to use LabView to edit the HUD for the classmate and was struggling with it because it was far different from text based code, but simple if you know what your doing. If you were on an FLL team you are probibly already familiar with GUI based coding and it should be fairly easy to extend that into LabView
3. just pick one: if none of the above criteria are within reach than just pick one. The more time you spend trying to pick one the less time you will have to learn, troubleshoot and program your robots program.

Good Luck!
  #13   Spotlight this post!  
Unread 06-01-2013, 06:45
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,753
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: New Team, which lang?

Another approach is to browse the product documentation, like in a book store. Flip through example and setup and see if something catches your eye.

Greg McKaskle
  #14   Spotlight this post!  
Unread 06-01-2013, 07:27
ProgrammerTori's Avatar
ProgrammerTori ProgrammerTori is offline
It's always a programming error.
AKA: Victoria Vanderbach
FRC #2068 (Team 2068 - The Metal Jackets)
Team Role: Programmer
 
Join Date: Dec 2012
Rookie Year: 2011
Location: Manassas, Virginia
Posts: 13
ProgrammerTori is on a distinguished road
Re: New Team, which lang?

Quote:
Originally Posted by knuckleduster View Post
here's a way to decide.

1. previous experience: if anyone has any exp with anything use that to your advantage
2. any coding familiarity: when I started coding on my team I knew some syntax from LUA (GMod) and Arduino coding, so stepping into Java was pretty easy for me. After coding the robot with that I attempted to use LabView to edit the HUD for the classmate and was struggling with it because it was far different from text based code, but simple if you know what your doing. If you were on an FLL team you are probibly already familiar with GUI based coding and it should be fairly easy to extend that into LabView
3. just pick one: if none of the above criteria are within reach than just pick one. The more time you spend trying to pick one the less time you will have to learn, troubleshoot and program your robots program.

Good Luck!
Past experience is your best option. If you have a brand new programmer with absolutely no experience, I advise Labview. I was one of those people who knew nothing about programming when I started first, and I was the only programmer. I started on Labview and picked it up during the build season.

Any language you chose to go with, my advice is to start by googling for tutorials. They are everywhere. The best advice I can give is to start programming early. Even if you don't have a robot yet, make drive code or basic math equations to familiarize yourself with the program. You don't need a robot to test if you replace motor outputs and control inputs with debugging messages to tell you what is happening. You can run some tests straight on the computer. Don't wait until the last minute to learn a language. Programming a robot will take the full six weeks.
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


All times are GMT -5. The time now is 21:23.

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