Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Microsoft LifeCam(HD-3000) on RoboRIO (http://www.chiefdelphi.com/forums/showthread.php?t=146099)

axton900 22-03-2016 17:00

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!

Kyle Heaton 23-03-2016 10:42

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

axton900 23-03-2016 16:40

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!


All times are GMT -5. The time now is 20:31.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi