Go to Post I would not want the task of devising a system that 50,000 very smart people try to outwit. - texarkana [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 12-10-2011, 00:30
Team 3705's Avatar
Team 3705 Team 3705 is offline
Registered User
FRC #3705
 
Join Date: Jan 2011
Location: Canada
Posts: 34
Team 3705 is an unknown quantity at this point
Smile What Language To Use?

Hi, I am one of the leads in charge of programming for Team 3705. We are trying to participate for the 2012 challenge, we are a fairly new team.

We used C++ last year, and did not have autonomous mode.
I want to look at other languages that we could possibly use. So, far I would love to use Python to program the robot, but there seems to be some issues.

Please comment on what languages we could use, we are fairly new. Most of the people that are in charge of programming the robot are not familiar with programming at all. So, I have to be able to teach them also including myself.

Suggestions? Comments?
  #2   Spotlight this post!  
Unread 12-10-2011, 00:32
EricH's Avatar
EricH EricH is offline
New year, new team
FRC #1197 (Torbots)
Team Role: Engineer
 
Join Date: Jan 2005
Rookie Year: 2003
Location: SoCal
Posts: 19,814
EricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond repute
Re: What Language To Use?

Last year, you could use C++, Java, or Labview and be supported. Some people did write in Python, but had to write their own whatever-you-call-it to make it work.
__________________
Past teams:
2003-2007: FRC0330 BeachBots
2008: FRC1135 Shmoebotics
2012: FRC4046 Schroedinger's Dragons

"Rockets are tricky..."--Elon Musk

  #3   Spotlight this post!  
Unread 12-10-2011, 00:48
Mk.32's Avatar
Mk.32 Mk.32 is offline
Registered User
AKA: Mark
FRC #2485 (W.A.R. Lords)
Team Role: Engineer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: San Diego
Posts: 770
Mk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud of
Re: What Language To Use?

C++/JAVA/Labview are the most popular, python is doable but it is relatively new and you will need to do a bit of extra work to get it to work, more info on the python select of the forum.

You should start with whatever language you and/orthe rest of your team (including mentors) know best. For us it was JAVA and it worked out quite well for us.

If none of you know one language in particular, all 3 has pros and cons. There are some threads about that if you do a quick search.
__________________
Engineering mentor: Team 2485: WARLords 2013-

Team President: Team 3647 2010-2013
  #4   Spotlight this post!  
Unread 12-10-2011, 00:59
Team 3705's Avatar
Team 3705 Team 3705 is offline
Registered User
FRC #3705
 
Join Date: Jan 2011
Location: Canada
Posts: 34
Team 3705 is an unknown quantity at this point
Re: What Language To Use?

I really like Python, but I still think it needs work. We might just as well go with C++ again. But I will definitely try to test Python and see if it is something that we can use as an alternative.
  #5   Spotlight this post!  
Unread 12-10-2011, 01:02
Mk.32's Avatar
Mk.32 Mk.32 is offline
Registered User
AKA: Mark
FRC #2485 (W.A.R. Lords)
Team Role: Engineer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: San Diego
Posts: 770
Mk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud of
Re: What Language To Use?

Quote:
Originally Posted by Team 3705 View Post
I really like Python, but I still think it needs work. We might just as well go with C++ again. But I will definitely try to test Python and see if it is something that we can use as an alternative.
What off season is for.
If you have enough programmers, you can even have 2 teams, one that codes in Python and one that does C++. And for competition use which ever works better.
__________________
Engineering mentor: Team 2485: WARLords 2013-

Team President: Team 3647 2010-2013
  #6   Spotlight this post!  
Unread 12-10-2011, 01:29
Team 3705's Avatar
Team 3705 Team 3705 is offline
Registered User
FRC #3705
 
Join Date: Jan 2011
Location: Canada
Posts: 34
Team 3705 is an unknown quantity at this point
Re: What Language To Use?

Well, everyone in my team is a newbie to all this. We lost our program lead last year.

So its all up to me, and we are lacking members on some fields. I am really worried about the state of organisation in my team.

No one has done collaborative development before. Last year it was a one man job. This year I am trying to spread out the work, but everyone is really new to programming. Since we are a team in HS, most of these students are in Grade Nine. For some reason, we are lacking more senior students with knowledge, which I plan on changing.

Some of the things that I already started doing is auditing last year's code. But I have much more to do. Would love to see someone else's C++, or just general code.
  #7   Spotlight this post!  
Unread 12-10-2011, 02:34
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,534
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: What Language To Use?

If you do a search here on chief delphi, you'll find people have posted their competition code. Likewise, many beta teams posted their code at the end of beta last year, which would give you a good bit of code to look at. You can find the beta forums at www.usfirst.org.
  #8   Spotlight this post!  
Unread 12-10-2011, 07:45
Tommy F.'s Avatar
Tommy F. Tommy F. is offline
Yeah! Collages!
AKA: 7h0m45
FRC #1985 (Robohawks)
Team Role: Alumni
 
Join Date: Mar 2011
Rookie Year: 2010
Location: St. Louis, MO
Posts: 188
Tommy F. is just really niceTommy F. is just really niceTommy F. is just really niceTommy F. is just really nice
Re: What Language To Use?

I'm just going to put this out there:

If your team is interested in learning LabVIEW, there are great guides to get you started and keep you going at http://www.frcmastery.com/.
__________________

FTC 289, 290 & 291 :: FRC 1985

2013 St. Louis Regional Semi-Finalist (with 3411 and 4330), Industrial Design Award
2013 Queen City Regional Winner (with 379 and 447)

  #9   Spotlight this post!  
Unread 13-10-2011, 19:20
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 7,011
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: What Language To Use?

If you think your team may be "struggling with programming", then I suggest picking a language that has a lot of FRC support already available. While Python may be cool, you'll struggle with it far more than with LabView, for example.

The choice for our team was mainly dictated by what the mentors knew, and that was LabView.

Remember that no matter which language you choose, there is generally no task that can't be done. So it becomes a matter of what is easiest to master.

Don
__________________

I am N2IRZ - What's your callsign?
  #10   Spotlight this post!  
Unread 13-10-2011, 21:22
Duke461's Avatar
Duke461 Duke461 is offline
Boiler Strong.
AKA: Ben Carson
FRC #0461 (Westside Boiler Invasion)
Team Role: Alumni
 
Join Date: Dec 2010
Rookie Year: 2010
Location: West Lafayette, Indiana
Posts: 864
Duke461 has a reputation beyond reputeDuke461 has a reputation beyond reputeDuke461 has a reputation beyond reputeDuke461 has a reputation beyond reputeDuke461 has a reputation beyond reputeDuke461 has a reputation beyond reputeDuke461 has a reputation beyond reputeDuke461 has a reputation beyond reputeDuke461 has a reputation beyond reputeDuke461 has a reputation beyond reputeDuke461 has a reputation beyond repute
Re: What Language To Use?

For more of a comparison between the languages, read this thread:
http://www.chiefdelphi.com/forums/sh...ing+langu age
__________________

The opposite of excellence is good enough.
2012-2013 President; 2011-2012 Vice President
2011-offseason FRC Student Drive Coach; 2010-11, 2011-2012 VEX Drive Coach
2011, 2010-offseason FRC Driver/Operator
2012, 2011-offseason, 2010-offseason FRC Human Player
Find me on: Facebook, Gmail, Twitter, Tumblr, Blogger/Blogspot
  #11   Spotlight this post!  
Unread 13-10-2011, 21:54
ratdude747's Avatar
ratdude747 ratdude747 is offline
Official Scorekeeper
AKA: Larry Bolan
no team
 
Join Date: Feb 2009
Rookie Year: 2008
Location: Madison, IN
Posts: 1,064
ratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond repute
Re: What Language To Use?

Quote:
Originally Posted by 7h0m54 View Post
I'm just going to put this out there:

If your team is interested in learning LabVIEW, there are great guides to get you started and keep you going at http://www.frcmastery.com/.
+100

that is how I re-learned labview... that, and reverse-engineering the code for an old 2010 bot (and getting a better resultant code) worked out well.

for newcomers, labview would be my recommendation. but use whatever your team knows best.
__________________
Dean's List Semi-finalist 2010
1747 Harrison Boiler Robotics 2008-2010, 2783 Engineers of Tomorrow 2011, Event Volunteer 2012-current

DISCLAIMER: Any opinions/comments posted are solely my personal opinion and does not reflect the views/opinions of FIRST, IndianaFIRST, or any other organization.
  #12   Spotlight this post!  
Unread 13-10-2011, 21:55
Bryan Herbst's Avatar
Bryan Herbst Bryan Herbst is offline
Registered User
AKA: Bryan
FRC #2052 (KnightKrawler)
Team Role: Mentor
 
Join Date: Sep 2007
Rookie Year: 2007
Location: Minneapolis, Minnesota
Posts: 545
Bryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond repute
Re: What Language To Use?

If there is any question about which programming language to use, I would follow Don's advice and stick with C++, Java, or Labview.

You will find that if you encounter any problems, there will always be a mentor or student on another team nearby that can help you with any of those three. If you go with Python, your choices for assistance will be far more limited.

Python is fun for the off-season, but I would always stick to an officially supported language for the competition, because the libraries for the officially supported languages have been heavily tested and you get the support of other teams.
__________________
Team 2052- KnightKrawler
Mentor and volunteer
  #13   Spotlight this post!  
Unread 17-10-2011, 18:33
Team 3705's Avatar
Team 3705 Team 3705 is offline
Registered User
FRC #3705
 
Join Date: Jan 2011
Location: Canada
Posts: 34
Team 3705 is an unknown quantity at this point
Re: What Language To Use?

Thanks for all of your guys opinion! We will definitely look into using C++ and maybe LabView.

I would prefer C++ though!

I hope python is an option out there though, but who knows. I will try to experiment when I have the time.

My team also has a bad design team. So there is definitely a problem there also.

Anyways, thanks for the reply! Will definitely look at the various code out there.
  #14   Spotlight this post!  
Unread 19-10-2011, 09:07
JamesBrown JamesBrown is offline
Back after 4 years off
FRC #5279
Team Role: Engineer
 
Join Date: Nov 2004
Rookie Year: 2005
Location: Lynchburg VA
Posts: 1,281
JamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond repute
Re: What Language To Use?

Quote:
Originally Posted by PRich1477 View Post
Look into getting a team Dropbox account, or something similar (if you haven't already). We use our Dropbox for everything. Our CAD is shared on there (CAD is very important to us since we use sheet metal), our code (with all previous versions, so we can revert if we mess up), as well as team pictures and videos for the marketing and Chairman's team.
Very good idea, however dropbox is not the best solution for software revision management. If you are programming in JAVA or C I strongly reccomend using SVN, this will allow you to commit changes, allow you to see who is working (or has worked) on what and you can always roll back to older versions. Both windRiver and NetBeans have plugins for SVN. I am not sure if LabVIEW supports svn but I do recall a thread discussing it a while back.
__________________
I'm Back


5279 (2015-Present)
3594 (2011)
3280 (2010)
1665 (2009)
1350 (2008-2009)
1493 (2007-2008)
1568 (2005-2007)
  #15   Spotlight this post!  
Unread 19-10-2011, 13:12
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 7,011
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: What Language To Use?

Quote:
Originally Posted by Team 3705 View Post
My team also has a bad design team.
Is the team bad, or just their designs, or both? Or is it a case where the design is great, but just for a different game? Or is it a reliability problem? Or...?

You can't fix everything in software, but some rational and logical suggestions might be able to turn bad into good. How can we help?
__________________

I am N2IRZ - What's your callsign?
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 19:00.

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