![]() |
Getting Camera Feed on Dashboard
Hey, I am trying to add a camera feed to our dashboard (not Smartdashboard, the normal one). We did everything in Java, but this part has got to be done in LabView, which our team doesn't have much experience with, so if anybody could help me, it would be great!
|
Re: Getting Camera Feed on Dashboard
If you simply want to view the camera on the default dashboard, the only required step should be to configure the camera using the installed tool or manually using the camera web page. The camera IP is assumed to be 10.team.11, and it needs to have an account named FRC with FRC as the password. You may also want to enable anonymous viewing.
If you would like to customize the dashboard, you can do so in LV or Java. Greg McKaskle |
Re: Getting Camera Feed on Dashboard
Let's say we want to do it in LabView, how should I wire which methods/objects on Dashboard.vi to get live camera feed? And do I have to change anything on Robot.vi? (We already successfully configured the Camera Setup Tool)
|
Re: Getting Camera Feed on Dashboard
Quote:
|
Re: Getting Camera Feed on Dashboard
But I do have to add stuff like ImageDisplay, right? I want to be able to use that on the Dashboard.
|
Re: Getting Camera Feed on Dashboard
If the camera has been set up with the proper IP address and user name, the default Dashboard will display the image. No programming is required.
|
Re: Getting Camera Feed on Dashboard
The default dashboard just the LabVIEW template dashboard prebuilt. It contains one image display on the left and on the right are tabs with controls about battery voltage, joystick positions and drive motor outputs.
Some teams have more than one camera or decide to rearrange. For this, you need to drop an image display. Greg McKaskle |
Re: Getting Camera Feed on Dashboard
We wired the camera correctly and everything. We get an image when we view it through the SmartDashboard. However, we would like to use the Labview dashboard instead. We didn't change anything in the default LabView dashboard project but still no image is displayed whe we run it. Does anybody have a clue as to why it doesn't work?
|
Re: Getting Camera Feed on Dashboard
Perhaps you haven't activated the necessary LabVIEW component on the computer that's running the Dashboard. Find and run the NI License Manager to verify that everything has been activated.
|
Re: Getting Camera Feed on Dashboard
The LV dashboard learn of the robot IP from the DS. Be sure that the DS is also running.
Is the DS communicating to the robot? Do you know the cameras IP address? Greg McKaskle |
Re: Getting Camera Feed on Dashboard
All the products are activated so the problem is not that.
And we both run the DriverStation and DashBoard at the same time, so there shouldn't be any problem with getting the IP either. I think the problem is with the LabView dashboard itself, because the camera feed works fine on Smartdashboard, but not the Labview one. |
Re: Getting Camera Feed on Dashboard
Is the button on the bottom of the dashboard just to the right of the grey camera feed area lit up green? This button enables and disables the camera feed: http://wpilib.screenstepslive.com/s/...view-dashboard
|
Re: Getting Camera Feed on Dashboard
Quote:
|
| All times are GMT -5. The time now is 09:47. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi