Go to Post KoP inventory -- it's the FIRST version of opening Christmas presents. - BigJ [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 22-03-2016, 17:00
axton900's Avatar
axton900 axton900 is offline
Programming Co-Captain
FRC #1403 (Cougar Robotics)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2015
Location: New Jersey USA
Posts: 45
axton900 has a spectacular aura aboutaxton900 has a spectacular aura aboutaxton900 has a spectacular aura about
Microsoft LifeCam(HD-3000) on RoboRIO - Overexposure issues

Hey guys!
Has anyone been able to change the exposure on the LifeCam after connecting it to the RoboRIO? I deployed the simple Vision C++ code that was given and when I go to the Dashboard I find the Stream to have too high of an exposure and I am afraid that this might be a problem at the competitions as I want to use this as an Intake Camera to help the drivers and the high exposure may be an issue.
Thanks in advance!

Last edited by axton900 : 22-03-2016 at 19:29.
  #2   Spotlight this post!  
Unread 23-03-2016, 10:42
Kyle Heaton's Avatar
Kyle Heaton Kyle Heaton is offline
I like volunteering.
FRC #0045 (TechnoKats)
Team Role: Leadership
 
Join Date: May 2014
Rookie Year: 2014
Location: Indiana, USA
Posts: 23
Kyle Heaton will become famous soon enough
Re: Microsoft LifeCam(HD-3000) on RoboRIO

In the C++ library for FRC there is a class called "USBCamera". It has a few methods that might be of use to you, such as SetExposureAuto() and SetExposureHoldCurrent().

http://first.wpi.edu/FRC/roborio/rel...USBCamera.html
__________________
Software Lead Student 2014-2015
Student Technical Lead 2015-2016


Tippecanoe District Winner - Perry Meridian District Winner - District Champs Semifinalists

Kokomo District Quarterfinalists - Dean's List Indiana District Finalist

Arkansas Regional Quarterfinalists - Boilermaker Regional Quarterfinalists
  #3   Spotlight this post!  
Unread 23-03-2016, 16:40
axton900's Avatar
axton900 axton900 is offline
Programming Co-Captain
FRC #1403 (Cougar Robotics)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2015
Location: New Jersey USA
Posts: 45
axton900 has a spectacular aura aboutaxton900 has a spectacular aura aboutaxton900 has a spectacular aura about
Re: Microsoft LifeCam(HD-3000) on RoboRIO

I tried using the USBCamera class and then tried using the CameraStream class to stream the Camera but I am not receiving any stream on the Dashboard anymore and am getting the error message, "Assertion "data[0] == 0xff && data[1] == 0xd8"..
Any idea on what I am doing wrong?
Thanks in advance!
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 22:19.

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