Quote:
Originally Posted by Patrick Levy
I am trying to do the exact same thing. Please see attached image of my labview code. I put a couple input boxes on the dashboard front panel so that the cross hair could be adjusted while the program runs.
Should this do what I want? I don't have a cRio to test it on, but when I just run the dashboard program my camera image is just a white screen (I was thinking that I'd at least see the yellow line). What kind of coordinates would place a line across the center of the screen?
Thanks!
Pat Levy
|
While it is certainly possible to embed a line into the actual camera data, and the center would be n/2, where n=number of pixels, it is infinitely easier to create a new dashboard program in the Getting Started Window, and in the front panel for it, create a line with the decorations palette. Place the line over the camera indicator, and change the camera's IP to match the one on your robot.
To make the custom dashboard function as a normal one, build the dashboard, tothe FRC Dashboard folder, probably in C:/Program Files/FRC Dashboard, and overwrite the previous dashboard