Go to Post Dont give up, because that is when you lose what you have. FIRST is the best experience that I have had throughout my entire life and there is no way ANYONE can make me quit FIRST. - Arefin Bari [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: What language do you use?
LabView 18 40.00%
Java 12 26.67%
C++ 14 31.11%
Other (Please Specify) 1 2.22%
Voters: 45. You may not vote on this poll

Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 04-04-2010, 13:05
ThunderMa14 ThunderMa14 is offline
Registered User
FRC #1991
 
Join Date: Apr 2010
Location: Southington, CT
Posts: 2
ThunderMa14 is an unknown quantity at this point
What do you use to program your robot?

We have been using LabView for a while now, and one of our mentors wants us to switch over to Java.

Some other people are agreeing with him, but the team my friend was on had a lot of problems with Java.

So my questions are:
What do you use? (C++, Java, Labview, Other)
How well does it work? (Rate 1-10 please )
Has your team experienced problems with your programming language?
  #2   Spotlight this post!  
Unread 04-04-2010, 13:28
Azores's Avatar
Azores Azores is offline
Registered User
AKA: Andrew
FRC #3161 (Tronic Titans)
Team Role: Mentor
 
Join Date: Mar 2010
Rookie Year: 2010
Location: Toronto, Ontario
Posts: 40
Azores has a spectacular aura aboutAzores has a spectacular aura aboutAzores has a spectacular aura about
Re: What do you use to program your robot?

Java
7.5/10
I was the only programmer this year, so it's hard to say if the team had difficulties . My only issues with the FRC Java libraries were some odd definitions of methods that were either just vague or actually gave slightly incorrect information in a few cases, which obviously lead to code not doing what I wanted, and made troubleshooting impossible until I found out the method I was calling didn't do what I thought it did
__________________
3161 Software Mentor + Photographer
  #3   Spotlight this post!  
Unread 04-04-2010, 13:29
Andrew Schreiber Andrew Schreiber is offline
Joining the 900 Meme Team
FRC #0079
 
Join Date: Jan 2005
Rookie Year: 2000
Location: Misplaced Michigander
Posts: 4,069
Andrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond repute
Re: What do you use to program your robot?

397 used C++. 2337 used Labview.

397 had some issues with Windriver.

2337 had to deal with the crazy long deploy times of Labview.

Personally, my choice is C++ because I am more familiar with it.

I have no experience with Java.
__________________




.
  #4   Spotlight this post!  
Unread 04-04-2010, 13:34
mwtidd's Avatar
mwtidd mwtidd is offline
Registered User
AKA: mike
FRC #0319 (Big Bad Bob)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 2003
Location: Boston, MA
Posts: 714
mwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond repute
Re: What do you use to program your robot?

I'm curious, what kind of issues did your friend have with Java?

Or even better, do you have his code?

Once you figure our the basics of the java code it becomes pretty easy to do stuff pretty fast

i.e. at competition we added a winch which needed to run in one direction before it ran in another

the coding of the winch and the programmatic lock took a few minutes.
__________________
"Never let your schooling interfere with your education" -Mark Twain
  #5   Spotlight this post!  
Unread 04-04-2010, 13:39
JABot67 JABot67 is offline
Unregistered User
AKA: John Bottenberg
FRC #2930 (Sonic Squirrels)
Team Role: Engineer
 
Join Date: Feb 2009
Rookie Year: 2007
Location: Redmond, WA
Posts: 328
JABot67 has a reputation beyond reputeJABot67 has a reputation beyond reputeJABot67 has a reputation beyond reputeJABot67 has a reputation beyond reputeJABot67 has a reputation beyond reputeJABot67 has a reputation beyond reputeJABot67 has a reputation beyond reputeJABot67 has a reputation beyond reputeJABot67 has a reputation beyond reputeJABot67 has a reputation beyond reputeJABot67 has a reputation beyond repute
Re: What do you use to program your robot?

There have been multiple threads on this topic, but oh well.

Team 67 uses both C++ and LabVIEW. Our programming team was so big this year (10 members) that we decided to split up into C++ and LabVIEW teams. The idea was that both teams would program the robot to work in the same way, and at the end of the build season, we would decide which one was better. When I was told I was to be the senior LabVIEW programmer for the HOT Team, I was sure we were going to end up using C++, because I had no experience with LabVIEW and our head C++ programmer is very good.

But 6 weeks later, after I had taught myself LabVIEW and learned to love it, the team decided that both programming environments were completely functional and worked at exactly the same level. We decided to use LabVIEW at one district event and C++ at the other, and then use whichever one worked better for the State Championship and Atlanta. We used LabVIEW at Kettering, winning the event. The one time that our robot scored 3 balls in auton from the far zone (qf1-2) was the greatest, most exciting moment of my robotics career.

We used C++ at the Detroit District, where we worked all Friday trying to get the robot to hang. Our arm potentiometer malfunctioned Friday afternoon, and that caused a bug in our C++ code where we weren't able to kick. We played one match without kicking at all, and then switched to LabVIEW for 3 matches while our C++ programmers figured out the problem. If it weren't for our ability to use two completely different programs to run our robot, we would not have seeded #1 at Detroit, and perhaps wouldn't have won.

For the State Championship, we had no idea which program to use. In fact, the decision was made at around 10:00 on Thursday that we would use LabVIEW for States and C++ at Atlanta.

One interesting thing is that the HOTBOT is completely student-programmed this year. Us students had to fend for ourselves after two really great mentors, Dave Doerr (C++) and Bob VanHam (LabVIEW) left the team this year. Our programming mentors, Dave Verbrugge and Theresa Prior, told us at the beginning of the season that the would not able to help us program in the pits. (Dave is MCing at every competition we are going to!)

Has any other team tried to use more than 1 programming environment?
__________________
John Bottenberg - University of Michigan '14 - Microsoft
FLL Team "Dark Matter": 2003-2005
Robofest Team "Dark Matter": 2005-2008
Team 67 Programmer: 2007-2010
Team 3322 Programming Mentor: 2012-2014
Team 2930 Engineering Mentor: 2015-????
  #6   Spotlight this post!  
Unread 04-04-2010, 13:46
ThunderMa14 ThunderMa14 is offline
Registered User
FRC #1991
 
Join Date: Apr 2010
Location: Southington, CT
Posts: 2
ThunderMa14 is an unknown quantity at this point
Re: What do you use to program your robot?

Quote:
Originally Posted by lineskier View Post
I'm curious, what kind of issues did your friend have with Java?

Or even better, do you have his code?

Once you figure our the basics of the java code it becomes pretty easy to do stuff pretty fast

i.e. at competition we added a winch which needed to run in one direction before it ran in another

the coding of the winch and the programmatic lock took a few minutes.

It was a local scrimmage in suffield, and they could not get their robot running. It was a problem with either their script or their robot just not working with the code, but they did not compete all day.
  #7   Spotlight this post!  
Unread 04-04-2010, 19:20
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: What do you use to program your robot?

We like LabVIEW because we like the debugging and real-time front panel tools. We use global variables to store large amounts of calibration data, and editing in real-time is really nice, especially with the large download times.

I would give it a 6.7 out of 10, for two reasons:

Builds take almost three minutes. This in itself is almost all of the problem.

The WPI library for LabVIEW is not pre-compiled, so it must be re-compiled every time it is built. It re-builds the WPI library every time it is used, causing almost all of the long build times. Also, the WPI library itself isn't the most efficient thing in the world, and some parts of it (Compressor especially) are quite inefficient, and when trying to debug and use camera tracking this can be a killer. We eventually decided that the cRio is not powerful enough to track the target all the time, something we prefer to do.

As some positives to LabVIEW, we can edit the PID gains and setpoints in real time from a global variable file, so we don't actually have to download that much. We also wrote a visual autonomous system, mirroring one that I used several years ago for LEGO, so it's really easy to write new modes and such. We also utilize several threads, and LabVIEW makes that really easy.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
  #8   Spotlight this post!  
Unread 04-04-2010, 19:25
Dkt01's Avatar
Dkt01 Dkt01 is offline
Programming Mentor
AKA: David
FRC #1756 (Argos)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Peoria, Il
Posts: 145
Dkt01 will become famous soon enough
Re: What do you use to program your robot?

1756 used Labview for the first time this year. We had a quick learning experience, which was helped greatly by a mentor who uses Labview at work. Otherwise, our lead programming mentor would have likely gone back to C++. I like Labview because it is easy to understand and change, but it takes a long, long, long time to build and deploy. This is frustrating when the mechanical guys are waiting to play with the robot for the first, or thirty-sixth time of the day.
I would recommend Labview, but if a team is more familiar with C++ or Java, why not play to your strengths.
  #9   Spotlight this post!  
Unread 04-04-2010, 19:30
kjolana1124's Avatar
kjolana1124 kjolana1124 is offline
Registered User
AKA: Kelsey Jo Starr
FRC #1124 (The ÜberBots)
Team Role: Alumni
 
Join Date: Apr 2008
Rookie Year: 2007
Location: Blacksburg, VA
Posts: 231
kjolana1124 has a brilliant futurekjolana1124 has a brilliant futurekjolana1124 has a brilliant futurekjolana1124 has a brilliant futurekjolana1124 has a brilliant futurekjolana1124 has a brilliant futurekjolana1124 has a brilliant futurekjolana1124 has a brilliant futurekjolana1124 has a brilliant futurekjolana1124 has a brilliant futurekjolana1124 has a brilliant future
Re: What do you use to program your robot?

We're using LabVIEW this year, but I think we're switching to either C or C++ next year. Our programmers are already making modular coding things for next year (I don't know a lot about programming persay, I prefer sleep xD)
__________________
Woodie Flowers asked for Super Nerds

We're giving him ÜberNerds
~Tweeeeter~

2010 Northeast Utilities Hartford Regional Champions
2010 WPI Regional Chairman's Award Winners
2008 Archimedes Division Champions
2008 Hartford Regional Champions
  #10   Spotlight this post!  
Unread 04-04-2010, 19:44
ttldomination's Avatar
ttldomination ttldomination is offline
Sunny
no team
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 2007
Location: Roanoke, TX
Posts: 2,066
ttldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond repute
Re: What do you use to program your robot?

Team 1261 is using LabView because our head programmer likes the debugging features and everything. And it works well. No complaints on the performance end except for a couple of things.

Next year, we're looking at C++. Our head programmer is graduating and our projected head programmer is most familiar with C++.
__________________
1261: 2007-2012
1648: 2013-2014
5283: 2015
  #11   Spotlight this post!  
Unread 04-04-2010, 20:09
AmoryG AmoryG is offline
Registered User
FRC #2423 (KwarQs)
Team Role: Alumni
 
Join Date: Mar 2008
Rookie Year: 2008
Location: Watertown, MA
Posts: 221
AmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud of
Re: What do you use to program your robot?

Quote:
Originally Posted by JABot67 View Post
There have been multiple threads on this topic, but oh well.

Team 67 uses both C++ and LabVIEW. Our programming team was so big this year (10 members) that we decided to split up into C++ and LabVIEW teams. The idea was that both teams would program the robot to work in the same way, and at the end of the build season, we would decide which one was better. When I was told I was to be the senior LabVIEW programmer for the HOT Team, I was sure we were going to end up using C++, because I had no experience with LabVIEW and our head C++ programmer is very good.

But 6 weeks later, after I had taught myself LabVIEW and learned to love it, the team decided that both programming environments were completely functional and worked at exactly the same level. We decided to use LabVIEW at one district event and C++ at the other, and then use whichever one worked better for the State Championship and Atlanta. We used LabVIEW at Kettering, winning the event. The one time that our robot scored 3 balls in auton from the far zone (qf1-2) was the greatest, most exciting moment of my robotics career.

We used C++ at the Detroit District, where we worked all Friday trying to get the robot to hang. Our arm potentiometer malfunctioned Friday afternoon, and that caused a bug in our C++ code where we weren't able to kick. We played one match without kicking at all, and then switched to LabVIEW for 3 matches while our C++ programmers figured out the problem. If it weren't for our ability to use two completely different programs to run our robot, we would not have seeded #1 at Detroit, and perhaps wouldn't have won.

For the State Championship, we had no idea which program to use. In fact, the decision was made at around 10:00 on Thursday that we would use LabVIEW for States and C++ at Atlanta.

One interesting thing is that the HOTBOT is completely student-programmed this year. Us students had to fend for ourselves after two really great mentors, Dave Doerr (C++) and Bob VanHam (LabVIEW) left the team this year. Our programming mentors, Dave Verbrugge and Theresa Prior, told us at the beginning of the season that the would not able to help us program in the pits. (Dave is MCing at every competition we are going to!)

Has any other team tried to use more than 1 programming environment?
My team probably would have loved to use two programming languages, but for a different reason. We programmed in C++, but if we could load code from both C++ and Labview at the same time, I think our camera code would have been written in LabView.
__________________
KwarQs 2423

2008 Boston Regional Rookie Allstars

http://whsrobot.blogspot.com/
  #12   Spotlight this post!  
Unread 04-04-2010, 21:41
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: What do you use to program your robot?

Did Java this year, doing C++ next year with C for the sub boards
__________________
Do not say what can or cannot be done, but, instead, say what must be done for the task at hand must be accomplished.
  #13   Spotlight this post!  
Unread 04-04-2010, 22:27
biojae's Avatar
biojae biojae is offline
Likes Omni drives :)
AKA: Justin Stocking
FTC #5011 (BOT SQUAD) && FTC#72(Garage bots)&& FRC#0399 (Eagle Robotics)
Team Role: College Student
 
Join Date: Oct 2008
Rookie Year: 2008
Location: Lancaster
Posts: 276
biojae is a jewel in the roughbiojae is a jewel in the roughbiojae is a jewel in the rough
Re: What do you use to program your robot?

Java this year.

Windriver last, Java this, Labview next (Maybe)

Before I can form an honest opinion of the languages, I have to try them all first.

Next year will complete the trio (unless another language is in the works )

But, even if labview isn't used on my team, it will still be used for realtime things like PID tuning. (Did it the hard way this year: upload, doesn't work, change, repeat)
__________________
FTC Team 72 - No site
FRC Team 399 - http://www.team399.org
2010 Rockwell Collins Innovation in Control Award - (Use of the CAN bus, among other reasons) Phoenix, Arizona!
  #14   Spotlight this post!  
