Go to Post I am still holding out for the jello-based game - dlavery [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 03-02-2010, 06:29
greatman05 greatman05 is offline
Registered User
AKA: Chavez Clemons Jr.
FRC #2224 (Phoenix Phenoms)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2006
Location: Detroit, MI
Posts: 32
greatman05 is an unknown quantity at this point
Send a message via AIM to greatman05 Send a message via MSN to greatman05 Send a message via Yahoo to greatman05
Question I don't really understand this year's code.

Hello. As the title says, I don't really understand this year's (2010) code. Maybe it's because of the vision processing, but last year's code (2009) was MUCH easier to understand for me. Can anyone help me with what's going on? Also, is vision processing built into this year's code? If not, how can I put it in the code, and even before that, how do you use it? Thank you for your time.
Reply With Quote
  #2   Spotlight this post!  
Unread 03-02-2010, 08:00
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,748
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: I don't really understand this year's code.

This year's code uses subVIs to separate the code into higher level units called subVIs.

If you haven't already done so, open the Team Code folder in the project, open the context help window, and hover the mouse cursor over each subVI. Begin for example is used to open and initialize I/O for the rest of the program. TeleOp is called each time the robot receives a teleop packet, etc.

Perhaps this will help give you an overview of how the robot code goes back together. Looking at Robot Main may help also, but it is very high level, and you likely do not need to change it.

Finally, you may find the tutorials at LVMastery useful.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 03-02-2010, 11:49
greatman05 greatman05 is offline
Registered User
AKA: Chavez Clemons Jr.
FRC #2224 (Phoenix Phenoms)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2006
Location: Detroit, MI
Posts: 32
greatman05 is an unknown quantity at this point
Send a message via AIM to greatman05 Send a message via MSN to greatman05 Send a message via Yahoo to greatman05
Re: I don't really understand this year's code.

I've tried that, but even then I'm still confused what I'm going on. I'm using the advanced framework in Labview, and I'm trying to understand what's going on in the Teleop VI and the Autonomous VI. I get the gist of it, but I'm more confused on the specifics. When I opened up the VIs and used to context help, I got even more confused.
Reply With Quote
  #4   Spotlight this post!  
Unread 03-02-2010, 21:45
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,748
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: I don't really understand this year's code.

If it is the specifics you have questions about, please ask specific questions. I can sympathize, but I can't really help any further without more to go on.

Greg McKaskle
Reply With Quote
Reply


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
Perhaps I don't understand the function of fabs() sparrowkc Programming 2 12-02-2008 15:49
Still don't understand how to wire IR? popnbrown Programming 1 28-01-2008 22:45
why I don't like this year's game copperhead47 General Forum 40 09-01-2008 08:32
Pinning? Apparently I just don't seem to understand Brindza Rules/Strategy 61 14-03-2006 21:30
What is wrong with this code???? It won't Compile and I don't know why? Please Help CrashZero Programming 23 26-03-2004 09:44


All times are GMT -5. The time now is 04:22.

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