Go to Post Courtesy and kindness should be the words for the weekend. - IndySam [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 30-07-2015, 15:23
Ari423's Avatar
Ari423 Ari423 is offline
LabVIEW aficionado and robot addict
AKA: The guy with the yellow hat
FRC #5987 (Galaxia)
Team Role: Mentor
 
Join Date: Mar 2015
Rookie Year: 2012
Location: Haifa, Israel
Posts: 540
Ari423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant future
Re: What software program/language is best for roboRio?

Quote:
Originally Posted by Larry Lewis View Post
Another possible approach is to give the students the opportunity to use more than one language if you have the mentor and/or experienced students to support that.

For example you could use C++ or Java for the robot and LabVIEW for the operator controls. That way students get exposure to more than one language so they can determine what they are most proficient in.
I don't know much about robot code in Java or C++, but I know for LabVIEW most (if not all) of the input processing is done on the RoboRIO. You can program a fancy dashboard (as I usually do) but I don't know if a LabVIEW dashboard can communicate with a Java or C++ robot. I can definitely say that if you do decide to try both, you should switch them at some point because programming a dashboard in LabVIEW is very different than programming a robot.
__________________
2017-present: Mentor FRC 5987
2017-present: CSA for FIRST in Israel
2012-2016: Member FRC 423
2013: Programmer
2014: Head Programmer, Wiring
2015: Head Programmer, Wiring
2016: Captain, Head Programmer, Wiring, Manipulator, Chassis, CAD, Business, Outreach (basically everything)


  #17   Spotlight this post!  
Unread 30-07-2015, 15:32
TheHolyHades1 TheHolyHades1 is offline
Registered User
no team
 
Join Date: Jan 2014
Rookie Year: 2010
Location: usa
Posts: 145
TheHolyHades1 is a jewel in the roughTheHolyHades1 is a jewel in the roughTheHolyHades1 is a jewel in the rough
Re: What software program/language is best for roboRio?

One thing that I don't believe has been mentioned is the speed / ease of teaching C++ and Java vs LabVIEW. While my teams haven't had experience in LabVIEW, I can say that FRC Java/C++ is often quite different from "real world" Java/C++, in that generally, a limited subset of the language is used.

I would second the advice about using the language your programming mentor knows best, but I'd also add that if you're planning on teaching students in a standard fashion, similar to a high school / college intro programming course, then the span of preseason isn't usually enough to get it done (at meetings, at least). If you're just teaching FRC specific coding, then with some effort it is certainly possible.
  #18   Spotlight this post!  
Unread 30-07-2015, 15:33
Larry Lewis's Avatar
Larry Lewis Larry Lewis is offline
The Spiky Hair Guy
FRC #1511 (Rolling Thunder)
Team Role: Leadership
 
Join Date: Apr 2005
Rookie Year: 2005
Location: Rochester, New York
Posts: 108
Larry Lewis is a name known to allLarry Lewis is a name known to allLarry Lewis is a name known to allLarry Lewis is a name known to allLarry Lewis is a name known to allLarry Lewis is a name known to all
Re: What software program/language is best for roboRio?

Quote:
Originally Posted by Ari423 View Post
I don't know much about robot code in Java or C++, but I know for LabVIEW most (if not all) of the input processing is done on the RoboRIO. You can program a fancy dashboard (as I usually do) but I don't know if a LabVIEW dashboard can communicate with a Java or C++ robot. I can definitely say that if you do decide to try both, you should switch them at some point because programming a dashboard in LabVIEW is very different than programming a robot.
In the past we have done a LabVIEW dashboard while using C++ for the robot code. So that is a possibility for teams if they want to go with that approach.

I agree that programming a dashboard is very different than programming a robot. What I am suggesting is that by programming the robot in one language and the dashboard in another, you can give the same or different students some familiarity to the programming environments of both.

That being said I would introduce the students to both languages you choose prior to build season so that you are not trying to "learn on the job" during build season.
__________________
Larry Lewis
FIRST Team 1511 - Rolling Thunder
Team Leader
2013 - Present: Systems Engineer - Viewpoint Systems
2004 - 2013: Lead Test Engineer - Harris RF Communications
www.penfieldrobotics.com
Certified LabVIEW Architect
"I haven't failed, I've found 10,000 ways that don't work" ~Thomas Alva Edison
  #19   Spotlight this post!  
Unread 30-07-2015, 22:30
virtuald's Avatar
virtuald virtuald is online now
RobotPy Guy
AKA: Dustin Spicuzza
FRC #1418 (), FRC #1973, FRC #4796, FRC #6367 ()
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2003
Location: Boston, MA
Posts: 1,045
virtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant future
Re: What software program/language is best for roboRio?

Obviously, write the robot in Python, dashboard in HTML5/Javascript.
__________________
Maintainer of RobotPy - Python for FRC
Creator of pyfrc (Robot Simulator + utilities for Python) and pynetworktables/pynetworktables2js (NetworkTables for Python & Javascript)

2017 Season: Teams #1973, #4796, #6369
Team #1418 (remote mentor): Newton Quarterfinalists, 2016 Chesapeake District Champion, 2x Innovation in Control award, 2x district event winner
Team #1418: 2015 DC Regional Innovation In Control Award, #2 seed; 2014 VA Industrial Design Award; 2014 Finalists in DC & VA
Team #2423: 2012 & 2013 Boston Regional Innovation in Control Award


Resources: FIRSTWiki (relaunched!) | My Software Stuff

Last edited by virtuald : 31-07-2015 at 01:32. Reason: Add sarcastic smiley.
  #20   Spotlight this post!  
Unread 31-07-2015, 01:31
SoftwareBug2.0's Avatar
SoftwareBug2.0 SoftwareBug2.0 is offline
Registered User
AKA: Eric
FRC #1425 (Error Code Xero)
Team Role: Mentor
 
Join Date: Aug 2004
Rookie Year: 2004
Location: Tigard, Oregon
Posts: 486
SoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant future
Re: What software program/language is best for roboRio?

Quote:
Originally Posted by Arhowk View Post
... Interpreted languages have numerous benefits, such as no deploy time and the ability to grab code from the roboRIO...
I don't mean to hijack the thread but this reminds me: When my team went to a compile/upload cycle outside of Eclipse we got a pretty dramatic speedup. We found that for C++ the waiting didn't need to be more than a couple seconds.
  #21   Spotlight this post!  
Unread 31-07-2015, 12:31
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 542
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
Re: What software program/language is best for roboRio?

Quote:
Originally Posted by virtuald View Post
Obviously, write the robot in Python, dashboard in HTML5/Javascript.
Beat you

Quote:
Originally Posted by SoftwareBug2.0 View Post
I don't mean to hijack the thread but this reminds me: When my team went to a compile/upload cycle outside of Eclipse we got a pretty dramatic speedup. We found that for C++ the waiting didn't need to be more than a couple seconds.
I actually modified my eclipse build scripts for Java and was able to get the deploy time down to 20% of what it used to be by removing useless junk (like checking if the robot has a JRE) and performing build-only-as-necessary.

Although it's decently irrelevant to the topic.
__________________
FRC Team 1684 - Head Programmer (2013-2016)
FRC Team 5460 - Programming Mentor (2015-2016)

FIRST in Michigan - Technical Crew (2015-continuing)
  #22   Spotlight this post!  
Unread 03-08-2015, 11:03
fovea1959's Avatar
fovea1959 fovea1959 is offline
Herder of programmers
AKA: Doug Wegscheid
FRC #3620 (The Average Joes)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: St Joseph
Posts: 329
fovea1959 will become famous soon enough
Re: What software program/language is best for roboRio?

Arhowk: interested in posting your changes to build.xml?
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 17:38.

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