Help altering camera video in Driver Station.

Our team wants to change the default video feed from the camera in Driver to show the processed image that I have made a VI for. Where should I put this VI so that it displays the processed image instead of the normal camera image?

I’d say put it in the begin if you want it to show throughout the entire match. Teleop if just in teleop. And Autonomous if you need it in autonomous.

What the default code has done for the last couple years was to send the target info back numerically, and them overlay that on top of the original image that is sent to the dashboard. This is lightweight because it doesn’t have to compress the image, and typically looks even better than the masked images because you have context to help identify what the camera is processing.

You can look at the game code for 2009, 2008, or you can even take the image from the robot and reprocess it on the laptop in the dashboard. Applying the same processing generally gives the same results, and your DS/Dashboard computer typically has plenty of CPU. So if using the LV dashboard, copy your robot vision VIs to the dashboard, reprocess, and display.

Greg McKaskle

Hello, I think we need something similar to this.

What we want to do is place a mask (or whatever the term is) over the image display in the Dashboard that filters out the part of the image we don’t need. We want to use this to get an image of the TOWER for our drivers to see and line up with during the endgame.

How would we go about having this placed?

Cut a suitable hole in a piece of cardboard that fits over the appropriate area of the screen? I’m only half joking.

Hold on, let me check the manual to see if that’s legal…

So, there’s no way to do what we asked for?

I’m not sure why you’d want to restrict the driver’s view. Humans are very capable of processing complex images and not being overwhelmed by extraneous details.

If you want to mark something, look at the annotation functions. If you want to chop a piece from the image, use the Extract function. If you want to combine it with a mask, look at Create Mask and IMAQ Mask.

Greg McKaskle