Go to Post Incidentally, the best Delphi is ChiefDelphi! :) - Max Lobovsky [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: Which Programming Language Does Your Team Use?
LabView 94 35.61%
Java 106 40.15%
C/C++ 59 22.35%
Python 4 1.52%
Other (Pleas comment with language name) 1 0.38%
Voters: 264. You may not vote on this poll

Closed Thread
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 10-03-2013, 23:27
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: Which programming language does your team use?

Quote:
Originally Posted by JM033 View Post
We use TI-84 basic to program our robot, it's super effective and we can do it almost anywhere..
TI-89 basic is far better! One can actually type in code rather than selecting commands from menus.

Anyway, we switched from LabVIEW to Java and love it.
__________________
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
  #17   Spotlight this post!  
Unread 10-03-2013, 23:56
JediMasterSaaga JediMasterSaaga is offline
Registered User
AKA: Saagar Kausheeka
FRC #2854 (The Prototypes)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: San Jose
Posts: 9
JediMasterSaaga is an unknown quantity at this point
Re: Which programming language does your team use?

Does anyone use Eclipse to code in java? And if so, how is it better/different from netbeans?
  #18   Spotlight this post!  
Unread 11-03-2013, 00:07
splatter's Avatar
splatter splatter is offline
Cant Spell Robots With Out Rob
AKA: Robert
FRC #0271 (Mechanical Marauders)
Team Role: CAD
 
Join Date: Mar 2011
Rookie Year: 2011
Location: New York
Posts: 48
splatter will become famous soon enough
Re: Which programming language does your team use?

We Write our main robot code in C and do our Dash Board with Lab View
__________________
FIRST Team 271
~
<Electrical, CAD>
~
http://www2.bayshoreschools.org/robotics/
  #19   Spotlight this post!  
Unread 11-03-2013, 00:18
Yipyapper's Avatar
Yipyapper Yipyapper is offline
St. Louis Or Bust
AKA: Aaron Gordon
FRC #0781 (Kinetic Knights)
Team Role: Alumni
 
Join Date: Apr 2011
Rookie Year: 2008
Location: Kincardine
Posts: 171
Yipyapper has a reputation beyond reputeYipyapper has a reputation beyond reputeYipyapper has a reputation beyond reputeYipyapper has a reputation beyond reputeYipyapper has a reputation beyond reputeYipyapper has a reputation beyond reputeYipyapper has a reputation beyond reputeYipyapper has a reputation beyond reputeYipyapper has a reputation beyond reputeYipyapper has a reputation beyond reputeYipyapper has a reputation beyond repute
Re: Which programming language does your team use?

Quote:
Originally Posted by JediMasterSaaga View Post
Does anyone use Eclipse to code in java? And if so, how is it better/different from netbeans?
I use it for app development (still ironing out the details, only been at learning for a month or so), but we use Netbeans for our robot. Since I don't need to get into too many details so far for either one, the only thing I find is that Eclipse has a little bit more of a sleeker feel while Netbeans seems to have a bit more of an organized, structured feel when looking through the classes, commands and subsystems.

I suppose for me it's aesthetics that are pretty similar, but since I don't use both for robots, I'd take my statement with a grain of salt.
__________________

Programmer/Driver for Team 781 -- The Kinetic Knights 2010-2014. 2011 World Finalists!
  #20   Spotlight this post!  
Unread 11-03-2013, 00:53
iyermihir iyermihir is offline
Registered User
FRC #0649 (Saratoga MSET)
Team Role: CAD
 
Join Date: Dec 2011
Rookie Year: 2011
Location: Saratoga, California
Posts: 44
iyermihir has a spectacular aura aboutiyermihir has a spectacular aura about
Re: Which programming language does your team use?

Quote:
Originally Posted by JediMasterSaaga View Post
Does anyone use Eclipse to code in java? And if so, how is it better/different from netbeans?
We use Eclipse. I am not one of the programmers, but I think that they use it because most of them already have it and they have a repository setup with it.

-Mihir Iyer
  #21   Spotlight this post!  
Unread 11-03-2013, 11:41
cgmv123's Avatar
cgmv123 cgmv123 is offline
FRC RI/FLL Field Manager
AKA: Max Vrany
FRC #1306 (BadgerBOTS)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Madison, WI
Posts: 2,089
cgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond repute
Re: Which programming language does your team use?

Java. We all know it and it's simple and clean.
__________________
BadgerBOTS Robotics|@team1306|Facebook: BadgerBOTS
2016 FIRST Championship Tesla Division | 2016 Wisconsin Regional Engineering Inspiration Award

2015 FIRST Championship Carson Division | 2015 Wisconsin Regional Chairman's Award

2013 FIRST Championship Curie Division | 2013 Wisconsin Regional Chairman's Award

2012 FIRST Championship Archimedes Division | 2012 Wisconsin Regional Engineering Inspiration Award, Woodie Flowers Finalist Award (Lead Mentor Ben Senson)

  #22   Spotlight this post!  
Unread 11-03-2013, 12:00
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,554
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: Which programming language does your team use?

Quote:
Originally Posted by apalrd View Post
It's only messy if you write it messy.


Like any other language, you have to divide it up into multiple files/functions and design the core architecture well for it to be neat.


You can also use the Clean Up VI tool to auto-organize the block diagram to make it neater. In general, if the VI dosen't clean up well with the clean tool, it's too complicated.
Bingo.

If I jumped into C++, ignored classes, subroutines, and just tried to write everything out line-by-line, it would be ugly.

Just because you don't understand or haven't been taught how to write clean LabView code doesn't mean it isn't clean.

One basic rule: If your code gets bigger than one or two screen-widths, you're getting too complicated and not splitting it up into Sub-VI's efficiently.

There's a whole host of other rules, but being that this is a Visual language, if you can't tell from a glance what it's doing, you're probably doing it wrong.

Last edited by Tom Line : 12-03-2013 at 10:03.
  #23   Spotlight this post!  
Unread 11-03-2013, 12:12
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,600
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Which programming language does your team use?

Teams and CSA have been entering software data in the NI Parkway system. As of right now, there are 414 teams that have entered data. 42.5% LabVIEW, 37.4% Java, and 20% C++. See http://www.niparkway.com/frcts/reports

You can enter your data by going to http://niparkway.com, click on help out, choose an event that you are competing at, and then choosing your team.


330 is using Java for the robot, and LabVIEW for the dashboard / vision processing.
  #24   Spotlight this post!  
Unread 11-03-2013, 12:32
JohnFogarty's Avatar
JohnFogarty JohnFogarty is offline
Trapped under a pile of MECANUMS :P
AKA: @doctorfogarty
FTC #11444 (Garnet Squadron) & FRC#1102 (M'Aiken Magic)
Team Role: Mentor
 
Join Date: Aug 2009
Rookie Year: 2006
Location: Aiken, SC
Posts: 1,582
JohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond repute
Re: Which programming language does your team use?

I recommend Java as the language to start with in FRC not only because it is the mandated language for the College Board AP Computer Science Class, but most first semester Algorithmic Design courses at major universities start students off with Java.
__________________
John Fogarty
2010 FTC World Championship Winner & 2013-2014 FRC Orlando Regional Winner
Mentor FRC Team 1102 M'Aiken Magic
"Head Bot Coach" FTC Team 11444 Garnet Squadron
Former Student & Mentor FLL 1102, FTC 1102 & FTC 3864, FRC 1772, FRC 5632, FRC 4901
2013 FTC World Championship Guest Speaker
  #25   Spotlight this post!  
Unread 11-03-2013, 14:01
nightpool's Avatar
nightpool nightpool is offline
robotRectifier
AKA: Evan
no team (formerly of CORE 2062)
Team Role: Alumni
 
Join Date: Oct 2011
Rookie Year: 2011
Location: Waukesha, WI
Posts: 81
nightpool is on a distinguished road
Re: Which programming language does your team use?

Quote:
Originally Posted by apalrd View Post
It's only messy if you write it messy.


Like any other language, you have to divide it up into multiple files/functions and design the core architecture well for it to be neat.


You can also use the Clean Up VI tool to auto-organize the block diagram to make it neater. In general, if the VI dosen't clean up well with the clean tool, it's too complicated.
This. A lot of teams start out in labview, but don't learn any good practices or put any thought into organization. Then they get bigger and start coding more advanced features, but still have the same coding practices. It just ends up a mess.

That was my team last year, big and complicated code with no thought to organization. We ended up moving to c++ for other reasons, but some of it was making a clean break; allowing our programming team to break out of their bad habits and start thinking about organization.
__________________
Proud alum of CORE 2062.
www.core2062.com
  #26   Spotlight this post!  
Unread 11-03-2013, 14:21
chris.boyle's Avatar
chris.boyle chris.boyle is offline
Programming Mentor
FRC #0068 (Truck Town Thunder)
Team Role: Mentor
 
Join Date: Nov 2011
Rookie Year: 2012
Location: Truck Town Thunder (Brandon)
Posts: 36
chris.boyle is on a distinguished road
Re: Which programming language does your team use?

We are using LABView. But we are also using library's and sub-directories to maintain organization. We currently have a library for each 'component' of the robot stored in its own sub-directory.

Chassis
Shooter
Climbing
Hanging
Intake
User Interface
File IO
Test

Each library is organized in the same manner:
<Library>Open.vi - called from Begin.vi
<Library>Close.vi - called from Finish.vi
<Library>Disable.vi - called from Disable.vi
<Library>ControlLoop.vi - called from Periodic Tasks.vi

Then there are <Library>"specific".vi's for library specific actions.

In addition, we are using the "Conditional Disable Symbol" to allow us to selectively include/exclude portions of the code depending on what we are looking to do. For example: our practice bot does not have any physical Intake or Hanging components, so they are disabled. No code related to the Intake or Hanging will execute and no errors are generated because the physical devices are not present.

And the code can be as clean as you want it to be. See attached screen shot.
Attached Images
File Type: bmp UserIO.bmp (1.09 MB, 78 views)
__________________
2014 Chairman's Award--Michigan State Championship
2014 Chairman's Award--Waterford District
2014 Winner--Great Lakes Bay District
2013 Chairman's Award--Kettering District
2012 Championship Division Finalists--Thanks 330 and 639
  #27   Spotlight this post!  
Unread 11-03-2013, 23:32
AlexBrinister AlexBrinister is offline
Registered User
AKA: Alex Brinister
FRC #1768 (RoboChiefs)
Team Role: Alumni
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Bolton, MA
Posts: 93
AlexBrinister will become famous soon enough
Re: Which programming language does your team use?

Quote:
Originally Posted by Tom Line View Post
Bingo.

If I jumped into C++, ignored classes, subroutines, and just trie to write everything out line-by-line, it would be ugly.

Just because you don't understand or haven't been taught how to write clean LabView code doesn't mean it isn't clean.

One basic rule: If your code gets bigger than one or two screen-widths, you're getting too complicated and not splitting it up into Sub-VI's efficiently.

There's a whole host of other rules, but being that this is a Visual language, if you can't tell from a glance what it's doing, you're probably doing it wrong.
The code I saw was incredibly complicated due to it being for some piece of random hardware. It was pretty messy. But you are correct, it does depend on the programmer and his/her practices. Our code is definitely a mess because nobody bothers to take the time to write it cleanly or clean it up after build season. Splitting projects into Sub-VIs (much like splitting a C++ project into different source and header files) would make things much neater. I think LabVIEW would be a nice thing to know, but I don't see myself using it for something as relatively simple as the robot code.

Alex Brinister
  #28   Spotlight this post!  
Unread 11-03-2013, 23:59
Rangel's Avatar
Rangel Rangel is online now
John Rangel
FRC #0842 (Falcon Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Phoenix, AZ
Posts: 745
Rangel has a reputation beyond reputeRangel has a reputation beyond reputeRangel has a reputation beyond reputeRangel has a reputation beyond reputeRangel has a reputation beyond reputeRangel has a reputation beyond reputeRangel has a reputation beyond reputeRangel has a reputation beyond reputeRangel has a reputation beyond reputeRangel has a reputation beyond reputeRangel has a reputation beyond repute
Re: Which programming language does your team use?

On team 842 we used to use Labview for our FRC robot but this year we switched to Java. For our autonomous underwater robot though, we use C# with Visual Studio.
__________________
2012 Dean's List Winner
2011-2014 Arizona Regional Winners
2016 Las Vegas Regional Winner
2014-? Mentor


  #29   Spotlight this post!  
Unread 12-03-2013, 00:01
JohnFogarty's Avatar
JohnFogarty JohnFogarty is offline
Trapped under a pile of MECANUMS :P
AKA: @doctorfogarty
FTC #11444 (Garnet Squadron) & FRC#1102 (M'Aiken Magic)
Team Role: Mentor
 
Join Date: Aug 2009
Rookie Year: 2006
Location: Aiken, SC
Posts: 1,582
JohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond repute
C# >= Java
__________________
John Fogarty
2010 FTC World Championship Winner & 2013-2014 FRC Orlando Regional Winner
Mentor FRC Team 1102 M'Aiken Magic
"Head Bot Coach" FTC Team 11444 Garnet Squadron
Former Student & Mentor FLL 1102, FTC 1102 & FTC 3864, FRC 1772, FRC 5632, FRC 4901
2013 FTC World Championship Guest Speaker
  #30   Spotlight this post!  
Unread 12-03-2013, 00:11
catacon catacon is offline
Registered User
FRC #1444 (Lightning Lancers)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2006
Location: St. Louis
Posts: 154
catacon is a splendid one to beholdcatacon is a splendid one to beholdcatacon is a splendid one to beholdcatacon is a splendid one to beholdcatacon is a splendid one to beholdcatacon is a splendid one to beholdcatacon is a splendid one to behold
Re: Which programming language does your team use?

We have used LabView since 2009, but we switched to C++ this year since our lead programmer is more proficient in C++. All of our vision code is also written in C++. #cppforlife

Quote:
Originally Posted by John_1102 View Post
C# >= Java
Lol C#. System.IO.FRC.Robot.Controls.NI.CRIO.Motors.Talon. Commands.Speed.CIM.SetPWM()
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 03:28.

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