Log in

View Full Version : Camera Image Not Displaying On Driver Station


Gnome2013
08-01-2013, 19:53
Our camera image will not display the image but does show the MB/s and FPS, it also works on our other computer. What can I do to fix this?

Greg McKaskle
08-01-2013, 19:56
What dashboard are you using, and do you think you configured your camera according to the directions, or using the tool provided?

Greg McKaskle

Joe Ross
08-01-2013, 20:55
Is this by any chance the same computer that is having trouble imaging the cRIO? Can you access the camera in a web browser?

Gnome2013
09-01-2013, 15:20
Is this by any chance the same computer that is having trouble imaging the cRIO? Can you access the camera in a web browser?

No our programming computer is having that problem but it now works we just used the 2012 Imaging tool and it works fine now. Our driver station is having the issue with the camera which is configured with the 2013 camera tool fine. I can access it through the web browser and on our programming computer just not our driver station.

flamer075
09-01-2013, 15:56
No our programming computer is having that problem but it now works we just used the 2012 Imaging tool and it works fine now. Our driver station is having the issue with the camera which is configured with the 2013 camera tool fine. I can access it through the web browser and on our programming computer just not our driver station.

It is very possible it is the computer that you are using. If you are using the classmate that FIRST provides the CPU statistics are not good enough to use for a driver station. My team uses the programming computer as the driver station as well, that is a possible solution.

connor.worley
09-01-2013, 16:00
It is very possible it is the computer that you are using. If you are using the classmate that FIRST provides the CPU statistics are not good enough to use for a driver station. My team uses the programming computer as the driver station as well, that is a possible solution.

The classmate, although not perfect, is definitely capable of being used as a DS for a robot with a camera.

DaveFrederick
12-01-2013, 07:29
We are having the same problem.
Using the "Default" 2013 dashboard, there is no camera video on the display.
We have the enable button green, the Frames Per Second floats around 19 and the data rate is 1.2 MPS.
I can access the camera with the browser directly (10.18.95.11) and the Java Smartdashboard is showing video.

Is there any Documentation on the basic dashboard?
I would like to understand what the resolution and compression controls are for.

Regards,
Dave Frederick Team 1895, Manassas VA

Greg McKaskle
12-01-2013, 08:32
Connect with the web browser and look at the settings on the camera. Does the camera have an account of FRC? Also, are any of the imaging settings odd, such as brightness set to zero or one hundred?

The default dashboard opens a stream to the camera using the FRC account and asks for MJPEGS at the rate, resolution, and compression set on the controls on the panel. The other settings are not able to be specified and are whatever the camera boots with from last time it was used.

Greg McKaskle

DaveFrederick
12-01-2013, 14:22
Greg,
The camera has the required FRC account with the password FRC.
I have also enabled anonymous access.
The image on both the browser and Smart Dashboard look fine.
Is there some documentation on how the basic dashboard access the camera? (e.g. which account, which IP address, and what the controls do)

Thanks,
Dave Frederick, Mentor, Manassas, VA Team 1895

Greg McKaskle
12-01-2013, 14:51
The default dashboard ships with source code. There are comments in the code, but I'm don't know exactly what documentation exists beyond that.

Another possible issue is that the dashboard makes its request to 10.te.am.11. What is the camera IP? Also, the DS has to be running and have the team number configured in order for the dashboard to know what IP to use.

If that isn't it, I'd recommend making a dashboard project from the Getting Started window and doing a little debugging to see where it may be failing. I'll be happy to help.

The attached image shows the relevant icon that takes in the IP and other settings and could potentially return an error.

Greg McKaskle

DaveFrederick
12-01-2013, 15:18
Greg,
I believe the camera is at the correct IP address. I can access the camera with the browser directly (10.18.95.11) and the Java Smartdashboard is showing video.

Where is the source code?
I downloaded the camera update from:
http://joule.ni.com/nidu/cds/view/p/id/2263

Regards,
Dave Frederick

RufflesRidge
12-01-2013, 15:25
Where is the source code?

From Greg:

If that isn't it, I'd recommend making a dashboard project from the Getting Started window

DaveFrederick
12-01-2013, 15:42
Greg,
Can you expand on "Getting Started window"? What does this mean and where is it at?

We use JAVA for our development environment.

Thank you,
Dave Frederick

RufflesRidge
12-01-2013, 17:31
Oops! Sorry about that! The default dashboard is a LabVIEW program. To view the source you would need to install LabVIEW and the FRC LabVIEW Update.

RoboPirate
12-01-2013, 18:58
We are having the same issue. The same setup worked with the 2012 Driver Station and cRIO image. Upgrade to the 2013 software and now the image won't display on the driver station. Can access the camera directly with a web browser.

cal3d
13-01-2013, 23:31
We had the same issue, it happens when the old driverstation from last season hasn't been uninstalled prior to installing this years software.

You can fix it by completely uninstalling the NI software from the control panel then reinstalling the driverstation from the CD.

Greg McKaskle
14-01-2013, 07:00
So, are you saying that the new dashboard won't install over the old one? That would be annoying.

Does the dashboard look like the attached image?

Greg McKaskle

Mark McLeod
14-01-2013, 08:38
FYI
Our old Dashboard is still the one that the new Driver Station starts.
That's only because we give our customized Dashboards different names than the default name, and change the .ini file to specify it.

The new Dashboard overwrites any old one by the same name, but the installation doesn't include an ini file, so it uses the old one if it already exists or creates one the first time the Driver Station runs if none exist.

Rollie
21-01-2013, 18:28
Team 1760 has the exact same problem. Camera worked fine on Dashboard 2012, but after upgrading to 2013, the image is blank. The camera is recognized by the dashboard in that the dashboard shows that it is receiving 27-30 frame per second, and when I cover the camera lens, the dashboard reports that it drops to 6 frames per second. So, the dashboard is receiving the camera frames, but they are not displaying in the image window.

Greg McKaskle
21-01-2013, 20:07
Rollie, can you build the dashboard project so that we can look at some things on the diagram? I have never seen this before and don't really have a good suggestion with out some debugging data.

PM me if you are in a situation where you can do this and perhaps we can get on the phone or Skype. Otherwise, I can try to show where to probe so that we can catch the error. Perhaps just running out of source will provide more info coming up in a dialog.

Greg McKaskle

Rollie
23-01-2013, 07:00
Greg, I didn't see your post before I took earlier suggestions in this thread and uninstalled all the NI software and then re-installed for 2013. Once I did that, the camera image displayed. There does seem to be some conflict with a component from 2012 that does not seem to upgrade properly if you run the 2013 installs without removing the old software.

Greg McKaskle
23-01-2013, 07:30
Interesting. We will try to reproduce that.

Thanks.
Greg McKaskle