|
|
|
![]() |
|
|||||||
|
||||||||
| 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 | |||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#16
|
|||||
|
|||||
|
Re: Which programming language does your team use?
Quote:
Anyway, we switched from LabVIEW to Java and love it. |
|
#17
|
|||
|
|||
|
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
|
||||
|
||||
|
Re: Which programming language does your team use?
We Write our main robot code in C and do our Dash Board with Lab View
|
|
#19
|
|||||
|
|||||
|
Re: Which programming language does your team use?
Quote:
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. |
|
#20
|
|||
|
|||
|
Re: Which programming language does your team use?
Quote:
-Mihir Iyer |
|
#21
|
||||
|
||||
|
Re: Which programming language does your team use?
Java. We all know it and it's simple and clean.
|
|
#22
|
||||
|
||||
|
Re: Which programming language does your team use?
Quote:
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
|
||||||
|
||||||
|
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
|
|
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.
|
|
#25
|
||||
|
||||
|
Re: Which programming language does your team use?
Quote:
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. |
|
#26
|
||||
|
||||
|
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. |
|
#27
|
|||
|
|||
|
Re: Which programming language does your team use?
Quote:
Alex Brinister |
|
#28
|
||||
|
||||
|
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.
|
|
#29
|
|
C# >= Java
|
|
#30
|
|||
|
|||
|
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
Lol C#. System.IO.FRC.Robot.Controls.NI.CRIO.Motors.Talon. Commands.Speed.CIM.SetPWM() |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|