Go to Post FIRST is all about helping eachother and team work, isn't it? - vadyr [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Spotlight this post!  
Unread 06-01-2009, 18:55
Tanner's Avatar
Tanner Tanner is offline
Registered User
FRC #1261 (Roblions)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Suwanee, GA
Posts: 311
Tanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to behold
Re: Axis cam problem

Quote:
Originally Posted by kyungjin View Post
Okay wait... 2 things...

Err if you're setup is something like PC -> DSU -> Router -> Gaming Adapter -> cRIO ePort1 => cRIO ePort2 (camera) [where = simulates a crossover connection]... Doesn't the computer have to have it's IP settings set to 10.xx.yy.6 (where xx is the first two digits of your team number and yy is the last two digits of your team number) in order to connect to the cRIO?

So far... Our computer has been able to directly connect via Xover cable to the camera where we can test the live feed stuff in the browser, run the Setup Axis Camera and stream but not acquire and save pictures via NI Vision Assistant. Problem is... None of this happens if the camera is connected to the cRIO through ePort 2.

The second thing I want to ask is... Are we supposed to use NI Vision Assistant to handle the camera finding and tracking of colors and/or shapes? If so, how do we implement this and later change this into working C/C++ code (we're using WindRiver). If not, what programs are we supposed to use to control our camera functions?
The stuff I said in my previous post is assuming the camera is plugged into your computer. I have no idea how to get images from the robot without LabView. That said, your robot can't use it if its not plugged into the cRIO.

Your computer will not be able to gather images from the camera if the camera in plugged into the cRIO. If it is plugged into the cRIO, you can only get the images via LabView or however C/C++ does it. To get images on the computer, the camera must be plugged into the computer (as the network stuff on the robot blocks the small server included in the camera).

Vision Assistant takes a bit of getting used to (not as much as LabView, but just a bit). What I would do if you are unfamiliar with it is to start playing with any old image, then playing with Line Profile and Color Threshold. I know there is a LabView export function, but I cannot recall if there is a C/C++ export function (look in the Tools menu item).

Cheers
-Tanner
 


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
Anyone know how to get a live video feed from your axis cam? Jazonk FRC Control System 7 03-01-2009 20:08
3-Axis Joysticks qwertyuiop[]\ General Forum 12 29-12-2008 21:28
axis camera - problem s0crates FRC Control System 11 16-12-2008 09:34
Inverting x-axis jkjohnson Control System 8 22-02-2007 02:24
Different "Cam Suddenly Stops" Problem JohnC Programming 10 30-01-2007 21:37


All times are GMT -5. The time now is 19:26.

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