|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Integrating Dashboard Project
We are going to use two camera feeds this year, so we need to customize the Dashboard a little bit. After making a custom Dashboard project, how do you integrate it into your crio project?
|
|
#2
|
|||||
|
|||||
|
Re: Integrating Dashboard Project
There isn't much integration required, since the Dashboard is a standalone application.
If you're just looking at camera video, then you just duplicate the camera feeds. If you add data to send to the cRIO, then you'll need to coordinate the Network Tables. |
|
#3
|
|||
|
|||
|
Re: Integrating Dashboard Project
Ok, well if i didnt need a customized dashboard, if i toggled camera feeds, could it still just use one camera tab?
|
|
#4
|
|||||
|
|||||
|
Re: Integrating Dashboard Project
You'd need a separate tab or screen space for a separate camera, because one cameras display would overlay the other if you tried to stack them in the same spot. The tab is sort of how you'd toggle.
The feeds are coming from different IP video servers, so they will be two separate feeds. |
|
#5
|
|||
|
|||
|
Re: Integrating Dashboard Project
What I mean by toggle is turn one feed off while the other one is on. If we did that, would we get a lot of delay switching between the two?
|
|
#6
|
|||||
|
|||||
|
Re: Integrating Dashboard Project
Not a lot of delay, no.
I seem to remember some issue with restarting the camera after being halted for an extended length of time. But that may have been solved. |
|
#7
|
|||
|
|||
|
Re: Integrating Dashboard Project
If the cameras are both plugged directly into the DLink on the robot, the cRIO doesn't even have to be powered for the dashboard to request images from one or the other, or both cameras. To change which is displayed or add a display, you would customize the dashboard.
You could put the cRIO to work doing this read and retransmit task, but that is the sort of thing it had to do in 2009, and it is much preferred to do it with the DLink. Greg McKaskle |
|
#8
|
|||
|
|||
|
Re: Integrating Dashboard Project
Now, do you have any idea how to program that toggle switch in there, or can direct me to someone who has done it?
|
|
#9
|
|||
|
|||
|
Re: Integrating Dashboard Project
If you are asking me, I'm not sure I understand the question. I have added three cameras to a dashboard before and I've described how to do it on these forums. You need to duplicate the video loop or if you are running at the same framerate, you could open both and get the images in the same loop.
Greg McKaskle |
|
#10
|
|||
|
|||
|
Re: Integrating Dashboard Project
I found a guide and from a quick look at it, it looks like what we need. Thanks for the help.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|