Go to Post The purpose of the game rules is not to imagine and categorically list everything you should not do, but to give you guidelines of FIRST's intent and leave it to your developing good judgment to know what's acceptable and what is simply skirting the rules. - Mark McLeod [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
  #1   Spotlight this post!  
Unread 21-11-2012, 17:47
sthreet's Avatar
sthreet sthreet is offline
Registered User
AKA: scott threet
FRC #4692
 
Join Date: Oct 2012
Rookie Year: 2012
Location: Toutle Lake
Posts: 84
sthreet is an unknown quantity at this point
programming (not sure where to post this)

Ok, I have a simple question and want to say hello Chief Delphi.
First year team, so this is my first time doing this, did a few google and Chief Delphi searches a while ago looking for what programming language i would use (i'm probably going to be our programmer) and couldn't find anything.
All i know is that it is (according to my teacher/adviser/team leader) "icon/image based" and based on C++.
I found several languages with google, and in the programming section their are several languages, could someone direct me towards whatever language i will be working with and possibly whatever software i will be using so i can mess around with it before the build season?
Thanks for any help or lack of help.
  #2   Spotlight this post!  
Unread 21-11-2012, 18:58
MrTechCenter's Avatar
MrTechCenter MrTechCenter is offline
INTENSITY
AKA: Harsharan "Harsh" Dhaliwal
FRC #2073 (Eagleforce)
Team Role: Mentor
 
Join Date: Sep 2011
Rookie Year: 2010
Location: Sacramento, CA
Posts: 559
MrTechCenter has a brilliant futureMrTechCenter has a brilliant futureMrTechCenter has a brilliant futureMrTechCenter has a brilliant futureMrTechCenter has a brilliant futureMrTechCenter has a brilliant futureMrTechCenter has a brilliant futureMrTechCenter has a brilliant futureMrTechCenter has a brilliant futureMrTechCenter has a brilliant futureMrTechCenter has a brilliant future
Re: programming (not sure where to post this)

You will most likely use National Instruments LabView. Each year, every team receives a copy of it in their Kit of Parts. A good website to learn about it specifically for FRC is www.frcmastery.com
__________________
2011 Sacramento Regional Finalists; 2011 MadTown Throwdown VIP Excellence in Engineering Award; 2012 Sacramento Regional Innovation in Control Award; 2012 Silicon Valley Regional Judges' Award; 2012 CalGames Autonomous Challenge Award; 2012 MadTown Throwdown Finalists; 2013 P0W3RH0U53 PWNAGE Gracios Professionalism Award; 2014 Central Valley Regional Innovation in Control; 2014 Sacramento Regional Innovation in Control; 2014 Curie Division Gracious Professionalism Award; 2015 Sacramento Regional Innovation in Control
  #3   Spotlight this post!  
Unread 21-11-2012, 19:57
EricH's Avatar
EricH EricH is offline
New year, new team
FRC #1197 (Torbots)
Team Role: Engineer
 
Join Date: Jan 2005
Rookie Year: 2003
Location: SoCal
Posts: 19,789
EricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond repute
Re: programming (not sure where to post this)

Quote:
Originally Posted by MrTechCenter View Post
You will most likely use National Instruments LabView. Each year, every team receives a copy of it in their Kit of Parts. A good website to learn about it specifically for FRC is www.frcmastery.com
Or C++. Or Java. All three are supported by FRC electronics.

Labview uses icons; C++ and Java are text-only. None of the three is based on any other one in the three. (However, many concepts may be transferable between programs--but syntax will not be.)
__________________
Past teams:
2003-2007: FRC0330 BeachBots
2008: FRC1135 Shmoebotics
2012: FRC4046 Schroedinger's Dragons

"Rockets are tricky..."--Elon Musk

  #4   Spotlight this post!  
Unread 21-11-2012, 21:21
inkspell4's Avatar
inkspell4 inkspell4 is offline
Registered User
FRC #3650 (Robo Raptors)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Maryland
Posts: 326
inkspell4 will become famous soon enough
C++ is programed in Wind River workbench

Java is programed in netbeans

LabView is programed in LabView
__________________
Chesapeake Regional : 2013, 2012, 2011
Rookie Year: 2011
2013 RoboRaptors Team 3650 Programming Team Captain
Team Website : http://www.roboraptorsfrcteam3650.com/index.html
_____________________________________________
  #5   Spotlight this post!  
Unread 21-11-2012, 23:49
sthreet's Avatar
sthreet sthreet is offline
Registered User
AKA: scott threet
FRC #4692
 
Join Date: Oct 2012
Rookie Year: 2012
Location: Toutle Lake
Posts: 84
sthreet is an unknown quantity at this point
Re: programming (not sure where to post this)

Quote:
Originally Posted by MrTechCenter View Post
You will most likely use National Instruments LabView. Each year, every team receives a copy of it in their Kit of Parts. A good website to learn about it specifically for FRC is www.frcmastery.com
Thanks, will check it out.
Quote:
Originally Posted by EricH View Post
Or C++. Or Java. All three are supported by FRC electronics.

Labview uses icons; C++ and Java are text-only. None of the three is based on any other one in the three. (However, many concepts may be transferable between programs--but syntax will not be.)
Odd thing is i know what C++ and java are (never used java though, don't like javascript) and personally like text-based ones better...
Quote:
Originally Posted by inkspell4 View Post
C++ is programed in Wind River workbench

Java is programed in netbeans

LabView is programed in LabView
Not sure what any of this stuff is other than C++ but i will check it out a little...

I will have to verify that it was icon-based and C++ after the long weekend, will probably be a lurker on here in my free time though.

Thanks for reply's and/or help.
  #6   Spotlight this post!  
Unread 22-11-2012, 01:49
willingc's Avatar
willingc willingc is offline
Mentor
AKA: Carol Willing
FRC #2102 (Team Paradox)
Team Role: Mentor
 
Join Date: Apr 2012
Rookie Year: 2009
Location: Encinitas, CA
Posts: 2
willingc is an unknown quantity at this point
Re: programming (not sure where to post this)

Congrats on getting started

Whether you use Labview, C++, or Java, you are bound to have a fun and productive season. Do a little research -- lots of quality info at FIRST website, FIRST Forge website, and individual FRC team websites. Also, try and see if there is another local team that would be willing to share their knowledge to help you get started.

FIRST Forge website in the WPILib (a library of useful robot classes, data, and commands) section has a number of useful documents:
http://firstforge.wpi.edu/sf/docman/..._documentation
The 2012 WPILib Cookbook, C++ Getting Started Guide, Java Getting Started Guide, and WPI Robotics Library Users Guide are four good documents to start on.

Other FRC teams have posted information that will help in getting started:
Team 1114 Simbotics http://www.simbotics.org/resources/workshops
Team 971 Spartan Robotics http://spartanrobotics.org/content/g...rc-programming
and
http://spartanrobotics.org/content/2012-software

Good luck and keep asking questions
Carol
__________________
Team Paradox 2102
Mentor of Programming
Celebrator of sharing, caring, and teamwork
"Has any one seen my box?"
"Try. Fail. Learn. Repeat often."
  #7   Spotlight this post!  
Unread 25-11-2012, 20:51
mythbusterma mythbusterma is offline
Registered User
no team
 
Join Date: Nov 2012
Rookie Year: 2009
Location: ----
Posts: 10
mythbusterma is an unknown quantity at this point
Re: programming (not sure where to post this)

Quote:
Originally Posted by EricH View Post
Or C++. Or Java. All three are supported by FRC electronics.

Labview uses icons; C++ and Java are text-only. None of the three is based on any other one in the three. (However, many concepts may be transferable between programs--but syntax will not be.)
As a technicality, LabView code is all compiled into C or C++ (I don't remember which) code before it's sent to the cRIO, but like I said, it's a technicality.
  #8   Spotlight this post!  
Unread 27-11-2012, 09:19
F22Rapture's Avatar
F22Rapture F22Rapture is offline
College Student, Mentor
AKA: Daniel A
FRC #3737 (4H Rotoraptors)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Goldsboro, NC
Posts: 476
F22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant future
Re: programming (not sure where to post this)

Quote:
Originally Posted by sthreet View Post
Odd thing is i know what C++ and java are (never used java though, don't like javascript) and personally like text-based ones better...
Java and Javascript are actually two entirely different languages; neither has anything to do with one another outside of the name
__________________
Research is what I’m doing when I don’t know what I’m doing.
- Wernher von Braun
Attending: Raleigh NC Regional
  #9   Spotlight this post!  
Unread 27-11-2012, 09:30
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,801
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: programming (not sure where to post this)

If you don't have the installation media that was distributed in the Kit of Parts last year, then Java would probably be the easiest to get started with now.
Everything you ned is available online without license requirements.

Quote:
Originally Posted by mythbusterma View Post
As a technicality, LabView code is all compiled into C or C++ (I don't remember which) code before it's sent to the cRIO, but like I said, it's a technicality.
No, LabVIEW is not compiled into C or C++.
That's not what Compiled means anyway. Compiled means reducing code to a machine-specific language (or virtual machine).
If went through an intermediate language before being compiled for some bizarre reason we'd use the word translated.
If it isn't reduced to machine-specific language, then we might use the word Interpreted.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 27-11-2012 at 09:50.
  #10   Spotlight this post!  
Unread 27-11-2012, 09:30
Sean Raia's Avatar
Sean Raia Sean Raia is offline
Curious spectator & alumn
no team
 
Join Date: Oct 2008
Rookie Year: 2008
Location: PA
Posts: 433
Sean Raia has a reputation beyond reputeSean Raia has a reputation beyond reputeSean Raia has a reputation beyond reputeSean Raia has a reputation beyond reputeSean Raia has a reputation beyond reputeSean Raia has a reputation beyond reputeSean Raia has a reputation beyond reputeSean Raia has a reputation beyond reputeSean Raia has a reputation beyond reputeSean Raia has a reputation beyond reputeSean Raia has a reputation beyond repute
Re: programming (not sure where to post this)

Quote:
Originally Posted by willingc View Post
Also, try and see if there is another local team that would be willing to share their knowledge to help you get started.
This.
You should definetly try to get in contact with other teams in Washington who have done this before. Even if they just send you some of last years code, it will give you something to work with.
  #11   Spotlight this post!  
Unread 27-11-2012, 09:52
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: programming (not sure where to post this)

Generally, we use the term Autocoded to describe code written in a high-level language, converted to C, and then compiled from the C code.

It's usually done on embedded platforms, since it's usually easier to find a C compiler than to adapt the high-level tool's native compiler to work with the unique platform. Simulink works this way, LabVIEW does not (for NI hardware).

It has advantages and disadvantages to compiling directly from the starting language.
__________________
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
  #12   Spotlight this post!  
Unread 01-12-2012, 21:01
dellagd's Avatar
dellagd dellagd is offline
Look for me on the field!
AKA: Griffin D
FRC #2590 (Nemesis) #2607 (The Fighting Robovikings)
Team Role: Mentor
 
Join Date: Sep 2011
Rookie Year: 2011
Location: PA
Posts: 890
dellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond repute
Re: programming (not sure where to post this)

Quote:
Originally Posted by Sean Raia View Post
This.
You should definetly try to get in contact with other teams in Washington who have done this before. Even if they just send you some of last years code, it will give you something to work with.
Welcome!

Post any questions you have about FIRST related thing on the sub-forum that you think makes the most sense with the topic of the question, but its not too strict, just dont post a "broken gearbox question" under "programming", for example. And please use google or the search function on this forum before posting your question.

Now-

Most if not any team will be willing to help another team getting started. We are for the first time this year and are VERY excited!

Oh, and FWIW, it seems like the majority of teams start on labview and switch to a text-based language (Java, C++, Python (yes Python)) later on. This is probably because from what Ive heard, labview makes more sense to non-programmer (or not yet) types. We used Labview for two or three years before switching to Java, and we may switch to C++ again this year.

Personally, It annoys me, but I learned on C++ at least 5 years ago so the way text-programming "works" was already with me, so Im not a good indicator. Though, once you know one language, like Java, learning another like C++ is way easier than if you have no prior experience. I would suggest using labview until you feel comfortable using Java, which I believe is easier than C++ for a few reasons, A being just the way it looks, C code looks more complex than Java to me. B being the way memory is allocated to programming stuff, and how you deal with that.

So go get familiar with labview NOW (not at the kickoff ) but try to learn Java in your free time. But hey, if Java just isnt your cup of tea, that fine too, and theres nothing wrong with sticking with Labview. Many VERY successful teams out there do it.
__________________
Check out some cool personal projects in computers, electronics, and RC vehicles on my blog!

2016 MAR DCMP Engineering Excellence Award
2016 MAR Westtown Innovation in Control Award
2016 MAR Hatboro-Horsham Industrial Design Award
2015 Upper Darby District Winners - Thanks 225 and 4460!
2015 Upper Darby District Industrial Design Award
2015 Hatboro-Horsham District Winners - Thanks 2590 and 5407!
2014 Virginia Regional Winners - Thanks so much 384 and 1610, I will never forget that experience!
2014 Virginia Quality Award
2014 MAR Bridgewater-Raritan Innovation in Control Award
2014 MAR Hatboro-Horsham Gracious Professionalism Award
2013 MAR Bridgewater-Raritan Innovation in Control Award
2012 MAR Lenape Quality Award

Last edited by dellagd : 01-12-2012 at 21:16.
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 02:14.

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