Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   camera not showing (http://www.chiefdelphi.com/forums/showthread.php?t=111284)

AsianRookie 15-01-2013 08:21

camera not showing
 
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?

Joe Ross 15-01-2013 12:11

Re: camera not showing
 
Did you configure the camera for anonymous viewing? See http://wpilib.screenstepslive.com/s/3120/m/8559/l/89729

AsianRookie 16-01-2013 17:10

Re: camera not showing
 
yes, but it still does not show up. Also it is now disabled by default.

2472Programer 19-01-2013 11:59

Re: camera not showing
 
Our team is having the same probem, and the autonomus viewing didn't fix anything:ahh:

eddie12390 19-01-2013 12:08

Re: camera not showing
 
Quote:

Originally Posted by 2472Programer (Post 1218500)
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.

SuperMario 19-01-2013 14:26

Re: camera not showing
 
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?

eddie12390 19-01-2013 14:28

Re: camera not showing
 
Quote:

Originally Posted by SuperMario (Post 1218599)
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.

SuperMario 19-01-2013 14:31

Re: camera not showing
 
Quote:

Originally Posted by eddie12390 (Post 1218602)
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.

eddie12390 21-01-2013 18:21

Re: camera not showing
 
Has anyone had any luck getting this to work? We're still without camera in our SmartDashboard.

AsianRookie 22-01-2013 08:20

Re: camera not showing
 
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.

MagiChau 22-01-2013 08:26

Re: camera not showing
 
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.

eddie12390 22-01-2013 16:29

Re: camera not showing
 
Quote:

Originally Posted by MagiChau (Post 1219934)
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.

wjbrauck 25-01-2013 09:41

Re: camera not showing
 
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.

sarangmittal 26-01-2013 11:39

Re: camera not showing
 
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/tech...ware/documents

Click the first file.

Hope this helps.

wjbrauck 26-01-2013 11:58

Re: camera not showing
 
Extension was already present. Its part of the SmartDashboard Installer_1.0.4 that also installs the WPIJavaCV and openCV libraries

BradAMiller 26-01-2013 12:25

Re: camera not showing
 
Can you be sure that you:
  1. 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.
  2. 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/...sion-installer

Brad

Dragonslayerend 12-02-2013 21:46

Re: camera not showing
 
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.

Dragonslayerend 12-02-2013 22:23

Re: camera not showing
 
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!

Dragonslayerend 04-04-2013 03:16

Re: camera not showing
 
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.

Johnbot 11-04-2013 21:42

Re: camera not showing
 
Quote:

Originally Posted by Dragonslayerend (Post 1257094)
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 :()

mkausas 02-05-2013 22:02

Re: camera not showing
 
We had this issue in the beginning of the season, we thought we had configured everything correctly but we had been using the 32bit version of the SmartDashboard instead of 64bit. Make sure you have downloaded the right one for your driver station computer.


All times are GMT -5. The time now is 11:36.

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