Log in

View Full Version : Integrating Dashboard Project


wdburk3160
29-01-2013, 20:08
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?

Mark McLeod
29-01-2013, 20:54
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.

wdburk3160
29-01-2013, 21:45
Ok, well if i didnt need a customized dashboard, if i toggled camera feeds, could it still just use one camera tab?

Mark McLeod
29-01-2013, 22:00
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.

wdburk3160
29-01-2013, 22:14
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?

Mark McLeod
29-01-2013, 22:24
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.

Greg McKaskle
29-01-2013, 22:26
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

wdburk3160
29-01-2013, 22:26
Now, do you have any idea how to program that toggle switch in there, or can direct me to someone who has done it?

Greg McKaskle
29-01-2013, 22:36
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

wdburk3160
29-01-2013, 23:16
I found a guide and from a quick look at it, it looks like what we need. Thanks for the help.