|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools |
Rating:
|
Display Modes |
|
#1
|
|||
|
|||
|
USB Camera Issues
We are trying to view the images on the Dashboard by calling the Java CameraServer class, but we get nothing. Has anyone figured out how to view the images from a USB camera plugged into the roborio or does anyone know if there is a separate program for usb cameras?
(We are using a PS3 Eye camera if that makes a difference.) Any suggestions? |
|
#2
|
||||
|
||||
|
Re: USB Camera Issues
The java example projects "Simple Vision" and "Intermediate Vision" both show how get an image from a usb camera and how to put it on the driverstation.
http://imgur.com/cMKc9YJ |
|
#3
|
|||
|
|||
|
Re: USB Camera Issues
We have tried running both of those programs on the roborio with both a user defined name (e.g. "cam0") and the resource name. We haven't gotten anything back from either. Both report the supposed camera's fps, but there is no indication that the camera is being used.
Any ideas to troubleshoot it? |
|
#4
|
||||||
|
||||||
|
Re: USB Camera Issues
Did you make sure the camera shows up in the web dashboard as cam0? I can't find anything that says the PS3 Eye is supported by GenICam.
Last edited by Joe Ross : 08-01-2015 at 19:54. |
|
#5
|
|||
|
|||
|
Re: USB Camera Issues
By default it has no name, so we define it as cam0. The name is saved between web sessions, but is lost on shutdown/power cycle.
|
|
#6
|
||||
|
||||
|
Re: USB Camera Issues
On our test board mDNS isn't working, so the USB Camera viewer on the SmartDashboard gave an error that it couldn't connect to roboRIO-1939.local. We went into the SmartDashboard preferences and disabled mDNS (We set a static ip on the roboRIO). With mDNS disabled the USB Camera worked just fine.
|
|
#7
|
|||
|
|||
|
Re: USB Camera Issues
Quote:
|
|
#8
|
|||
|
|||
|
Re: USB Camera Issues
Quote:
This thread recommended the ps3 eye and other people seemed to think that it should work. |
|
#9
|
||||
|
||||
|
Re: USB Camera Issues
On the dashboard did you guys change the type of camera to get feedback from?
|
|
#10
|
|||
|
|||
|
Re: USB Camera Issues
Quote:
Even though there is no visual and the camera's indicator light is off, the dashboard still displays an fps. Should it? |
|
#11
|
|||
|
|||
|
Re: USB Camera Issues
Can you try another camera? The PS3 Eye may not be support natively by the roboRio.
|
|
#12
|
||||
|
||||
|
Re: USB Camera Issues
Quote:
The easiest route would probably be to use the HD3000 since this is what was developed & tested on. Is there a specific need to use a cheaper camera as the OP of the thread you linked had wanted? |
|
#13
|
|||
|
|||
|
Re: USB Camera Issues
I believe the PS3 Eye camera is support by Video4Linux. It should be possible to install that and use it on the roboRio, correct? That should allow access to the Eye camera.
|
|
#14
|
|||
|
|||
|
Re: USB Camera Issues
Quote:
Quote:
Quote:
For any teams looking to use a PS3 Eye camera, you will need to use the gspca-ov534 ARM drivers. It seems to require make to install(which the roborio doesn't have), so you will have to manually download and extract the drivers for roborio install. It isn't worth it imo, but if that's your only option, start your search with gspca-ov534. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|