![]() |
HD-3000 camera has wasted many hours
Exposure control with the HD-3000 caused us grief last year. We assumed its problems would get resolved this year. No way. I could estimate that we wasted over 100 hours screwing with that camera.
Tonight we switched to a Logitech (920 I think) and all the problems went away. Now we have a front viewing camera and a back viewing camera and it all works like we had hoped. |
Re: HD-3000 camera has wasted many hours
Can you explain the issues you've had?
We've had 0 problems with exposure control on the HD-3000 camera, and are actually quite happy with it so far. |
Re: HD-3000 camera has wasted many hours
What was your issue? Setting the exposure time is simply USBCamera.setExposureManual(val).
|
Re: HD-3000 camera has wasted many hours
Quote:
Quote:
OP -- The way our team solved the problem was by plugging the LifeCam into a Raspberry Pi 2, where we were able to configure its settings live using v4l2. We, however, didn't stream that camera to the dashboard, instead choosing to keep the stream on the Pi for vision processing. |
Re: HD-3000 camera has wasted many hours
Quote:
Last year we used HD-3000 with CameraServer (like simple vision example) and found we had to go to Dashboard and select Camera HW to get it to work. It was normally washed-out (ie white), but we found if we change frame rate via Dashboard from 30 down to something, then back to 30, it would often work OK. We use the PC based program to try to set up the HD-3000, but the changes did not persist on the roboRio. It was maddening to see great autoexposure video on PC base programs and crap on roboRio. This year we switched to USBcamera (due to comments on Chief Delphi) and had more control, but still dissatisfying. The setExposureManual was dark if set to 0, too bright if set to 1, no change up to 10, then white above 10. We had 4 HD-3000, and they each had different settings. We switched to Logitech and autoexposure works well enough. No settings, just works. We still have an issue with using SmartDashboard to display video stream. We have to first bring up standard Dashboard, select "camera hw", then start Smart Dashboard and quit the standard Dashboard. This is not the best thing to have to accomplish while setting up for a match. Does anyone have a solution for this it would be appreciated. I appreciate all support available on Chief Delphi. |
Re: HD-3000 camera has wasted many hours
Quote:
1. Restarted robot code from dashboard - Settings lost 2. Reset settings, power cycled robot, loaded new code - Settings lost 3. Reset settings, plugged back into rio without power cycle - settings lost 4. Did not reset settings, restarted rio from dashboard - settings worked (note, these were settings from before trial 3 that didn't show after trial 3) 5. Restart robot code from dashboard - settings worked 6. Restart RIO from button on rio - settings worked 7. Load new code - settings worked 8. Hard power cycle (turn power switch off/on) - settings worked If anyone has example code using USBCamera successfully, it would be greatly appreciated. |
Re: HD-3000 camera has wasted many hours
2 Attachment(s)
We've eliminated these issues by always writing the camera settings to the camera when the code starts.
We do this with a csv file that has a list of all the attributes that we care about stored on the roboRIO. When the code loads we loop through each setting and set the camera accordingly. The list of attributes and the list for the csv I have saved in a google doc here. Each tab has some different info, the 'optimal settings' I listed is for the vision tracking and not good for viewing. The 'Values for CSV' tab is a copy of the actual csv file that we send to the robot. I've attached the LabVIEW code we used, I do not know the equivalent IMAQ function, but it may give you an idea. Attachment 20173 |
Re: HD-3000 camera has wasted many hours
Quote:
Can I ask what approach you are using to support two cameras? Are they dual feeds, switched feeds or something else. What control model/language do you use? Phil. |
Re: HD-3000 camera has wasted many hours
Quote:
I am about to run out of things to whine about! Thanx. |
| All times are GMT -5. The time now is 07:01. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi