Go to Post I don't know, there's quite a few teams that apply to travel to some random HS gym in Indiana every summer. - GaryVoshol [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 Route Are You Taking?
C++ 53 31.36%
Java 38 22.49%
LabView 78 46.15%
Voters: 169. You may not vote on this poll

Closed Thread
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 30-01-2010, 07:01
Igor1201's Avatar
Igor1201 Igor1201 is offline
Registered User
FRC #1382 (ETEP Team)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Brazil
Posts: 5
Igor1201 is an unknown quantity at this point
Re: Calling Out All Programmers

We'll use LabVIEW but, particullary, I would prefer Java.
However, LabVIEW have all the "visual" things, like the graphs and real-time changings.
P.S.: I hate that blocks.
__________________
@Team1382
  #17   Spotlight this post!  
Unread 30-01-2010, 08:21
Tanner's Avatar
Tanner Tanner is offline
Registered User
FRC #1261 (Roblions)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Suwanee, GA
Posts: 311
Tanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to behold
Re: Calling Out All Programmers

The only reason I use LabVIEW is because of it's debugging capabilities. As far as I know, C++/Java still use a terminal window (then again I haven't been reading up on those). Being able to see anything I want to from my program, in real time, with no extra work is just amazing.

'Course the downer is that it doesn't work very well with VCS and if you're a perfectionist (like me) all the little wires must be organized and straight.

-Tanner
  #18   Spotlight this post!  
Unread 30-01-2010, 08:57
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: Calling Out All Programmers

Quote:
Originally Posted by Tanner View Post
'Course the downer is that [LabVIEW] doesn't work very well with VCS and if you're a perfectionist (like me) all the little wires must be organized and straight.
LabVIEW can work well with version control systems. You just have to find an adequate set of instructions.

There's a "broom" tool that straightens up block diagrams. It does a remarkably good job of organizing things.
  #19   Spotlight this post!  
Unread 30-01-2010, 09:42
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,766
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: Calling Out All Programmers

Spoiler Alert: LV editing tips follow

For the perfectionists out there, I learned to use LV before the auto-routing and the auto tool. I still prefer it that way.

If the little wire bends bother you, try turning off the auto-routing. In that mode wiring will only produce a simple L for each click. There are two orientations to the L depending on whether you first moved horizontal or vertical. If you want to swap for the other, hit the space bar while wiring. Also, you can tack a wire wherever you like to cause it to go through that point. It takes a bit more thought, but but leaves you in control, and I guess I like it that way -- though I do like the cleanup tool as well.

A similar tradeoff exists for the auto tool. Using the auto tool, LV will swap out the wiring, movement, and text editing tool depending on mouse position, clicks, and whether the object is selected. If you turn the auto tool off using the preferences, or using shift-right click, you can hit the space bar (provided you aren't typing text), or tap the tab key to cycle through the common tools. You can also shift-right click to select the uncommon tools. Again, this takes a bit more thought, but leaves you in control.

There are also plenty of key hints you can give LV even if you leave the auto stuff turned on. I believe that holding Ctl and/or Shift key swaps to the alternate auto tool, and hitting the A key while wiring turns auto routing on/off. You may want to check the quick reference card or manual for others.

Greg McKaskle
  #20   Spotlight this post!  
Unread 30-01-2010, 11:18
Chath Maral's Avatar
Chath Maral Chath Maral is offline
User
AKA: Chathus Marlaclusos Majere
FRC #1785 (Robocats)
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Missouri
Posts: 49
Chath Maral is an unknown quantity at this point
Re: Calling Out All Programmers

We were going to use C++ this year, but switched to LabView because it is easier to explain to the freshmen who have no experience and we need to pass along our knowledge in order to keep the team alive.
So far we have not had many problems *knock on wood* and it's running smoothly.
__________________
Two things:
Cake==lie;
IF(char pit=="mosh","fun","work");


GO TEAM Robocats!!!
  #21   Spotlight this post!  
Unread 30-01-2010, 11:38
Sauce Sauce is offline
Registered User
FRC #1245 (Shazbots)
Team Role: Programmer
 
Join Date: Oct 2008
Rookie Year: 2008
Location: Louisville
Posts: 35
Sauce is an unknown quantity at this point
Re: Calling Out All Programmers

We used labview last year so we're using it again this year.
  #22   Spotlight this post!  
Unread 30-01-2010, 11:47
StevenB StevenB is offline
is having FRC withdrawal symptoms.
AKA: Steven Bell
no team
Team Role: College Student
 
Join Date: May 2005
Rookie Year: 2005
Location: Stanford, CA
Posts: 416
StevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond repute
Re: Calling Out All Programmers

Quote:
Originally Posted by davidthefat View Post
I seem to have to use Java... I wanted to use C++ but my mentor is like "The C++ Libraries Are Too Messy" or something like that... And that the Java code wont be any slower than the C++ because of FPGAs or something
From talking with several of the people who wrote the C++ and Java libraries (WPILib and WPILibJ), the Java libraries are basically wrappers around the C++ code. If you look through the documentation, you'll see that most things are exactly identical, with the exception of capitalization changes to match the Java naming convention.

Java does run slower than C++ on the CRIO. It's running the Squawk JVM, which is optimized for small devices, and doesn't include all the speed improvements that normal desktop Java provides. That said, the speed difference is not going to matter, unless you're doing something really complex and esoteric. The FPGA and C/C++ libraries do nearly all of the serious computational work, from handling encoder pulses to doing image processing.

Personally, I'm a longtime C/C++ programmer and I'm comfortable with LabVIEW, but I've been converted to Java. The whole software stack is open-source, and installing NetBeans with the FRC extensions on my Linux machine was a breeze. Downloading was simple and straightforward; we spent hours last year just trying to get the CRIO to connect to WRW.
__________________
Need a physics refresher? Want to know if that motor is big enough for your arm? A FIRST Encounter with Physics

2005-2007: Student | Team #1519, Mechanical Mayhem | Milford, NH
2008-2011: Mentor | Team #2359, RoboLobos | Edmond, OK
2014-??: Mentor | Looking for a team...
  #23   Spotlight this post!  
Unread 30-01-2010, 16:02
dag0620 dag0620 is offline
Because we're FiNE
AKA: David Givens
FRC #1071 (Team MAX)
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Wolcott, CT
Posts: 784
dag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond repute
Re: Calling Out All Programmers

1071 is going on Labview. The descion to this was mainly based on that out of all the programming students we have, only one is a veteran. He is only in his 2nd year and used LabView. So it was decided, we would use labview. I am pretty happy with it so far as a rookie, quickly picking up stuff. We are thinking about switching to Java next year, but that is pretty far up in the air.
__________________
David Givens
Alumnus Team Max 1071 ('13) | FIRST Volunteer | NE FIRST

Away making magic for a bit...
  #24   Spotlight this post!  
Unread 30-01-2010, 21:22
TheWhiteReaper's Avatar
TheWhiteReaper TheWhiteReaper is offline
Robot Operations Leader/Programer
AKA: Jeremy
FRC #1723 (First Bots of Independence)
Team Role: Webmaster
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Missouri
Posts: 5
TheWhiteReaper is an unknown quantity at this point
Re: Calling Out All Programmers

1723 is using LabView again because our head programer Josh has been using it for 4 years and has been teaching every one on the programing staff all it's ins and outs. Also I find lab view easier to debug than C++ or Jave because of the "highlight data flow" and "show/highlight location of error" functions.
__________________
RESPECT THE DUCT TAPE!!!!!


  #25   Spotlight this post!  
Unread 30-01-2010, 22:34
Al3+'s Avatar
Al3+ Al3+ is offline
ARTist
AKA: Anthony
FRC #0840 (Aragon Robotics Team)
Team Role: Programmer
 
Join Date: Oct 2009
Rookie Year: 2008
Location: San Mateo, CA
Posts: 58
Al3+ is a jewel in the roughAl3+ is a jewel in the roughAl3+ is a jewel in the rough
Re: Calling Out All Programmers

840 used LabView last year, and switched to C++ this year.

The one veteran programmer on our team last year opted for LabView because it seemed easier for newbies to pick up and use. As it turns out, most of the bot was coded by myself and another newbie. We went from no one having any experience with it, to working code by ship date (although nothing advanced), so I guess it worked out.

This year, I pushed for C++ after seeing how simple and beautiful WPILib is (in my opinion) and because I have worked with C++ before. I do foresee some problems passing it on to new members without any coding experience, but at least there's another year for that.
__________________
cout << "Hello, robotics. Goodbye, world." << endl;

"The two-axis accelerometer provided in the kit of parts (shown in the picture below) is a two-axis accelerometer." - WPILib User's Guide
  #26   Spotlight this post!  
Unread 30-01-2010, 23:14
TheWhiteReaper's Avatar
TheWhiteReaper TheWhiteReaper is offline
Robot Operations Leader/Programer
AKA: Jeremy
FRC #1723 (First Bots of Independence)
Team Role: Webmaster
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Missouri
Posts: 5
TheWhiteReaper is an unknown quantity at this point
Re: Calling Out All Programmers

Quote:
Originally Posted by Al3+ View Post
The one veteran programmer on our team last year opted for LabView because it seemed easier for newbies to pick up and use. As it turns out, most of the bot was coded by myself and another newbie. We went from no one having any experience with it, to working code by ship date (although nothing advanced), so I guess it worked out.
This is why we're using LabView. I've been working with it for less than a week and I'm starting to code our robot already.
__________________
RESPECT THE DUCT TAPE!!!!!


  #27   Spotlight this post!  
Unread 30-01-2010, 23:45
daltore's Avatar
daltore daltore is offline
Electronics/programming/design
AKA: Aaron Osmer
FRC #3529 (ausTIN CANs)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2007
Location: San Antonio, TX
Posts: 272
daltore has a spectacular aura aboutdaltore has a spectacular aura aboutdaltore has a spectacular aura about
Send a message via AIM to daltore Send a message via MSN to daltore Send a message via Yahoo to daltore
Re: Calling Out All Programmers

We're using LabView mainly because our teacher sponsor has buddied up to LabView people. Most of our programmers wanted to use C++, but the LabView is working, and I'm kind of getting used to it.
  #28   Spotlight this post!  
Unread 31-01-2010, 01:07
hyperdude's Avatar
hyperdude hyperdude is offline
Techie.
AKA: Mike W.
FRC #2503 (Warrior Robotics)
Team Role: College Student
 
Join Date: Nov 2009
Rookie Year: 2008
Location: Minnesota
Posts: 67
hyperdude has a spectacular aura abouthyperdude has a spectacular aura abouthyperdude has a spectacular aura about
Re: Calling Out All Programmers

At this point I'm not 100% sure which route we're taking. The team consensus is that we're going to program in LabVIEW, but the junior responsible for setting up our electronics (and ostensibly for programming) has been stubborn about using C++: solely, it seems, because he knows more about C++ than LabVIEW.

Until the middle of this month I was absolutely confused by programming in LabVIEW. Then I watched the NI tutorials and I got it right away (more or less because I LOVED programming in RoboPRO in Principles of Engineering). This kid, though.... we just don't know.

All right, I'll stop rambling.
__________________
  #29   Spotlight this post!  
Unread 31-01-2010, 10:05
Doc Wu's Avatar
Doc Wu Doc Wu is offline
Registered User
AKA: Al Gritzmacher
FRC #1507 (Warlocks)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2003
Location: Lockport NY
Posts: 207
Doc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant future
Re: Calling Out All Programmers

Isn't that kind of like asking PC, Mac, or Linux?

Whatever you choose is what's best for you.
__________________
-= Mentor Lockport Warlocks -=- Team 1507 =-
Amateur Radio Callsign: AE2T

2016 Robot Inspector - Fingerlakes, Pittsburgh
2015 Robot Inspector - Pittsburgh, Champs. Judge Observer - Champs
2014 Robot Inspector - Tech Valley, Fingerlakes, Buckeye, Championship
2013 Robot Inspector - Fingerlakes, Buckeye, Championship
2012 Robot Inspector - Fingerlakes, Buckeye, Championship - Website Evaluator - Fingerlakes, Buckeye, Championship
2011 Robot Inspector - Fingerlakes 2011 Safety Advisor - Fingerlakes

  #30   Spotlight this post!  
Unread 31-01-2010, 11:16
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: Calling Out All Programmers

Quote:
Originally Posted by StevenB View Post
From talking with several of the people who wrote the C++ and Java libraries (WPILib and WPILibJ), the Java libraries are basically wrappers around the C++ code. If you look through the documentation, you'll see that most things are exactly identical, with the exception of capitalization changes to match the Java naming convention.

Java does run slower than C++ on the CRIO. It's running the Squawk JVM, which is optimized for small devices, and doesn't include all the speed improvements that normal desktop Java provides. That said, the speed difference is not going to matter, unless you're doing something really complex and esoteric. The FPGA and C/C++ libraries do nearly all of the serious computational work, from handling encoder pulses to doing image processing.

Personally, I'm a longtime C/C++ programmer and I'm comfortable with LabVIEW, but I've been converted to Java. The whole software stack is open-source, and installing NetBeans with the FRC extensions on my Linux machine was a breeze. Downloading was simple and straightforward; we spent hours last year just trying to get the CRIO to connect to WRW.
funny thing, my mentor and I spend like 3 hours trying to find the demo code for the java... We were looking all in the wrong places LOL
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calling on FIRST to help me out :) Greg Perkins Chit-Chat 7 02-08-2007 02:33
Calling All Homeschoolers Penny Team Organization 1 26-04-2005 10:51
Calling all PHP/ASP programmers! blueWarrior FIRST-related Organizations 15 27-01-2004 13:24
Calling all Lawyers... ...Define "all parts" Joe Johnson General Forum 10 13-03-2002 15:12
Calling all Tigerbolt Chatters - And All Newcomers! Lora Knepper Chit-Chat 9 11-07-2001 18:09


All times are GMT -5. The time now is 14:13.

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