Go to Post I think your robot is lacking in non-threatening, huggable design. - Kevin Sevcik [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 Rating: Thread Rating: 4 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 18-03-2016, 12:35
GuyM142's Avatar
GuyM142 GuyM142 is offline
Registered User
AKA: Guy
FRC #3339 (BumbleBee)
Team Role: Mentor
 
Join Date: Jul 2013
Rookie Year: 2012
Location: Israel
Posts: 156
GuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really nice
Re: Toggle Between Two Cameras in Vision Processing

Was there any significant progress by now?

I have tried to use the exact same code earlier this season and got the same error on the Open vi.
We now open the camera which we want to use on each switch and the lag is very noticeable.
We use 2 Lifecams 3000, one for far shooting and one for close shooting and switching during a match makes the driver wait for the other camera to show an image.
We really need a solution for this!

Will using a different camera model fix this?
__________________
2016-2017 - Programming Mentor
Curie Sub-Division Champions with 694, 379 & 1511
2015 - Team Captain & Head of Programming Crew
Carson Sub-Division Champions with 1325, 20 & 1711
First ever Israeli team on Einstein
2014 - Team Captain & Head of Programming Crew
2013 - Head of Programming Crew
2012 - Member of Programming Crew

Last edited by GuyM142 : 18-03-2016 at 12:41.
Reply With Quote
  #2   Spotlight this post!  
Unread 21-03-2016, 20:00
adciv adciv is offline
One Eyed Man
FRC #0836 (RoboBees)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Southern Maryland
Posts: 478
adciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to all
Re: Toggle Between Two Cameras in Vision Processing

Quote:
Originally Posted by GuyM142 View Post
Was there any significant progress by now?

I have tried to use the exact same code earlier this season and got the same error on the Open vi.
We now open the camera which we want to use on each switch and the lag is very noticeable.
We use 2 Lifecams 3000, one for far shooting and one for close shooting and switching during a match makes the driver wait for the other camera to show an image.
We really need a solution for this!

Will using a different camera model fix this?
Please see this thread here for a beta project which may meet your needs.

http://www.chiefdelphi.com/forums/sh....php?p=1560711
__________________
Quote:
Originally Posted by texarkana View Post
I would not want the task of devising a system that 50,000 very smart people try to outwit.
Reply With Quote
  #3   Spotlight this post!  
Unread 25-03-2016, 08:02
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: Toggle Between Two Cameras in Vision Processing

The good/bad news post is from last season, and I believe fixed. Though I didn't personally verify this, I did file the bug report.

The camera exposure settings for all MS LifeCams seems to be odd on UVC/linux devices. The parameters are described and given ranges that various APIs will use to communicate requested properties to the camera. The MS LifeCam exposure is described as going from 5 to 20,000, with increment of one. That is a lot of range.

http://comments.gmane.org/gmane.linu...uvc.devel/5717

That link is to a 2011 forum post about a lifeCam 5000, but explains the same behavior. I does list the magic values, which are twelve geometrically scaled numbers centered around 156. I don't have a camera to try, but if you can use the percentage equivalents, or make your own Set Exposure to avoid the floating point scaling, you can probably make a LifeCam specific Exposure VI work.

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


All times are GMT -5. The time now is 17:46.

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