Unread 04-04-2010, 22:38
AmoryG AmoryG is offline
Registered User
FRC #2423 (KwarQs)
Team Role: Alumni
 
Join Date: Mar 2008
Rookie Year: 2008
Location: Watertown, MA
Posts: 221
AmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud of
Re: What do you use to program your robot?

Quote:
Originally Posted by biojae View Post
Next year will complete the trio (unless another language is in the works )
Python! From what I've read/heard from my programming mentor and know about it, I think I would be very happy if we could program in a language like python (probably won't happen).
__________________
KwarQs 2423

2008 Boston Regional Rookie Allstars

http://whsrobot.blogspot.com/
  #15   Spotlight this post!  
Unread 04-04-2010, 22:43
Robototes2412's Avatar
Robototes2412 Robototes2412 is offline
1 * 4 != 14
FRC #2412 (Robototes)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2007
Location: Bellevue
Posts: 312
Robototes2412 is on a distinguished road
Re: What do you use to program your robot?

you can use jython, btw
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
Use MPLAB to program your VEX robot -- FOR FREE!! GGCO Programming 13 25-10-2010 11:19
What CVS program do you use? NoodleKnight Website Design/Showcase 15 22-11-2004 00:27
What program do you use for webdesign? Rez648 Website Design/Showcase 42 24-05-2004 17:19
What motors do you use to drive your robot? _GP_ General Forum 25 25-01-2004 21:14
What modeling program did you use? archiver 2000 5 23-06-2002 23:24


All times are GMT -5. The time now is 23:26.

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