View Single Post
  #2   Spotlight this post!  
Unread 21-01-2012, 02:21
Method's Avatar
Method Method is offline
Registered User
no team
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Ca
Posts: 38
Method is an unknown quantity at this point
Thumbs up Re: Axis Camera 206 Tracking

Hello, yes- I have the same problem.. Only, we haven't used the camera at all. I can run the camera over my router by connecting to its web address only.



I did try a few things; help to truly accomplish either would be great:


FIRST (pun intended- haha) I tried to use the National Instruments Vision Assistant 2011 (for OP: this should have been installed with FRC tools).

In doing this, as I understand it, I need to use the vision assistant to create code to find my target by creating a template, using a tracking option, et all, then going to tools and selecting create c code. After, I thought I was supposed to import and include the c code in my robot project (I am using simple template as a base) and use functions in the created c file to get values I need: how large the matching section is, where it is relative to the the screen and so on.

When I tried to include the header file that was created with the vision software (after importing both files), however, I had a long list of errors associated with the machine vision and windows includes in the c and h files.

Also, the windows include leads me to believe that the program is to be run on the driver station and not in the CRIO. If that is the case, how do I set it up?




Recently, I tried to create a custom camera using
http://first.wpi.edu/Images/CMS/Firs...cification.pdf and WPI library documentation on virtual roadside.
I am, unfortunately, having serious difficulty discerning how to actually use these functions, i.e., imaqSetImageSize() will create an error despite the variety of ways I have tried to use it. That is only one example. I could really use a more "for dummies" version of an explanation of the library or better yet, an example of it incorporated in C++ code.


If there is some outside help, that would be great. Alternatively, I hope some of what I tried works better for you. You may need: https://decibel.ni.com/content/docs/DOC-14726
Reply With Quote