Go to Post Because you know what they say, the new year doesn't begin until Dean, Dave, and Woodie drop the big one. - Jay Trzaskos [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 01-07-2016, 13:49
cnc4 cnc4 is offline
Registered User
FRC #2231
 
Join Date: Jul 2016
Location: Israel
Posts: 10
cnc4 is an unknown quantity at this point
FRC Java or Labview?

Hello all teams,
My team is getting ready for next year and we are thinking on working with Labview and not with Java as it was until now.
I know that many ask this before but every case is a bit different.

So the team that I am in is exist since 2006 and they always used Java, now, some graduated members are trying to make as use Labview, cause they are not satisfied from the results since the beginning as they say. We never won the local competition, we lost in some of the finals, but most of the times we can't get to the finals stage. I am the programming team leader next year, this is my call if we switch to Labview completely or only the electronics team will use Labview in order to test all the sensors (which is new too).

As I see it, Labview is for teams that are new or not really good at this part and want to focus on the robot.
So for me it's like going backwards, but I realy want to hear other opinions.

Thanks in advance ,

Nimrod #2231.
Reply With Quote
  #2   Spotlight this post!  
Unread 01-07-2016, 14:03
ASD20's Avatar
ASD20 ASD20 is offline
Registered User
AKA: Andrew
FRC #4761 (The Robockets)
Team Role: College Student
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Reading, MA
Posts: 271
ASD20 has much to be proud ofASD20 has much to be proud ofASD20 has much to be proud ofASD20 has much to be proud ofASD20 has much to be proud ofASD20 has much to be proud ofASD20 has much to be proud ofASD20 has much to be proud ofASD20 has much to be proud of
Re: FRC Java or Labview?

I can't comment really on the specific pros and cons of Labview and Java, but I will say from general experience, I almost always prefer the beast I know to the beast I don't. This is especially true for FRC because you have so little time to work through the transition. If you start learning Labview, now it will definitely be better, but I can almost guarantee you will have some transition related difficulties during build season. However, the benefits of switching may outweigh this for you. Just something to keep in mind when deciding.
__________________

Reply With Quote
  #3   Spotlight this post!  
Unread 01-07-2016, 14:16
Christopher149 Christopher149 is offline
Registered User
FRC #0857 (Superior Roboworks) FTC 10723 (SnowBots)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2007
Location: Houghton, MI
Posts: 1,098
Christopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond repute
Re: FRC Java or Labview?

Personally, I like that Java deploys much faster than LabVIEW (at least, how long it took back around 2011). This makes it much less stressful to make changes between matches.
__________________
2015-present: FTC 10723 mentor
2012-present: 857 mentor
2008-2011: 857 student

