Go to Post Getting a swerve to drive predictably and effectively is arguably harder than designing and building it. - Holtzman [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 23-04-2008, 10:48
psyco_klown's Avatar
psyco_klown psyco_klown is offline
aka Shawn Burgen
FRC #0839 (Rosie Robotics)
Team Role: Mentor
 
Join Date: Feb 2003
Rookie Year: 2002
Location: agawam,ma
Posts: 85
psyco_klown is a splendid one to beholdpsyco_klown is a splendid one to beholdpsyco_klown is a splendid one to beholdpsyco_klown is a splendid one to beholdpsyco_klown is a splendid one to beholdpsyco_klown is a splendid one to behold
Re: Next Year's code

It's too bad Easyc will not be available next year. It made a difference on our team. The only way we could get it for next year is email FIRST and let them know how much we want it.
__________________

Shawn Burgen-FRC Team 839 Mentor
Team 839 FTC Mentor
  #17   Spotlight this post!  
Unread 23-04-2008, 10:56
jtdowney jtdowney is offline
Boiler Up
AKA: John Downey
FRC #4302 (Robophins)
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2006
Location: Chicago
Posts: 300
jtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant future
Re: Next Year's code

Quote:
Originally Posted by psyco_klown View Post
It's too bad Easyc will not be available next year. It made a difference on our team. The only way we could get it for next year is email FIRST and let them know how much we want it.
I overheard in the NI booth that easyC would be an option but obviously I have no confirmation from Intelitek or anyone else.
__________________
John Downey
Lead Robot Inspector - Purdue IndianaFIRST District
Whitney Young Magnet High School/Robophins (FRC 4302) - Mentor (2013-current)
Midwest Regional Planning Committee - Member (2012-current)
Boilermaker Regional Planning Committee - Member (2011-2014)
Robot Inspector (2008-current)
Purdue FIRST Programs - Staff Advisor (2008-2011)
Lafayette-Jefferson High School/Precision Guessworks (FRC 1646) - Mentor (2006-2011)
  #18   Spotlight this post!  
Unread 23-04-2008, 11:17
psyco_klown's Avatar
psyco_klown psyco_klown is offline
aka Shawn Burgen
FRC #0839 (Rosie Robotics)
Team Role: Mentor
 
Join Date: Feb 2003
Rookie Year: 2002
Location: agawam,ma
Posts: 85
psyco_klown is a splendid one to beholdpsyco_klown is a splendid one to beholdpsyco_klown is a splendid one to beholdpsyco_klown is a splendid one to beholdpsyco_klown is a splendid one to beholdpsyco_klown is a splendid one to behold
Re: Next Year's code

Ya its an option but FIRST has left Intellitek out of the loop on the new controller. Intellitek can have it ready, It's just matter of FIRST giving them info on the design.
__________________

Shawn Burgen-FRC Team 839 Mentor
Team 839 FTC Mentor
  #19   Spotlight this post!  
Unread 23-04-2008, 20:56
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,756
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: Next Year's code

Quote:
Originally Posted by ExarKun666 View Post
So then Lab View is basically in C language, but with the addition of a graphical enviroment to test that programming on?
Not at all. The most obvious difference is that LV uses icons instead of words, but fundamentally, the big differences are that LV uses data flow for scheduling, and can therefore easily do multitasking at a pretty fine-grained level. Also, LV wires represent values, not references to values. This helps to avoid many side effects of procedural code.

Finally, LV encourages and rewards you making functions. Each function has a panel for entering values, and seeing results. These make very good modules for testing a portion of your algorithm "before" your robot is moving across the floor. You can test as many input sets and boundary conditions as you see fit. You can also have graphs and other useful indicators for looking at complex data.

So some of these are not language, but environment things, but these are fundamentally more important that the fact that LV is graphical instead of typed.

Greg McKaskle
  #20   Spotlight this post!  
Unread 23-04-2008, 20:58
ExarKun666's Avatar
ExarKun666 ExarKun666 is offline
Ben Error/MC Ben/NC Ben
AKA: Ben Kellogg
FRC #2429 (LCEC)
Team Role: Programmer
 
Join Date: Dec 2007
Rookie Year: 2008
Location: La Caņada, CA
Posts: 208
ExarKun666 is an unknown quantity at this point
Send a message via AIM to ExarKun666 Send a message via MSN to ExarKun666 Send a message via Yahoo to ExarKun666
Re: Next Year's code

Well, okay if Lab View is all graphical, and I do now understand how to make it work, where exactly is probably some really good tutorials on it??
Also, just how different is C from C++??
__________________
Ben Kellogg




Team Sites: [LCEC Site] [FRC/FLL Site] [LCEC Blog]
  #21   Spotlight this post!  
Unread 23-04-2008, 21:21
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: 642
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: Next Year's code

How different C is from C++ pretty much depends on how you write code. The big difference is that C++ has objects, which opens up a lot of programming options. On the other hand, you can write purely or almost purely procedural code in C++, that looks pretty much like C. Picking up the syntax differences (which are really additions) in C++ is pretty easy if you know C already. But programming in an object oriented manner is not that easy to just pick up if you haven't done it before. On the other hand, if you know Java and C then picking up C++ is pretty easy.

Now here is a plea from a computer science teacher to all the students out there. Give Lab View a try. Don't be seduced by the argument that since it is graphical it is somehow less worthy than C/C++. There are a lot of good programming practices that Lab View can teach you. First and foremost among these is testing modules of code. This makes debugging much easier and leads to better overall coding. (One of the things I love about Java as a teaching language is the ability to add a main method to each class in order to test it.)
__________________
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
  #22   Spotlight this post!  
Unread 23-04-2008, 22:09
ExarKun666's Avatar
ExarKun666 ExarKun666 is offline
Ben Error/MC Ben/NC Ben
AKA: Ben Kellogg
FRC #2429 (LCEC)
Team Role: Programmer
 
Join Date: Dec 2007
Rookie Year: 2008
Location: La Caņada, CA
Posts: 208
ExarKun666 is an unknown quantity at this point
Send a message via AIM to ExarKun666 Send a message via MSN to ExarKun666 Send a message via Yahoo to ExarKun666
Re: Next Year's code

Well, I was just thinking could you just simply use both, for example go and program in C/C++ then go into Lab View but it into the a simulator, and debug it, this might work, I am not sure on the extent, if Lab view can read C/C++ or not, but it's a thought I had.
__________________
Ben Kellogg




Team Sites: [LCEC Site] [FRC/FLL Site] [LCEC Blog]
  #23   Spotlight this post!  
Unread 23-04-2008, 23:45
TDohse TDohse is offline
Registered User
AKA: Thomas
no team (NI)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 39
TDohse is an unknown quantity at this point
Re: Next Year's code

Quote:
Originally Posted by ExarKun666 View Post
Well, I was just thinking could you just simply use both, for example go and program in C/C++ then go into Lab View but it into the a simulator, and debug it, this might work, I am not sure on the extent, if Lab view can read C/C++ or not, but it's a thought I had.
Using both languages is a good idea and a great way to make yourself a better programmer, but keep in mind LabVIEW is a full programming language itself, not an IDE or simulator for C.

LabVIEW does have the ability to call C functions in libraries, but if you want to debug C code you should be using the tools with your C compiler/IDE. For the 2009 FRC you will have the Wind River Workbench for C/C++ development & debugging.

Quote:
Originally Posted by ExarKun666;
where exactly is probably some really good tutorials on it??
Check out http://ni.com/community/first for tutorials and information. You should also have example code included with the copy of LabVIEW in your 2008 FRC kit.
  #24   Spotlight this post!  
Unread 24-04-2008, 06:19
Bomberofdoom's Avatar
Bomberofdoom Bomberofdoom is offline
Biggest FIRST addict in Israel
AKA: Nir Levanon
FRC #2230 (Zcharia's Angels)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Israel
Posts: 471
Bomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond repute
Send a message via MSN to Bomberofdoom
Re: Next Year's code

I'm trying to think of what are the main advantages of writing the robot's code next year in C++.

I know most of the language and i've done a project in Visual C++ before but I'm just thinking forward for next year to see what does this means for the robot.

What I can think for now is that it can help make all the robots functions for specific critireas (autonmous, teleop, disabled) orginized in a simple and recognizable way so anyone could understand the code better.

Classes could help define the set of functions that will work in this case and in that case (like I said, with the auto, tele and disabled, but also in the case of a certain switch turned on before the match and stuff like that).

Can't think of any much else. :-/
__________________
TEAM 2230 ZECHARIA'S ANGELS

2009 Microsoft Israel FRC Regional Winners!
2009 Microsoft Israel FRC Regional Chairman's Award Winners!!!
---------------------------------
2008 Microsoft Israel FRC Regional semi-finalist.
2008 Microsoft Israel FRC Regional Delphi's "Driving Tommorow's Technology" Award winner.
2008 Robot Driver
---------------------------------
2007 GM/Technion Israel FRC Regional semi-Finalist.
2007 GM/Technion Israel FRC Regional Xerox Creativity Award winner.
2007 Robot Driver.
  #25   Spotlight this post!  
Unread 24-04-2008, 16:24
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: Next Year's code

LabView is certainly cool software, and I'm excited that we have the chance to use it more fully. I'm also very glad to hear that C/C++ will be fully supported by NI.

Quote:
Originally Posted by marccenter View Post
For those of you who have only used C/C++ environment, you will be missing out on all of the advantages of a graphical environment, most importantly the ability to debug your software on your desktop. You should be able to create
simple input functions that exercise your code and watch the output's respond.
Believe me, that functionality alone will quickly entice teams to make the switch from text based programming to graphical programming.
Really, you should be able to do this with any programming language. That's the whole point of encapsulation with classes and functions.
__________________
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...
  #26   Spotlight this post!  
Unread 24-04-2008, 20:11
ExarKun666's Avatar
ExarKun666 ExarKun666 is offline
Ben Error/MC Ben/NC Ben
AKA: Ben Kellogg
FRC #2429 (LCEC)
Team Role: Programmer
 
Join Date: Dec 2007
Rookie Year: 2008
Location: La Caņada, CA
Posts: 208
ExarKun666 is an unknown quantity at this point
Send a message via AIM to ExarKun666 Send a message via MSN to ExarKun666 Send a message via Yahoo to ExarKun666
Re: Next Year's code

Quote:
Originally Posted by StevenB View Post
LabView is certainly cool software, and I'm excited that we have the chance to use it more fully. I'm also very glad to hear that C/C++ will be fully supported by NI.


Really, you should be able to do this with any programming language. That's the whole point of encapsulation with classes and functions.
Yeah that's what I thought, so that's why I was curious to which program language would in fact be better C/C++ (using encapsulation with classes and functions to debug) or Labview(using graphical imaging to debug your code) or third option of just first coding it in C/C++, then going to Lab View and re code the C/C++ in Lab View Code (yes this would take longer, and is it worth it?)
__________________
Ben Kellogg




Team Sites: [LCEC Site] [FRC/FLL Site] [LCEC Blog]
  #27   Spotlight this post!  
Unread 27-04-2008, 15:29
neutrino15's Avatar
neutrino15 neutrino15 is offline
plɹoʍ ollǝɥ
AKA: Jordan Perr
FRC #0694 (Stuypulse)
 
Join Date: Feb 2007
Rookie Year: 2007
Location: New York City
Posts: 162
neutrino15 is just really niceneutrino15 is just really niceneutrino15 is just really niceneutrino15 is just really nice
Re: Next Year's code

From another thread, an answer:

http://www.chiefdelphi.com/forums/sh...5&postcount=22
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
Next year's game? petek Rumor Mill 111 26-04-2008 02:59
Next Year's Robot? BandChick General Forum 10 29-03-2006 16:28
Infared in Next Year's Game Paradox1350 Rumor Mill 45 02-04-2004 20:45
Next (or is it this) year's competition archiver 2000 0 23-06-2002 22:01
Next Year's Nationals Show MBiddy Chit-Chat 25 20-06-2002 21:26


All times are GMT -5. The time now is 01:46.

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