Hello guys, I wanted to view the camera in the driver station smartdashboard, but when I click add, it does not show Camera as a selection. In default dashboard, the camera is enabled and works. So is there anything I have to configure?
Did you configure the camera for anonymous viewing? See http://wpilib.screenstepslive.com/s/3120/m/8559/l/89729
yes, but it still does not show up. Also it is now disabled by default.
Our team is having the same probem, and the autonomus viewing didn’t fix anything:ahh:
Team 3260 programmer here, we are having the exact same problem. Anonymous viewing is enabled and we can see the camera through the online page but the SmartDashboard is not displaying it. I’ve tried rebuilding all of the SmartDashboard/WPIJavaCV/NetworkTables/(pretty much everything that we have access to the source of) but I have yet to find a solution. We have tried completely resetting and reconfiguring the camera, using the automated utility, plugging it into the radio, and plugging it into the cRIO all to no avail.
This may sound stupid, but I spent 2 hours trouble shooting and I just typed the ip wrong in the SmartDashboard, is your ip right?
I’ve checked the IP a few times and even tried assigning a completely different IP address to the camera. The “Default” dashboard wouldn’t work if it weren’t set to the correct IP, either.
Is there any chance you could send me your entire SmartDashboard folder? (Extensions and all) I’d like to see if it is simply a build related issue.
I would but I am at home now and we don’t meet again until Friday because this week is finals for us. Hopefully some other team could.
Has anyone had any luck getting this to work? We’re still without camera in our SmartDashboard.
Also I tried to use a modified camera widget displaying a crosshair, and that also did not work. There was also an update to FRC tools, but it did not fix anything with the camera problem.
Check what the fps is for the stream. We had an issue where SmartDashboard Camera did not work if it got a fps under 30.
Where exactly is this setting? I couldn’t seem to find one in the Camera’s setup portal.
I’m having the same problem with the Smart Dashboard. Default Dashboard shows the camera image just fine, so I believe that indicates the camera is configured correctly. SmartDashboard does not connect to the camera.
In addition, if I launch the SmartDashboard from the driver station I don’t see any of the extensions widgets when I try to add a new object. If I launch the SmartDashboard directly using the SmartDashboard.exe executable all of the extensions show in the list. Camera still doesn’t connect. I thought this might indicate an install problem, but I can’t correct it, even after a reinstall.
If anyone has figured out how to correct these issues, your help would be appreciated.
In order to be able to add the Camera to smartDashboard, you’ll need to download the WPILibCameraExtension and place it in C:/ProgramFiles/SmartDashboard/extensions.
Then, just open SmartDashboard, click View, and Add, and the Camera Option should appear.
You can get the WPILibCameraExtension here:
https://www.assembla.com/spaces/technotitanssoftware/documents
Click the first file.
Hope this helps.
Extension was already present. Its part of the SmartDashboard Installer_1.0.4 that also installs the WPIJavaCV and openCV libraries
Can you be sure that you:
- Make sure you are running the correct version of SmartDashboard. It should be the one on the Windows Start menu, not the one in the sunspotfrcsdk/tools folder.
- Make sure that the IP address is set properly in the properties for the camera widget. You have to put the SmartDashboard into edit mode, then right-click on the camera widget and select properties. From there fill in the IP address.
Both of these steps are illustrated on this page:
http://wpilib.screenstepslive.com/s/3120/m/7932/l/93058-smart-dashboard-standalone-vision-installer
Brad
I have the same problem, but mine works when I have it connected through ethernet. Then sometimes it works with it connected to the bridge, but if I connect the bridge to the cRIO the camera feed shuts off in Smart dashboard.
Also as with the camera not working after connecting with the cRIO, it will flash a short feed if I reconfigure my TCP/IP from the driver station. Help would be much appreciated, the smart dashboard is really resourceful but it just doesn’t work!
What I noticed was the SmartDashboard installer v.104 (or something with a 4 in it) gave me many problems until I installed the v.5(or something with a 5 in it) then it got me able to use two cameras simultaneously. Big problem though was at competition out camera feed shut down the whole playing field and we couldn’t play because of the massive bandwidth the cameras took. So in the end we had to resort to labview for camera feed.
You can set the frame rate, the compression, and the resolution by going to your camera’s ip address in your web browser, going to setup, and changing the settings. The labview dashboard sets these parameters automatically to the option slider things it has. For the smart dashboard, you have to set them in the camera’s setup page or it will use way too much bandwidth. (We learned that the hard way :()