2015: Industrial Design, Excellence in Engineering, District Finalist, Archimedes Division (#6 alliance captain)
2014: Judges Award, District Engineering Inspiration, District Finalist, Galileo Division

Reply With Quote
  #4   Spotlight this post!  
Unread 01-07-2016, 14:30
ASD20's Avatar
ASD20 ASD20 is offline
Registered User
AKA: Andrew
FRC #4761 (The Robockets)
Team Role: College Student
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Reading, MA
Posts: 271
ASD20 has much to be proud ofASD20 has much to be proud ofASD20 has much to be proud ofASD20 has much to be proud ofASD20 has much to be proud ofASD20 has much to be proud ofASD20 has much to be proud ofASD20 has much to be proud ofASD20 has much to be proud of
Re: FRC Java or Labview?

Quote:
Originally Posted by Christopher149 View Post
Personally, I like that Java deploys much faster than LabVIEW (at least, how long it took back around 2011).
Is that a bad thing? https://xkcd.com/303/
__________________

Reply With Quote
  #5   Spotlight this post!  
Unread 01-07-2016, 14:36
Drakxii Drakxii is offline
Registered User
FRC #4131 (Iron Patriots)
Team Role: Mentor
 
Join Date: May 2014
Rookie Year: 2012
Location: United States
Posts: 120
Drakxii is just really niceDrakxii is just really niceDrakxii is just really niceDrakxii is just really niceDrakxii is just really nice
Re: FRC Java or Labview?

Quote:
Originally Posted by cnc4 View Post
So the team that I am in is exist since 2006 and they always used Java, now, some graduated members are trying to make as use Labview, cause they are not satisfied from the results since the beginning as they say. We never won the local competition, we lost in some of the finals, but most of the times we can't get to the finals stage.
While Labview is a fine language and a number of power house teams use it, it's normally better to stick with what you know and advance on that instead of trying to relearn your main language. So I have to ask, what makes your alumni believe that programming/JAVA held them back from winning a blue banner?


Also...
Quote:
Originally Posted by cnc4 View Post
only the electronics team will use Labview in order to test all the sensors (which is new too).
Curious how does the electronic team use Java/Labview to test sensors? Can that not be done with a multimeter and an arduino?
__________________
Michael D.
Favorite game: Aerial Assist
Least Favorite: Recycle Rush

Pantherbots Mentor - #2582 Lufkin, TX
* Lone Star Regional 2016, 2015 - 3rd place (Semifinals), 2014 - Quarterfinals, 2013 - Quarterfinals (Judges Award)

Iron Patriots Mentor - #4131 Renton, WA
PNW Ranking: 2016 - 18
* Auburn Mountain View District Event 2016 - Semifinals (EE Award)
* Auburn District Event 2016 - Finalists (ID Award)
* PNW Champs 2016 - Quarterfinals
* World Champs 2016 - Carson
Reply With Quote
  #6   Spotlight this post!  
Unread 01-07-2016, 14:40
Sperkowsky's Avatar
Sperkowsky Sperkowsky is offline
Professional Multitasker
AKA: Samuel Perkowsky
FRC #2869 (Regal Eagles)
Team Role: Leadership
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Bethpage, NY
Posts: 1,880
Sperkowsky has a reputation beyond reputeSperkowsky has a reputation beyond reputeSperkowsky has a reputation beyond reputeSperkowsky has a reputation beyond reputeSperkowsky has a reputation beyond reputeSperkowsky has a reputation beyond reputeSperkowsky has a reputation beyond reputeSperkowsky has a reputation beyond reputeSperkowsky has a reputation beyond reputeSperkowsky has a reputation beyond reputeSperkowsky has a reputation beyond repute
Re: FRC Java or Labview?

Hello,

I can almost guarantee the reason why you are not winning has nothing to do with your programming language. More advanced controls can be done in either and I know for sure world championships have been won with robots running on both Java and Labview.

The real question should be what do you and your fellow programmers know better. If they know Java better use java. If you know Labview better use Labview.

I watched a match of yours from this year. To start out I noticed you lacked on autonomous mode. That is probably something the programmers on your team should focus on. From there vision processing would be a good thing to learn. It looked like your team had a mechanically solid robot with a nice shooter but without vision processing, cross heirs, or a flashlight aiming was next to impossible.

Also are you a school based team? If so what language does your school teach. If it is Java I recommend staying with Java for sustainability purposes.

Hope this helps
Reply With Quote
  #7   Spotlight this post!  
Unread 01-07-2016, 14:54
Ty Tremblay's Avatar
Ty Tremblay Ty Tremblay is online now
Robotics Engineer
FRC #0319 (Big Bad Bob)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2004
Location: Alton NH
Posts: 816
Ty Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond repute
Re: FRC Java or Labview?

Stick with what you know. Simplify your goals. A robot that can do one thing really well is better than a robot that can do many things fairly well.

Changing your programming language, unless your team knows how to program in LabView better than Java, will only hinder you.

Code is one of the last things to affect how a team performs on the field.
__________________
Reply With Quote
  #8   Spotlight this post!  
Unread 01-07-2016, 15:00
asid61's Avatar
asid61 asid61 is offline
Registered User
AKA: Anand Rajamani
FRC #0115 (MVRT)
Team Role: Mechanical
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Cupertino, CA
Posts: 2,214
asid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond repute
Re: FRC Java or Labview?

I would keep with Java, especially if your school offers a programming course. Many students who already know programming, at least on my team, were turned off by the visual LabView interface.

If you're not able to accomplish robot goals in Java, switching to LabView may not help. Are your problems with your language or with lack of practice/timing?
__________________
<Now accepting CAD requests and commissions>

Reply With Quote
  #9   Spotlight this post!  
Unread 01-07-2016, 15:17
cnc4 cnc4 is offline
Registered User
FRC #2231
 
Join Date: Jul 2016
Location: Israel
Posts: 10
cnc4 is an unknown quantity at this point
Re: FRC Java or Labview?

Quote:
Originally Posted by Drakxii View Post
While Labview is a fine language and a number of power house teams use it, it's normally better to stick with what you know and advance on that instead of trying to relearn your main language. So I have to ask, what makes your alumni believe that programming/JAVA held them back from winning a blue banner?


Also...


Curious how does the electronic team use Java/Labview to test sensors? Can that not be done with a multimeter and an arduino?
Well they feel that Java is too complicated and that it will be a waste of time using Java and not Labview in this program.


The electronic team will test the accuracy of the sensors...


Quote:
Originally Posted by Sperkowsky View Post
Hello,

I can almost guarantee the reason why you are not winning has nothing to do with your programming language. More advanced controls can be done in either and I know for sure world championships have been won with robots running on both Java and Labview.

The real question should be what do you and your fellow programmers know better. If they know Java better use java. If you know Labview better use Labview.

I watched a match of yours from this year. To start out I noticed you lacked on autonomous mode. That is probably something the programmers on your team should focus on. From there vision processing would be a good thing to learn. It looked like your team had a mechanically solid robot with a nice shooter but without vision processing, cross heirs, or a flashlight aiming was next to impossible.

Also are you a school based team? If so what language does your school teach. If it is Java I recommend staying with Java for sustainability purposes.

Hope this helps
Well they dont think that java is a bad language, but they think that we can get the same or even better result in less time.

We have been focusing on the vision part after the competition and made the robot able to aim and shoot automatically, which is not working 100% good but I am sure that we can get better at it.

At school I am learning Java, but after my grade they started teaching c# which is quite the same, but they are not all in the same level (we have two kinds of classes, one is 2 years learning and one is 3 years learning)
And there are also pupils that did not chose to learn C# at school and you need to teach them from the start.


And to make me more clear to all, I am the only one on my team (except from the capten who was on the programming team with me last year and we learned from our team leader) so I need to teach all of the new members java, wpilib and git, which takes alot from me too.

Thanks to all who are commenting I am really trying to use your tips. Thanks!
Reply With Quote
  #10   Spotlight this post!  
Unread 01-07-2016, 15:27
asid61's Avatar
asid61 asid61 is offline
Registered User
AKA: Anand Rajamani
FRC #0115 (MVRT)
Team Role: Mechanical
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Cupertino, CA
Posts: 2,214
asid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond repute
Re: FRC Java or Labview?

Quote:
Originally Posted by cnc4 View Post
Well they feel that Java is too complicated and that it will be a waste of time using Java and not Labview in this program.


The electronic team will test the accuracy of the sensors...




Well they dont think that java is a bad language, but they think that we can get the same or even better result in less time.

We have been focusing on the vision part after the competition and made the robot able to aim and shoot automatically, which is not working 100% good but I am sure that we can get better at it.

At school I am learning Java, but after my grade they started teaching c# which is quite the same, but they are not all in the same level (we have two kinds of classes, one is 2 years learning and one is 3 years learning)
And there are also pupils that did not chose to learn C# at school and you need to teach them from the start.


And to make me more clear to all, I am the only one on my team (except from the capten who was on the programming team with me last year and we learned from our team leader) so I need to teach all of the new members java, wpilib and git, which takes alot from me too.

Thanks to all who are commenting I am really trying to use your tips. Thanks!
Labview is easier for people who do not know programming to learn. If you find that a lot of members need to learn from the ground up, Labview might be a better choice.
C# is similar to Java in that both are object-oriented text-based languages, and the sytax and logic flow is very similar. If you find that a significant number of incoming members have taken C#, then maybe sticking with Java is for you. If not, Labview is a bit easier to deal with.

How are you testing the accuracy of sensors? What sensors do you use right now?
__________________
<Now accepting CAD requests and commissions>

Reply With Quote
  #11   Spotlight this post!  
Unread 01-07-2016, 15:41
cnc4 cnc4 is offline
Registered User
FRC #2231
 
Join Date: Jul 2016
Location: Israel
Posts: 10
cnc4 is an unknown quantity at this point
Re: FRC Java or Labview?

Quote:
Originally Posted by asid61 View Post
Labview is easier for people who do not know programming to learn. If you find that a lot of members need to learn from the ground up, Labview might be a better choice.
C# is similar to Java in that both are object-oriented text-based languages, and the sytax and logic flow is very similar. If you find that a significant number of incoming members have taken C#, then maybe sticking with Java is for you. If not, Labview is a bit easier to deal with.

How are you testing the accuracy of sensors? What sensors do you use right now?
I find the teaching in school quite slow for our requirements. I do think that in the end I teach them from the start.

And one thing I forgot to say is that they are not investing enough in the trainings and everyone it is a bit different in their understanding.
Reply With Quote
  #12   Spotlight this post!  
Unread 01-07-2016, 15:50
ASD20's Avatar
ASD20 ASD20 is offline
Registered User
AKA: Andrew
FRC #4761 (The Robockets)
Team Role: College Student
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Reading, MA
Posts: 271
ASD20 has much to be proud ofASD20 has much to be proud ofASD20 has much to be proud ofASD20 has much to be proud ofASD20 has much to be proud ofASD20 has much to be proud ofASD20 has much to be proud ofASD20 has much to be proud ofASD20 has much to be proud of
Re: FRC Java or Labview?

Quote:
Originally Posted by cnc4 View Post
And to make me more clear to all, I am the only one on my team (except from the capten who was on the programming team with me last year and we learned from our team leader) so I need to teach all of the new members java, wpilib and git, which takes alot from me too.
Is there anyone involved in the team or that you interact with face to face that knows Labview? At least with Java there is one teacher on the team (and more in your school). If I understand your situation correctly, there would be no one involved in your team that can teach others Labview. Especially if English is not your first language, learning a new programming language off of the internet is not easy, even if it is graphical. You may actually find it easier to teach your team Java than Labview, even if the language is harder.
__________________

Reply With Quote
  #13   Spotlight this post!  
Unread 01-07-2016, 16:03
cnc4 cnc4 is offline
Registered User
FRC #2231
 
Join Date: Jul 2016
Location: Israel
Posts: 10
cnc4 is an unknown quantity at this point
Re: FRC Java or Labview?

Quote:
Originally Posted by ASD20 View Post
Is there anyone involved in the team or that you interact with face to face that knows Labview? At least with Java there is one teacher on the team (and more in your school). If I understand your situation correctly, there would be no one involved in your team that can teach others Labview. Especially if English is not your first language, learning a new programming language off of the internet is not easy, even if it is graphical. You may actually find it easier to teach your team Java than Labview, even if the language is harder.

The alumnus knows Labview , he is using it for the last 3 years or so and I have no problem learning programming language from the internet. Done it in c# and java.
Reply With Quote
  #14   Spotlight this post!  
Unread 01-07-2016, 16:20
jweston's Avatar
jweston jweston is offline
Registered User
FRC #1124 (The Überbots)
Team Role: Mentor
 
Join Date: Mar 2015
Rookie Year: 2015
Location: Avon, CT
Posts: 71
jweston is a splendid one to beholdjweston is a splendid one to beholdjweston is a splendid one to beholdjweston is a splendid one to beholdjweston is a splendid one to beholdjweston is a splendid one to beholdjweston is a splendid one to behold
Re: FRC Java or Labview?

Generally I'd say that going with Java is optimal if your team feels they have a basic understanding of programming in general. The main pros for me is:
1) it makes it a lot easier to exploit version control since it's text based (you can see what was added/removed on a commit-by-commit basis)
2) WPILib encourages a clean design pattern with its command callback structure.
But that's subjective. Some people will likely disagree.

