Go to Post Now repeat after me: it is just a game. It is just a game. It is just a game... - dlavery [more]
Home
Go Back   Chief Delphi > Technical > Control System
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
  #13   Spotlight this post!  
Unread 24-01-2016, 13:18
BitTwiddler's Avatar
BitTwiddler BitTwiddler is offline
electronics/programming mentor
AKA: Mr Tanguay
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Oct 2008
Rookie Year: 2006
Location: Sierra Vista, AZ
Posts: 246
BitTwiddler is on a distinguished road
Re: Cameras (+IMUs)

Quote:
Originally Posted by Greg McKaskle View Post
It can work, but logistical things can get in the way. For LabVIEW, the USB cameras are enumerated on the robot and sorted using VID/PID and serial number to try and get them to stay in the same order. It is silly, but it may be easier to predict if you use two different types of webcams. Once sorted, they start at USB 0 and go up from there.

If you save a copy of the Vision Processing VI to a new name and make one for each camera, that is one approach. Or you can make another loop inside of the VI.

Our team is using one camera for driver and one for processing. I did the two loop approach. We also decided to do an Axis for driver and a USB for targeting. The Axis has better flexibility for compression and streaming and doesn't need CPU resources while the USB is nice for the targeting cam.

I'm pretty sure the default dashboard defaults to USB 0. So if you want it to point to the other USB cam, just build from a template and change that one address. Similarly if you choose to go with an Axis instead, change the address. Keep in mind that USB HW option gets a compressed image from the camera, meaning the cRIO only needs to copy the data and not run the jpeg compression like it will if you use USB SW.


If you have issues or questions, just ask.

Greg McKaskle
Thanks for this Greg. You've cleared a few things up. After digging into the vision processing VI I now see how the image gets to the DB. Looks like most of the work routing the DB image is done in the the "CameraBackground Loop" VI. I'll let you know if we have difficulties working with this. Right now I have a lot to learn about video image routing.
Dave Tanguay
Reply With Quote
 


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:12.

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