Go to Post Stand strong mentors. You never know who you have become a brother, sister, father, or mother to. - MysterE [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
  #31   Spotlight this post!  
Unread 12-05-2011, 03:53
remulasce remulasce is offline
Registered User
no team
 
Join Date: Jan 2010
Rookie Year: 2007
Location: Mtn View
Posts: 140
remulasce is a splendid one to beholdremulasce is a splendid one to beholdremulasce is a splendid one to beholdremulasce is a splendid one to beholdremulasce is a splendid one to beholdremulasce is a splendid one to beholdremulasce is a splendid one to behold
Re: Who to Choosing Between programming language?

The only "special program" I would especially recommend you have is netconsole. Python is interpreted, not compiled, so if a crash-worthy bug is made, it will be uploaded to the robot and might not be caught until it actually does crash on the robot, potentially mid match. By no means is this a deal breaker- a once-over of the code before upload will catch your spelling and syntax errors, which are the vast majority of crashes, and you need to make it a point to test every single line of code, but you do that anyway, right?. In the current version, crash information is reported over console, so if you want to know where to look for your bug, you need NetConsole. To be crash-tolerant, put your different subsystems in their own try-except blocks, so if one fails the rest of your robot is still workable.

Probably the biggest downside right now to Python is that it is new and documentation isn't complete. if you have problems at competition, you might be the only team there using it, so no one would be able to help. We're working on the documentation part, although it really requires little past the tutorial on how to install, and that was the first thing written.
__________________
Student 294: 2007-2011
Mentor 597: 2013-2015
Google SWE: 2015-
  #32   Spotlight this post!  
Unread 12-05-2011, 08:48
mathking's Avatar
mathking mathking is offline
Coach/Faculty Advisor
AKA: Greg King
FRC #1014 (Dublin Robotics aka "Bad Robots")
Team Role: Teacher
 
Join Date: Jan 2005
Rookie Year: 1999
Location: Columbus, OH
Posts: 638
mathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond repute
Re: Who to Choosing Between programming language?

Quote:
Originally Posted by Alan Anderson View Post
If you just think of it as "visual programming" you're missing a significant part of what makes it LabVIEW. The big difference isn't pictures instead of text; it's dataflow programming instead of procedural.
This is exactly the key distinction. As a CS teacher I would like to say "thanks Alan" for bringing this up. It is one of the things I like the most about using LabVIEW.
__________________
Thank you Bad Robots for giving me the chance to coach this team.
Rookie All-Star Award: 2003 Buckeye
Engineering Inspiration Award: 2004 Pittsburgh, 2014 Crossroads
Chairman's Award: 2005 Pittsburgh, 2009 Buckeye, 2012 Queen City
Team Spirit Award: 2007 Buckeye, 2015 Queen City
Woodie Flowers Award: 2009 Buckeye
Dean's List Finalists: Phil Aufdencamp (2010), Lindsey Fox (2011), Kyle Torrico (2011), Alix Bernier (2013), Deepthi Thumuluri (2015)
Gracious Professionalism Award: 2013 Buckeye
Innovation in Controls Award: 2015 Pittsburgh
Event Finalists: 2012 CORI, 2016 Buckeye
  #33   Spotlight this post!  
Unread 12-05-2011, 08:49
OSU_Springer OSU_Springer is offline
Babcock & Wilcox - Engineer
AKA: Bill Springer
FRC #0677 (Murphy's Outlaws)
Team Role: Engineer
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Columbus, Ohio
Posts: 10
OSU_Springer is an unknown quantity at this point
Re: Who to Choosing Between programming language?

Quote:
Originally Posted by sanddrag View Post
I'm not a programmer, but I do consider myself very computer literate and I've done limited programming in LabView, Java, PBASIC, and Matlab. I must say, of them all, LabView was the most frustrating for me to use.
I would agree that Labview can be frustrating. However, NI has gone through significant pains to make it very easy to use for FIRST. I would recommend Labview because it is the easiest (in my opinion) to teach to students, as well as for them to troubleshoot. I am going out on a limb thinking that there are probably more visual learners out there than any other. Labview is ideal for this group.
  #34   Spotlight this post!  
Unread 12-05-2011, 09:22
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: Who to Choosing Between programming language?

Quote:
Originally Posted by sanddrag View Post
I'm not a programmer, but I do consider myself very computer literate and I've done limited programming in LabView, Java, PBASIC, and Matlab. I must say, of them all, LabView was the most frustrating for me to use.
LabVIEW is the only one in your list that isn't a "traditional" procedural language. It makes sense that you'd find it the hardest to work with based on limited exposure.

I too had a frustrating introduction to LabVIEW. My instructor was a wizard at dataflow programming, and showed me things so quickly that I never had a chance to understand the underlying nature of what was going on. Later, after I had gone through a well-done series of tutorials -- and after I had let go of much of what I thought a programming language "needed" to be -- everything was much easier to understand.
  #35   Spotlight this post!  
Unread 12-05-2011, 10:14
jonboy jonboy is offline
Engineer/Mentor
FRC #0885 (The Green Team)
Team Role: Engineer
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Tunbridge, Vermont
Posts: 46
jonboy is an unknown quantity at this point
Re: Who to Choosing Between programming language?

There are many phases of software development that are language independent as it applies to FIRST robots. The requirement definition of functions and interfaces applies to all languages. Also the top level design, algorithms and logic tasks apply to all languages. Neither SW coding nor language for most typical SW development projects are the biggest problem. The FIRST software code must interface in real time with the physical world of the FIRST robot with its various sensors and actuators. This is quite a challenge for the code which most SW developers usually don’t have to deal with. These physical items are not familiar to most FIRST participants especially the students. Understanding how these physical items respond is important to developing good code to control the robot.

What I like about LV is the ability to easily make front panels with lots of graphical items to display various parameters simultaneously so that everyone can observe what is happening in real-time. There is also the ability to monitor selected data flows in the code. This is a big deal when you are trying to characterize the sensors and actuators and when you are debugging and tuning the robot. With the wireless interface and the graphics it sure beats the old tethered and printf debugging of years past. There are lots NI tutorials and documentation to get up to speed. LV tech support on the phone is both responsive and expert. FRCMastery video tutorials are also an excellent source for learning FIRST LV code.
__________________
... jon
  #36   Spotlight this post!  
Unread 13-05-2011, 02:34
WizenedEE's Avatar
WizenedEE WizenedEE is offline
Registered User
AKA: Adam
FRC #3238 (Cyborg Ferrets)
Team Role: Leadership
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Anacortes, WA
Posts: 395
WizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to all
Re: Who to Choosing Between programming language?

When building a robot for a personal project recently, I used labview to debug a lot of its problems. I spent a few days getting the serial connection to work, but after that I could look at the signals the robot was getting and what it was outputting on a graph and managed to figure it all out. I feel this is one of the real strengths of labview.

Another part of labview that I really liked was that I didn't need to put in anything to debug. By "probing" wires, you can see what its value is, and you can even see what function it is currently executing. That means that even if you don't think that you will need to look at a value, ever, you can still look at it without any recompiling, redownloading, or anything.

However, labview is also very slow. Downloading it takes a long time, starting it takes a long time, and, worst of all, uploading code takes a long time. This means that, if there's a problem, you can't just throw something onto the robot, you have to wait about a minute for it to load.

Another thing I don't like is that it is completely closed sourse, and, even worse, expensive. That means that after I get out of FRC, I pretty much won't be able to use it until I get a job. Also, you can only use computers with labview on it to write code, unlike in text-based languages.
  #37   Spotlight this post!  
Unread 13-05-2011, 05:26
Chris is me's Avatar
Chris is me Chris is me is online now
no bag, vex only, final destination
AKA: Pinecone
FRC #0228 (GUS Robotics); FRC #2170 (Titanium Tomahawks)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2006
Location: Glastonbury, CT
Posts: 7,718
Chris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond repute
Send a message via AIM to Chris is me
Re: Who to Choosing Between programming language?

I'm very interested in coding an FRC robot in Python and I'm glad to hear you guys had success with Python this year. I'd love to make Python an off season project for Shaker Robotics
__________________
Mentor / Drive Coach: 228 (2016-?)
...2016 Waterbury SFs (with 3314, 3719), RIDE #2 Seed / Winners (with 1058, 6153), Carver QFs (with 503, 359, 4607)
Mentor / Consultant Person: 2170 (2017-?)
---
College Mentor: 2791 (2010-2015)
...2015 TVR Motorola Quality, FLR GM Industrial Design
...2014 FLR Motorola Quality / SFs (with 341, 4930)
...2013 BAE Motorola Quality, WPI Regional #1 Seed / Delphi Excellence in Engineering / Finalists (with 20, 3182)
...2012 BAE Imagery / Finalists (with 1519, 885), CT Xerox Creativity / SFs (with 2168, 118)
Student: 1714 (2009) - 2009 Minnesota 10,000 Lakes Regional Winners (with 2826, 2470)
2791 Build Season Photo Gallery - Look here for mechanism photos My Robotics Blog (Updated April 11 2014)
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 00:45.

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