Honestly our team had many students who struggled with learning LabVIEW. This was especially true for those who had already had some exposure to other C-like languages. LabVIEW's wiring and VIs can become a bit difficult to decipher when the code becomes complex. LabVIEW does make UI design pretty easy, though, and it integrates very well with the Driver Station. Of course, you can use LabVIEW for the driver UI and Java for the robot.

Regarding improving performance, I don't believe moving from Java to LabVIEW is likely to accomplish this unless your Java code is designed in a very inefficient way or your programmers are having enormous difficulty grasping how to use it.

Programming is sometimes (often?) asked to make up the difference for shortcomings from design and/or implementation. Changing languages won't fix that. Good game strategy, well thought out robot design, proper fabrication and assembly, appropriate use of sensors, and a good UX can mean huge strides forward for robot performance. Only the appropriate use of sensors and good UX is within the realm of programming. It is not language dependent at all.

Last edited by jweston : 01-07-2016 at 16:34.
Reply With Quote
  #15   Spotlight this post!  
Unread 01-07-2016, 19:34
Aeglos Aeglos is offline
Software Overlord
AKA: Nate- Dawg
FRC #2358 (Bearbotics)
Team Role: Programmer
 
Join Date: Jun 2016
Rookie Year: 2014
Location: Lake Zurich
Posts: 10
Aeglos is an unknown quantity at this point
Re: FRC Java or Labview?

Disclaimer- my experiences with LabVIEW are not exactly up to date, as we switched to using C++ a few years ago.

There is, in my opinion, one truly great thing about LabVIEW, and that is the level of support it is given not only by FIRST but also by National Instruments, where no similar support is offered for Java, C++, and the like.

It is true that it is very easy to get started with LabVIEW, meaning that yes, initially, you will find it more streamlined. However, it is significantly more difficult to use for custom functions or more complex/ advanced functions than the other languages are.

As well, your team will often find the increase in deployment/ compile times to waste time when it is possibly needed most (robot testing at competition/ bag and tag week), which could possibly have the reverse effect of what is intended.

No offense meant, and I will not pretend to know the situation or personalities of you or any members of your team, but to me it sounds like your mentor is making a push for LabVIEW because that is the language he has more experience with and prefers more. This means that yes, for him, it must be a faster solution than Java, so of course he wants to pass that onto the team.
However, you should remember that he isn't the one writing the code; you guys are, and should use what you think works best and fastest, not anything else.

In addition, Java will prepare more people for likely situations in the workforce, especially because Java is so prolific, and using it can give students very valuable life/ career experience.

Those are just my $0.02 (or $2.00, really, i wrote a lot. Sorry)
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:30.

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