Quote:
Originally Posted by Greg McKaskle
There are a few common reasons why the camera will not show up on the dashboard. For IP cameras, the most common issues are that the camera has not been configured with the FRC/FRC account or the DNS name has not been set. Alternatively, you can use the IP address on a custom dashboard.
For USB cameras, the connection must go to the roboRIO, and for that, the DB must know the IP address. I would suggest installing the update that was pushed last week. We would sometimes see that the TCP connection between the DB and DS would fail. Without this, the default DB will not know how to contact the robot. Also, the ini files for the DB were updated to force socket reuse without the sixty second timeout. Both of these should make the camera connection more reliable.
If the update doesn't make it more reliable, I'd suggest building the DB from source and debugging its diagram. The bottom of loop 1 receives and updates the IP addresses of the robot and camera from the DS. A probe of that wire will tell you whether the DB has enough information to start.
Greg McKaskle
|
Thanks for the info. Our IP camera does have the account/password set to FRC/FRC. In fact, our code has no problem accessing the stream for vision processing. It is just that the video stream doesn't show up on the SmartDashboard. So how do I change the DNS name of the camera? Was it on the
http://10.4.92.11 setup page? I can't seem to find anywhere to allow me to set "DNS name". What do you mean by using IP address on "custom dashboard". We use the standard Java Smartdashboard and the Simple Camera widget said the IP address is 10.4.92.11.
Regarding the latest update, are you referring to the FRC 2015 update? I looked for it on ni.com and only found one dated November (
http://www.ni.com/download/labview-f...-15.0/5088/en/) and one dated December (
http://www.ni.com/download/first-rob...2015/5112/en/). It doesn't seem to be the latest. Would you give me a link to it?
For USB camera, how do you tell DB what the camera IP is?