Go to Post Me: Hi, Honey - I'm home! Wife: Must have shipped the robot today, huh? - meaubry [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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 04-03-2011, 17:22
Businessman41 Businessman41 is offline
Registered User
FRC #3805
 
Join Date: Jan 2011
Location: Spokane
Posts: 13
Businessman41 is an unknown quantity at this point
Camera template

I am trying to get our camera to recognize color. What directory do you need to tell the c rio to look in toget it to find the template?
  #2   Spotlight this post!  
Unread 05-03-2011, 07:41
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,752
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: Camera template

If you are going to use the template based approach, you will need to take steps to get those files on the cRIO in a known location. One option is simply to ftp them to the cRIO and be done with it. If you would like to treat them more like source code that may change from time to time, you can add them to the Build Script. I believe it is pretty easy to add them to the data directory. Wire a DOS-style path to the function to describe where the templates will be on the cRIO.

Greg McKaskle
  #3   Spotlight this post!  
Unread 07-03-2011, 11:05
Businessman41 Businessman41 is offline
Registered User
FRC #3805
 
Join Date: Jan 2011
Location: Spokane
Posts: 13
Businessman41 is an unknown quantity at this point
Re: Camera template

I did sent the templates to the crio via ftp, but I am not sure how to change the code to look in the new directory. I looked at a tutorial, but it does not seem complete. What I saw was a directory that started with "/ni-rt/...". Isn't there usually a drive letter or something before the filepath?
  #4   Spotlight this post!  
Unread 07-03-2011, 19:51
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,752
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: Camera template

Yes, usually the path begins with a c:\. Is the path being built up internally from some partial paths? If you need further assistance, you may need to post the code. I'm not that familiar with how the template code is scripted or if it came from a specific example.

Greg McKaskle
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 05: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