Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Camera Not Showing SmartDashboard (http://www.chiefdelphi.com/forums/showthread.php?t=111621)

Com6056 19-01-2013 16:06

Camera Not Showing SmartDashboard
 
For some reason, I cannot get the SmartDashboard to show the camera feed. It just says "NO CONNECTION". It does have the correct IP and if I use the regular FRC Dashboard, it shows the feed with no problems whatsoever. I have tried re-installing EVERYTHING but to no avail. Right now the camera is running through the bridge and our driver station laptop is connecting wirelessly through its built-in WiFi to the bridge. Any ideas? Thanks!

Jordan Rodgers
Team 4 Element

MagiChau 19-01-2013 16:26

Re: Camera Not Showing SmartDashboard
 
Check if you limited the camera stream fps. I found setting it to 30 if everything else is correct works. Otherwise, turn on anonymous viewing, make sure windows firewall is off, and turn off anti virus.

Com6056 19-01-2013 16:42

Re: Camera Not Showing SmartDashboard
 
Wow... It was the resolution setting the whole time -_- Thank you so much! You saved me a whole lot of frustration.

Greg McKaskle 20-01-2013 08:41

Re: Camera Not Showing SmartDashboard
 
Can you describe what was wrong with the resolution? Was that the only thing that was changed?

Greg McKaskle

eddie12390 23-01-2013 18:47

Re: Camera Not Showing SmartDashboard
 
Quote:

Originally Posted by Greg McKaskle (Post 1218998)
Can you describe what was wrong with the resolution? Was that the only thing that was changed?

Greg McKaskle

That's the same thing I'm wondering. I have yet to be able to get our team's camera to function at all with the SmartDashboard.

Com6056 23-01-2013 23:35

Re: Camera Not Showing SmartDashboard
 
I spoke too soon. It has now returned to just saying "NO CONNECTION". What I did first was set the settings for the regular Dashboard to 640x480, 0% compression, and 30 fps. It worked for a while but the other day, I turned everything back on and it was back to the way it was. Any other ideas?

Greg McKaskle 24-01-2013 07:56

Re: Camera Not Showing SmartDashboard
 
If you create the project from the dashboard template, we can debug it. There is a vision loop that requests MJPEGs, waits for their arrival, decodes and displays them. One of those steps is likely failing, possibly due to camera settings or firewall settings. If your camera doesn't work and you'd like it to, please build the project and see if you can narrow it down. If you have questions, please ask.

I don't have a failing camera connection to debug. I have never seen this and I don't think guessing at a solution is very productive.

Greg McKaskle

BradAMiller 24-01-2013 15:53

Re: Camera Not Showing SmartDashboard
 
Make sure that you set the team number property on the camera viewer in the SmartDashboard. And make sure that you are running the SmartDashboard from the start menu not the Netbeans or Workbench version.

The SmartDashboard installed by the C++ or Java plugins won't offer the option to display the camera since it needs some more libraries to do the image capture and display. Have you installed it from the SmartDashboard project?

The latest release is the installer V1.04 and is available here:
http://firstforge.wpi.edu/sf/frs/do/...nstaller_1_0_4

and the directions for installing it are here:
http://wpilib.screenstepslive.com/s/...sion-installer

Be sure that the team number is set in the camera properties as described in the screensteps web page.

Brad


All times are GMT -5. The time now is 02:10.

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